SHOW:
|
|
- or go back to the newest paste.
| 1 | --//====================================================\\-- | |
| 2 | --|| CREATED BY SHACKLUSTER | |
| 3 | --\\====================================================//-- | |
| 4 | ||
| 5 | ||
| 6 | ||
| 7 | wait(0.2) | |
| 8 | ||
| 9 | - | spawn(function() |
| 9 | + | Character = game.Players.LocalPlayer.Character |
| 10 | - | local bb=Instance.new("BillboardGui", Head )bb.AlwaysOnTop=true bb.Size=UDim2.new(1,0,1,0)bb.StudsOffset=Vector3.new(0,4.5,0)
|
| 10 | + | Head = Character.Head |
| 11 | - | local t=Instance.new("TextLabel",bb)t.Size=UDim2.new(1,0,1,0)t.Text="Sin Omega"t.TextColor3=Color3.new(220,20,60)t.TextStrokeTransparency=.5
|
| 11 | + | |
| 12 | - | t.BackgroundTransparency=1 t.TextSize=50 t.Font="Antique" |
| 12 | + | CV="Red" |
| 13 | - | while wait()do |
| 13 | + | p = game.Players.LocalPlayer |
| 14 | - | bb.StudsOffset=Vector3.new(math.random(-50,50)/50,4.5+ math.random(-80,80)/50,math.random(-130,130)/50) |
| 14 | + | char = p.Character |
| 15 | local txt = Instance.new("BillboardGui", char)
| |
| 16 | txt.Adornee = char .Head | |
| 17 | txt.Name = "_status" | |
| 18 | txt.Size = UDim2.new(2, 0, 1.2, 0) | |
| 19 | txt.StudsOffset = Vector3.new(-9, 8, 0) | |
| 20 | local text = Instance.new("TextLabel", txt)
| |
| 21 | text.Size = UDim2.new(10, 0, 7, 0) | |
| 22 | text.FontSize = "Size24" | |
| 23 | text.TextScaled = true | |
| 24 | text.TextTransparency = 0 | |
| 25 | text.BackgroundTransparency = 1 | |
| 26 | text.TextTransparency = 0 | |
| 27 | text.TextStrokeTransparency = 0 | |
| 28 | text.Font = "Antique" | |
| 29 | text.TextStrokeColor3 = Color3.new(0,0,0) | |
| 30 | ||
| 31 | v=Instance.new("Part")
| |
| 32 | v.Name = "ColorBrick" | |
| 33 | v.Parent=p.Character | |
| 34 | v.FormFactor="Symmetric" | |
| 35 | v.Anchored=true | |
| 36 | v.CanCollide=false | |
| 37 | v.BottomSurface="Smooth" | |
| 38 | v.TopSurface="Smooth" | |
| 39 | - | sick.SoundId = "rbxassetid://256054390" |
| 39 | + | v.Size=Vector3.new(10,5,3) |
| 40 | v.Transparency=0.9 | |
| 41 | v.CFrame=char.Torso.CFrame | |
| 42 | - | sick.Volume = 2.5 |
| 42 | + | v.BrickColor=BrickColor.new(CV) |
| 43 | v.Transparency=0.9 | |
| 44 | text.TextColor3 = Color3.new(1,0,0) | |
| 45 | v.Shape="Block" | |
| 46 | text.Text = "Sin Dragoon " | |
| 47 | ||
| 48 | Player = game:GetService("Players").LocalPlayer
| |
| 49 | PlayerGui = Player.PlayerGui | |
| 50 | Cam = workspace.CurrentCamera | |
| 51 | Backpack = Player.Backpack | |
| 52 | Character = Player.Character | |
| 53 | Humanoid = Character.Humanoid | |
| 54 | Mouse = Player:GetMouse() | |
| 55 | RootPart = Character["HumanoidRootPart"] | |
| 56 | Torso = Character["Torso"] | |
| 57 | Head = Character["Head"] | |
| 58 | RightArm = Character["Right Arm"] | |
| 59 | LeftArm = Character["Left Arm"] | |
| 60 | RightLeg = Character["Right Leg"] | |
| 61 | LeftLeg = Character["Left Leg"] | |
| 62 | RootJoint = RootPart["RootJoint"] | |
| 63 | Neck = Torso["Neck"] | |
| 64 | RightShoulder = Torso["Right Shoulder"] | |
| 65 | LeftShoulder = Torso["Left Shoulder"] | |
| 66 | RightHip = Torso["Right Hip"] | |
| 67 | LeftHip = Torso["Left Hip"] | |
| 68 | local sick = Instance.new("Sound",Character)
| |
| 69 | sick.SoundId = "rbxassetid://1182824812" | |
| 70 | sick.Looped = true | |
| 71 | sick.Pitch = 1 | |
| 72 | sick.Volume = 1.5 | |
| 73 | sick:Play() | |
| 74 | script.Parent = PlayerGui | |
| 75 | script.Name = "Sin Ultimate" | |
| 76 | ||
| 77 | IT = Instance.new | |
| 78 | CF = CFrame.new | |
| 79 | VT = Vector3.new | |
| 80 | RAD = math.rad | |
| 81 | C3 = Color3.new | |
| 82 | UD2 = UDim2.new | |
| 83 | BRICKC = BrickColor.new | |
| 84 | ANGLES = CFrame.Angles | |
| 85 | EULER = CFrame.fromEulerAnglesXYZ | |
| 86 | COS = math.cos | |
| 87 | ACOS = math.acos | |
| 88 | SIN = math.sin | |
| 89 | ASIN = math.asin | |
| 90 | ABS = math.abs | |
| 91 | MRANDOM = math.random | |
| 92 | FLOOR = math.floor | |
| 93 | ||
| 94 | function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET) | |
| 95 | local NEWMESH = IT(MESH) | |
| 96 | if MESH == "SpecialMesh" then | |
| 97 | NEWMESH.MeshType = MESHTYPE | |
| 98 | if MESHID ~= "nil" and MESHID ~= "" then | |
| 99 | NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID | |
| 100 | end | |
| 101 | if TEXTUREID ~= "nil" and TEXTUREID ~= "" then | |
| 102 | NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID | |
| 103 | end | |
| 104 | end | |
| 105 | NEWMESH.Offset = OFFSET or VT(0, 0, 0) | |
| 106 | NEWMESH.Scale = SCALE | |
| 107 | NEWMESH.Parent = PARENT | |
| 108 | return NEWMESH | |
| 109 | end | |
| 110 | ||
| 111 | function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR) | |
| 112 | local NEWPART = IT("Part")
| |
| 113 | NEWPART.formFactor = FORMFACTOR | |
| 114 | NEWPART.Reflectance = REFLECTANCE | |
| 115 | NEWPART.Transparency = TRANSPARENCY | |
| 116 | NEWPART.CanCollide = false | |
| 117 | NEWPART.Locked = true | |
| 118 | NEWPART.Anchored = true | |
| 119 | if ANCHOR == false then | |
| 120 | NEWPART.Anchored = false | |
| 121 | end | |
| 122 | NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR)) | |
| 123 | NEWPART.Name = NAME | |
| 124 | NEWPART.Size = SIZE | |
| 125 | NEWPART.Position = Torso.Position | |
| 126 | NEWPART.Material = MATERIAL | |
| 127 | NEWPART:BreakJoints() | |
| 128 | NEWPART.Parent = PARENT | |
| 129 | return NEWPART | |
| 130 | end | |
| 131 | ||
| 132 | --//=================================\\ | |
| 133 | --|| CUSTOMIZATION | |
| 134 | --\\=================================// | |
| 135 | ||
| 136 | Player_Size = 0 --Size of the player. | |
| 137 | Animation_Speed = 3 | |
| 138 | Frame_Speed = 1 / 30 -- (1 / 20) OR (1 / 30) | |
| 139 | ||
| 140 | local Speed = 16 | |
| 141 | local Effects2 = {}
| |
| 142 | ||
| 143 | --//=================================\\ | |
| 144 | --|| END OF CUSTOMIZATION | |
| 145 | --\\=================================// | |
| 146 | - | local acs = CreatePart(3, Character, "Glass", 0, 0, COLOR, "Part", VT(0,0,0)) |
| 146 | + | |
| 147 | local function weldBetween(a, b) | |
| 148 | local weldd = Instance.new("ManualWeld")
| |
| 149 | weldd.Part0 = a | |
| 150 | - | local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "1339499006", "", SIZE, OFFSET)
|
| 150 | + | |
| 151 | weldd.C0 = CFrame.new() | |
| 152 | weldd.C1 = b.CFrame:inverse() * a.CFrame | |
| 153 | - | local acs = CreatePart(3, Character, "Glass", 0, 0, COLOR, "Part", VT(0,0,0)) |
| 153 | + | |
| 154 | return weldd | |
| 155 | end | |
| 156 | ||
| 157 | - | local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "4770583", "", SIZE, OFFSET)
|
| 157 | + | |
| 158 | local acs = Instance.new("Part")
| |
| 159 | acs.CanCollide = false | |
| 160 | - | local acs = CreatePart(3, Character, "Glass", 0, 0, COLOR, "Part", VT(0,0,0)) |
| 160 | + | |
| 161 | acs.Size = Vector3.new(0,0,0) | |
| 162 | acs.CFrame = attachmentpart.CFrame | |
| 163 | acs.Parent = Character | |
| 164 | acs.BrickColor = color | |
| 165 | local meshs = Instance.new("SpecialMesh")
| |
| 166 | meshs.MeshId = mesh | |
| 167 | meshs.TextureId = texture | |
| 168 | meshs.Parent = acs | |
| 169 | meshs.Scale = scale | |
| 170 | meshs.Offset = offset | |
| 171 | weldBetween(attachmentpart,acs) | |
| 172 | end | |
| 173 | ||
| 174 | function createbodypart(TYPE,COLOR,PART,OFFSET,SIZE) | |
| 175 | if TYPE == "Gem" then | |
| 176 | local acs = CreatePart(3, Character, "Neon", 0, 0, COLOR, "Part", VT(0,0,0)) | |
| 177 | acs.Anchored = false | |
| 178 | acs.CanCollide = false | |
| 179 | acs.CFrame = PART.CFrame | |
| 180 | local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "420077883", "", SIZE, OFFSET)
| |
| 181 | acs.Texture = "http://www.roblox.com/asset/?id=420075957" | |
| 182 | weldBetween(PART,acs) | |
| 183 | elseif TYPE == "Skull" then | |
| 184 | local acs = CreatePart(3, Character, "Neon", 0, 0, COLOR, "Part", VT(0,0,0)) | |
| 185 | acs.Anchored = false | |
| 186 | acs.CanCollide = false | |
| 187 | acs.CFrame = PART.CFrame | |
| 188 | acs.Texture = "http://www.roblox.com/asset/?id=420075957" | |
| 189 | local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "420077883", "", SIZE, OFFSET)
| |
| 190 | weldBetween(PART,acs) | |
| 191 | elseif TYPE == "Eye" then | |
| 192 | local acs = CreatePart(3, Character, "Neon", 0, 0, COLOR, "Part", VT(0,0,0)) | |
| 193 | acs.Anchored = false | |
| 194 | acs.CanCollide = false | |
| 195 | acs.CFrame = PART.CFrame | |
| 196 | acs.Texture = "http://www.roblox.com/asset/?id=420075957" | |
| 197 | local acs2 = CreateMesh("SpecialMesh", acs, "Sphere", "", "", SIZE, OFFSET)
| |
| 198 | weldBetween(PART,acs) | |
| 199 | end | |
| 200 | end | |
| 201 | ||
| 202 | --//=================================\\ | |
| 203 | --|| USEFUL VALUES | |
| 204 | --\\=================================// | |
| 205 | ||
| 206 | local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) | |
| 207 | local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) | |
| 208 | local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) | |
| 209 | local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) | |
| 210 | local CHANGEDEFENSE = 0 | |
| 211 | local CHANGEDAMAGE = 0 | |
| 212 | local CHANGEMOVEMENT = 0 | |
| 213 | local ANIM = "Idle" | |
| 214 | local ATTACK = false | |
| 215 | local EQUIPPED = false | |
| 216 | local HOLD = false | |
| 217 | local COMBO = 1 | |
| 218 | local Rooted = false | |
| 219 | local SINE = 0 | |
| 220 | local KEYHOLD = false | |
| 221 | local CHANGE = 2 / Animation_Speed | |
| 222 | local WALKINGANIM = false | |
| 223 | local WALK = 0 | |
| 224 | local VALUE1 = false | |
| 225 | local VALUE2 = false | |
| 226 | local ROBLOXIDLEANIMATION = IT("Animation")
| |
| 227 | ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation" | |
| 228 | ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571" | |
| 229 | --ROBLOXIDLEANIMATION.Parent = Humanoid | |
| 230 | local WEAPONGUI = IT("ScreenGui", PlayerGui)
| |
| 231 | WEAPONGUI.Name = "Weapon GUI" | |
| 232 | local Weapon = IT("Model")
| |
| 233 | Weapon.Name = "Adds" | |
| 234 | local Effects = IT("Folder", Weapon)
| |
| 235 | Effects.Name = "Effects" | |
| 236 | local ANIMATOR = Humanoid.Animator | |
| 237 | local ANIMATE = Character.Animate | |
| 238 | local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
| |
| 239 | local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
| |
| 240 | local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
| |
| 241 | local HITBLOCKSOUNDS = {"199148933", "199148947"}
| |
| 242 | local UNANCHOR = true | |
| 243 | ||
| 244 | local SKILLTEXTCOLOR = BRICKC"Maroon".Color | |
| 245 | ||
| 246 | --//=================================\\ | |
| 247 | --\\=================================// | |
| 248 | ||
| 249 | ||
| 250 | --//=================================\\ | |
| 251 | --|| SAZERENOS' ARTIFICIAL HEARTBEAT | |
| 252 | --\\=================================// | |
| 253 | ||
| 254 | ArtificialHB = Instance.new("BindableEvent", script)
| |
| 255 | ArtificialHB.Name = "ArtificialHB" | |
| 256 | ||
| 257 | script:WaitForChild("ArtificialHB")
| |
| 258 | ||
| 259 | frame = Frame_Speed | |
| 260 | tf = 0 | |
| 261 | allowframeloss = false | |
| 262 | tossremainder = false | |
| 263 | lastframe = tick() | |
| 264 | script.ArtificialHB:Fire() | |
| 265 | ||
| 266 | game:GetService("RunService").Heartbeat:connect(function(s, p)
| |
| 267 | tf = tf + s | |
| 268 | if tf >= frame then | |
| 269 | if allowframeloss then | |
| 270 | script.ArtificialHB:Fire() | |
| 271 | lastframe = tick() | |
| 272 | else | |
| 273 | for i = 1, math.floor(tf / frame) do | |
| 274 | script.ArtificialHB:Fire() | |
| 275 | end | |
| 276 | lastframe = tick() | |
| 277 | end | |
| 278 | if tossremainder then | |
| 279 | tf = 0 | |
| 280 | else | |
| 281 | tf = tf - frame * math.floor(tf / frame) | |
| 282 | end | |
| 283 | end | |
| 284 | end) | |
| 285 | ||
| 286 | --//=================================\\ | |
| 287 | --\\=================================// | |
| 288 | ||
| 289 | ||
| 290 | ||
| 291 | ||
| 292 | ||
| 293 | --//=================================\\ | |
| 294 | --|| SOME FUNCTIONS | |
| 295 | --\\=================================// | |
| 296 | ||
| 297 | function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS) | |
| 298 | return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS) | |
| 299 | end | |
| 300 | ||
| 301 | function PositiveAngle(NUMBER) | |
| 302 | if NUMBER >= 0 then | |
| 303 | NUMBER = 0 | |
| 304 | end | |
| 305 | return NUMBER | |
| 306 | end | |
| 307 | ||
| 308 | function NegativeAngle(NUMBER) | |
| 309 | if NUMBER <= 0 then | |
| 310 | NUMBER = 0 | |
| 311 | end | |
| 312 | return NUMBER | |
| 313 | end | |
| 314 | ||
| 315 | function Swait(NUMBER) | |
| 316 | if NUMBER == 0 or NUMBER == nil then | |
| 317 | ArtificialHB.Event:wait() | |
| 318 | else | |
| 319 | for i = 1, NUMBER do | |
| 320 | ArtificialHB.Event:wait() | |
| 321 | end | |
| 322 | end | |
| 323 | end | |
| 324 | ||
| 325 | function QuaternionFromCFrame(cf) | |
| 326 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
| 327 | local trace = m00 + m11 + m22 | |
| 328 | if trace > 0 then | |
| 329 | local s = math.sqrt(1 + trace) | |
| 330 | local recip = 0.5 / s | |
| 331 | return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5 | |
| 332 | else | |
| 333 | local i = 0 | |
| 334 | if m11 > m00 then | |
| 335 | i = 1 | |
| 336 | end | |
| 337 | if m22 > (i == 0 and m00 or m11) then | |
| 338 | i = 2 | |
| 339 | end | |
| 340 | if i == 0 then | |
| 341 | local s = math.sqrt(m00 - m11 - m22 + 1) | |
| 342 | local recip = 0.5 / s | |
| 343 | return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip | |
| 344 | elseif i == 1 then | |
| 345 | local s = math.sqrt(m11 - m22 - m00 + 1) | |
| 346 | local recip = 0.5 / s | |
| 347 | return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip | |
| 348 | elseif i == 2 then | |
| 349 | local s = math.sqrt(m22 - m00 - m11 + 1) | |
| 350 | local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip | |
| 351 | end | |
| 352 | end | |
| 353 | end | |
| 354 | ||
| 355 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
| 356 | local xs, ys, zs = x + x, y + y, z + z | |
| 357 | local wx, wy, wz = w * xs, w * ys, w * zs | |
| 358 | local xx = x * xs | |
| 359 | local xy = x * ys | |
| 360 | local xz = x * zs | |
| 361 | local yy = y * ys | |
| 362 | local yz = y * zs | |
| 363 | local zz = z * zs | |
| 364 | 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)) | |
| 365 | end | |
| 366 | ||
| 367 | function QuaternionSlerp(a, b, t) | |
| 368 | local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4] | |
| 369 | local startInterp, finishInterp; | |
| 370 | if cosTheta >= 0.0001 then | |
| 371 | if (1 - cosTheta) > 0.0001 then | |
| 372 | local theta = ACOS(cosTheta) | |
| 373 | local invSinTheta = 1 / SIN(theta) | |
| 374 | startInterp = SIN((1 - t) * theta) * invSinTheta | |
| 375 | finishInterp = SIN(t * theta) * invSinTheta | |
| 376 | else | |
| 377 | startInterp = 1 - t | |
| 378 | finishInterp = t | |
| 379 | end | |
| 380 | else | |
| 381 | if (1 + cosTheta) > 0.0001 then | |
| 382 | local theta = ACOS(-cosTheta) | |
| 383 | local invSinTheta = 1 / SIN(theta) | |
| 384 | startInterp = SIN((t - 1) * theta) * invSinTheta | |
| 385 | finishInterp = SIN(t * theta) * invSinTheta | |
| 386 | else | |
| 387 | startInterp = t - 1 | |
| 388 | finishInterp = t | |
| 389 | end | |
| 390 | end | |
| 391 | 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 | |
| 392 | end | |
| 393 | ||
| 394 | function Clerp(a, b, t) | |
| 395 | local qa = {QuaternionFromCFrame(a)}
| |
| 396 | local qb = {QuaternionFromCFrame(b)}
| |
| 397 | local ax, ay, az = a.x, a.y, a.z | |
| 398 | local bx, by, bz = b.x, b.y, b.z | |
| 399 | local _t = 1 - t | |
| 400 | return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t)) | |
| 401 | end | |
| 402 | ||
| 403 | function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME) | |
| 404 | local frame = IT("Frame")
| |
| 405 | frame.BackgroundTransparency = TRANSPARENCY | |
| 406 | frame.BorderSizePixel = BORDERSIZEPIXEL | |
| 407 | frame.Position = POSITION | |
| 408 | frame.Size = SIZE | |
| 409 | frame.BackgroundColor3 = COLOR | |
| 410 | frame.BorderColor3 = BORDERCOLOR | |
| 411 | frame.Name = NAME | |
| 412 | frame.Parent = PARENT | |
| 413 | return frame | |
| 414 | end | |
| 415 | ||
| 416 | function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME) | |
| 417 | local label = IT("TextLabel")
| |
| 418 | label.BackgroundTransparency = 1 | |
| 419 | label.Size = UD2(1, 0, 1, 0) | |
| 420 | label.Position = UD2(0, 0, 0, 0) | |
| 421 | label.TextColor3 = TEXTCOLOR | |
| 422 | label.TextStrokeTransparency = STROKETRANSPARENCY | |
| 423 | label.TextTransparency = TRANSPARENCY | |
| 424 | label.FontSize = TEXTFONTSIZE | |
| 425 | label.Font = TEXTFONT | |
| 426 | label.BorderSizePixel = BORDERSIZEPIXEL | |
| 427 | label.TextScaled = false | |
| 428 | label.Text = TEXT | |
| 429 | label.Name = NAME | |
| 430 | label.Parent = PARENT | |
| 431 | return label | |
| 432 | end | |
| 433 | ||
| 434 | function NoOutlines(PART) | |
| 435 | PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10 | |
| 436 | end | |
| 437 | ||
| 438 | ||
| 439 | - | local wave = CreatePart(3, Effects, "Glass", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0)) |
| 439 | + | |
| 440 | local NEWWELD = IT(TYPE) | |
| 441 | NEWWELD.Part0 = PART0 | |
| 442 | - | mesh.MeshId = "http://www.roblox.com/asset/?id=967645205" |
| 442 | + | |
| 443 | NEWWELD.C0 = C0 | |
| 444 | NEWWELD.C1 = C1 | |
| 445 | NEWWELD.Parent = PARENT | |
| 446 | return NEWWELD | |
| 447 | end | |
| 448 | ||
| 449 | local sound = IT("Sound",nil)
| |
| 450 | ||
| 451 | function CreateSound(ID, PARENT, VOLUME, PITCH) | |
| 452 | local NEWSOUND = nil | |
| 453 | coroutine.resume(coroutine.create(function() | |
| 454 | NEWSOUND = sound:Clone() | |
| 455 | NEWSOUND.Parent = PARENT | |
| 456 | NEWSOUND.Volume = VOLUME | |
| 457 | NEWSOUND.Pitch = PITCH | |
| 458 | NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID | |
| 459 | Swait() | |
| 460 | NEWSOUND:play() | |
| 461 | game:GetService("Debris"):AddItem(NEWSOUND, 10)
| |
| 462 | end)) | |
| 463 | - | local wave = CreatePart(3, Effects, "Glass", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0)) |
| 463 | + | |
| 464 | end | |
| 465 | ||
| 466 | - | mesh.MeshId = "http://www.roblox.com/asset/?id=18430887" |
| 466 | + | |
| 467 | local right = top:Cross(back) | |
| 468 | return CF(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z) | |
| 469 | end | |
| 470 | ||
| 471 | function CreateWave(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW) | |
| 472 | local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0)) | |
| 473 | local mesh = IT("SpecialMesh",wave)
| |
| 474 | mesh.MeshType = "FileMesh" | |
| 475 | mesh.MeshId = "http://www.roblox.com/asset/?id=420077883" | |
| 476 | mesh.Scale = SIZE | |
| 477 | mesh.Offset = VT(0,0,-SIZE.X/8) | |
| 478 | wave.CFrame = CFRAME | |
| 479 | coroutine.resume(coroutine.create(function(PART) | |
| 480 | for i = 1, WAIT do | |
| 481 | Swait() | |
| 482 | mesh.Scale = mesh.Scale + GROW | |
| 483 | mesh.Offset = VT(0,0,-(mesh.Scale.X/8)) | |
| 484 | if DOESROT == true then | |
| 485 | wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0) | |
| 486 | - | local wave = CreatePart(3, Effects, "Glass", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true) |
| 486 | + | |
| 487 | wave.Transparency = wave.Transparency + (0.5/WAIT) | |
| 488 | if wave.Transparency > 0.99 then | |
| 489 | wave:remove() | |
| 490 | end | |
| 491 | end | |
| 492 | end)) | |
| 493 | end | |
| 494 | ||
| 495 | function CreateRing(SIZE,DOESROT,ROT,WAIT,CFRAME,COLOR,GROW) | |
| 496 | local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0)) | |
| 497 | local mesh = IT("SpecialMesh",wave)
| |
| 498 | mesh.MeshType = "FileMesh" | |
| 499 | mesh.MeshId = "http://www.roblox.com/asset/?id=420077883" | |
| 500 | mesh.Scale = SIZE | |
| 501 | mesh.Offset = VT(0,0,0) | |
| 502 | wave.CFrame = CFRAME | |
| 503 | coroutine.resume(coroutine.create(function(PART) | |
| 504 | for i = 1, WAIT do | |
| 505 | - | local wave = CreatePart(3, Effects, "Glass", 0, 0, BRICKC(COLOR), "Effect", VT(SIZE,SIZE,SIZE), true) |
| 505 | + | |
| 506 | mesh.Scale = mesh.Scale + GROW | |
| 507 | if DOESROT == true then | |
| 508 | wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0) | |
| 509 | end | |
| 510 | wave.Transparency = wave.Transparency + (0.5/WAIT) | |
| 511 | if wave.Transparency > 0.99 then | |
| 512 | wave:remove() | |
| 513 | end | |
| 514 | end | |
| 515 | end)) | |
| 516 | end | |
| 517 | ||
| 518 | function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW) | |
| 519 | local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true) | |
| 520 | local mesh = IT("SpecialMesh",wave)
| |
| 521 | mesh.MeshType = "Sphere" | |
| 522 | mesh.Scale = SIZE | |
| 523 | mesh.Offset = VT(0,0,0) | |
| 524 | wave.CFrame = CFRAME | |
| 525 | coroutine.resume(coroutine.create(function(PART) | |
| 526 | for i = 1, WAIT do | |
| 527 | Swait() | |
| 528 | mesh.Scale = mesh.Scale + GROW | |
| 529 | wave.Transparency = wave.Transparency + (1/WAIT) | |
| 530 | if wave.Transparency > 0.99 then | |
| 531 | - | CreateMesh("SpecialMesh", PART, "FileMesh", "1339499006", "", PART.Size, VT(0,0,0))
|
| 531 | + | |
| 532 | end | |
| 533 | end | |
| 534 | end)) | |
| 535 | end | |
| 536 | ||
| 537 | function MagicBlock(SIZE,WAIT,CFRAME,COLOR,GROW) | |
| 538 | local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(SIZE,SIZE,SIZE), true) | |
| 539 | local mesh = IT("BlockMesh",wave)
| |
| 540 | wave.CFrame = CFRAME * ANGLES(RAD(math.random(-360,360)),RAD(math.random(-360,360)),RAD(math.random(-360,360))) | |
| 541 | coroutine.resume(coroutine.create(function(PART) | |
| 542 | for i = 1, WAIT do | |
| 543 | Swait() | |
| 544 | mesh.Scale = mesh.Scale + GROW | |
| 545 | wave.CFrame = CFRAME * ANGLES(RAD(math.random(-360,360)),RAD(math.random(-360,360)),RAD(math.random(-360,360))) | |
| 546 | wave.Transparency = wave.Transparency + (1/WAIT) | |
| 547 | if wave.Transparency > 0.99 then | |
| 548 | wave:remove() | |
| 549 | end | |
| 550 | end | |
| 551 | end)) | |
| 552 | end | |
| 553 | ||
| 554 | function MakeForm(PART,TYPE) | |
| 555 | if TYPE == "Cyl" then | |
| 556 | local MSH = IT("CylinderMesh",PART)
| |
| 557 | elseif TYPE == "Ball" then | |
| 558 | local MSH = IT("SpecialMesh",PART)
| |
| 559 | - | local PART = CreatePart(3, Effects, "Glass", 0, 1, "Pearl", "DebreeCenter", VT(0,0,0)) |
| 559 | + | |
| 560 | elseif TYPE == "Wedge" then | |
| 561 | local MSH = IT("SpecialMesh",PART)
| |
| 562 | - | local RingPiece = CreatePart(3, Effects, "Glass", 0, 0, "Pearl", "DebreePart", BLOCKSIZE) |
| 562 | + | |
| 563 | elseif TYPE == "Gem" then | |
| 564 | CreateMesh("SpecialMesh", PART, "FileMesh", "420077883", "", PART.Size, VT(0,0,0))
| |
| 565 | end | |
| 566 | end | |
| 567 | ||
| 568 | function CheckTableForString(Table, String) | |
| 569 | for i, v in pairs(Table) do | |
| 570 | if string.find(string.lower(String), string.lower(v)) then | |
| 571 | return true | |
| 572 | end | |
| 573 | end | |
| 574 | return false | |
| 575 | end | |
| 576 | ||
| 577 | - | sinkhole.Material = "Glass" |
| 577 | + | |
| 578 | local ProjectileNames = {"Water", "Arrow", "Projectile", "Effect", "Rail", "Lightning", "Bullet"}
| |
| 579 | if Hit and Hit.Parent then | |
| 580 | if ((not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid")) then
| |
| 581 | return true | |
| 582 | end | |
| 583 | end | |
| 584 | return false | |
| 585 | end | |
| 586 | ||
| 587 | Debris = game:GetService("Debris")
| |
| 588 | ||
| 589 | function CreateDebreeRing(FLOOR,POSITION,SIZE,BLOCKSIZE,SWAIT) | |
| 590 | if FLOOR ~= nil then | |
| 591 | coroutine.resume(coroutine.create(function() | |
| 592 | local PART = CreatePart(3, Effects, "Neon", 0, 1, "Pearl", "DebreeCenter", VT(0,0,0)) | |
| 593 | PART.CFrame = CF(POSITION) | |
| 594 | for i = 1, 45 do | |
| 595 | local RingPiece = CreatePart(3, Effects, "Neon", 0, 0, "Pearl", "DebreePart", BLOCKSIZE) | |
| 596 | RingPiece.Material = FLOOR.Material | |
| 597 | RingPiece.Color = FLOOR.Color | |
| 598 | RingPiece.CFrame = PART.CFrame * ANGLES(RAD(0), RAD(i*8), RAD(0)) * CF(SIZE*4, 0, 0) * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360))) | |
| 599 | Debris:AddItem(RingPiece,SWAIT/100) | |
| 600 | end | |
| 601 | PART:remove() | |
| 602 | end)) | |
| 603 | end | |
| 604 | end | |
| 605 | ||
| 606 | function CreatePentagram(size,doesrotate,rotatedirection,waitt,cframe,offset) | |
| 607 | local sinkhole = IT("Part",Effects)
| |
| 608 | sinkhole.Size = VT(size,0,size) | |
| 609 | sinkhole.CFrame = cframe * CF(0,offset,0) | |
| 610 | sinkhole.Material = "Neon" | |
| 611 | sinkhole.Color = C3(1,0,0) | |
| 612 | sinkhole.Anchored = true | |
| 613 | sinkhole.CanCollide = false | |
| 614 | sinkhole.Transparency = 1 | |
| 615 | local decal = IT("Decal",sinkhole)
| |
| 616 | decal.Face = "Top" | |
| 617 | decal.Texture = "http://www.roblox.com/asset/?id=818983932" | |
| 618 | coroutine.resume(coroutine.create(function(PART) | |
| 619 | for i = 1, waitt do | |
| 620 | Swait() | |
| 621 | if doesrotate == true then | |
| 622 | sinkhole.CFrame = sinkhole.CFrame * CFrame.fromEulerAnglesXYZ(0, rotatedirection, 0) | |
| 623 | end | |
| 624 | if i > waitt-11 then | |
| 625 | decal.Transparency = decal.Transparency + 0.1 | |
| 626 | end | |
| 627 | end | |
| 628 | sinkhole:remove() | |
| 629 | end)) | |
| 630 | return sinkhole | |
| 631 | end | |
| 632 | ||
| 633 | function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit) | |
| 634 | local Direction = CFrame.new(StartPos, Vec).lookVector | |
| 635 | local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
| |
| 636 | local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
| |
| 637 | if RayHit and CheckIntangible(RayHit) then | |
| 638 | if DelayIfHit then | |
| 639 | wait() | |
| 640 | end | |
| 641 | RayHit, RayPos, RayNormal = CastZapRay((RayPos + (Vec * 0.01)), Vec, (Length - ((StartPos - RayPos).magnitude)), Ignore, DelayIfHit) | |
| 642 | end | |
| 643 | return RayHit, RayPos, RayNormal | |
| 644 | end | |
| 645 | ||
| 646 | function turnto(position) | |
| 647 | RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0) | |
| 648 | end | |
| 649 | - | tecks2.Text = "" |
| 649 | + | |
| 650 | --//=================================\\ | |
| 651 | --|| WEAPON CREATION | |
| 652 | --\\=================================// | |
| 653 | ||
| 654 | function CreateNeonCircle(ATTACHPART,POSITION,SIZE,DOESSPIN,COLOR,MATERIAL,THICKNESS,WIDTH) | |
| 655 | local PART = CreatePart(3, Weapon, MATERIAL, 0, 1, COLOR, "CirclePart", VT(0,0,0),false) | |
| 656 | for i = 1, 45 do | |
| 657 | local RingPiece = CreatePart(3, Weapon, MATERIAL, 0, 0, COLOR, "CirclePart", VT(THICKNESS,WIDTH,SIZE*0.65),false) | |
| 658 | local RingWeld = CreateWeldOrSnapOrMotor("Weld", RingPiece, PART, RingPiece, CF(0, 0, 0) * ANGLES(RAD(0), RAD(i*8), RAD(0)), CF(0, 0, 0) * CF(SIZE*4, 0, 0))
| |
| 659 | end | |
| 660 | local PartWeld = CreateWeldOrSnapOrMotor("Weld", ATTACHPART, PART, ATTACHPART, POSITION * ANGLES(RAD(0), RAD(0), RAD(0)),CF(0, 0, 0))
| |
| 661 | coroutine.resume(coroutine.create(function() | |
| 662 | --[[if DOESSPIN == true then | |
| 663 | while true do | |
| 664 | wait() | |
| 665 | PartWeld.C0 = Clerp(PartWeld.C0, POSITION * ANGLES(RAD(0), RAD(SINE*2), RAD(0)), 1) | |
| 666 | end | |
| 667 | end]]-- | |
| 668 | end)) | |
| 669 | end | |
| 670 | ||
| 671 | local naeeym2 = Instance.new("BillboardGui",Character)
| |
| 672 | naeeym2.AlwaysOnTop = true | |
| 673 | naeeym2.Size = UDim2.new(5,35,2,35) | |
| 674 | naeeym2.StudsOffset = Vector3.new(0,3,0) | |
| 675 | naeeym2.Adornee = Character.Head | |
| 676 | naeeym2.Name = "Name" | |
| 677 | - | local gear = CreatePart(3, Weapon, "Glass", 0, 0, "Really black", "Gear", VT(0.35*Player_Size,0.35*Player_Size,0.35*Player_Size),false) |
| 677 | + | |
| 678 | local tecks2 = Instance.new("TextLabel",naeeym2)
| |
| 679 | tecks2.BackgroundTransparency = 1 | |
| 680 | - | mesh.MeshId = "rbxassetid://156292343" |
| 680 | + | |
| 681 | tecks2.BorderSizePixel = 0 | |
| 682 | tecks2.Text = "Sin Ultimate" | |
| 683 | - | local gear = CreatePart(3, Weapon, "Glass", 0, 0, "Really black", "Gear", VT(0.35*Player_Size,0.35*Player_Size,0.35*Player_Size),false) |
| 683 | + | |
| 684 | tecks2.TextSize = 30 | |
| 685 | tecks2.TextStrokeTransparency = 0.9 | |
| 686 | - | mesh.MeshId = "rbxassetid://156292343" |
| 686 | + | |
| 687 | tecks2.TextStrokeColor3 = Color3.new(1,0,0) | |
| 688 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
| 689 | - | local gear = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Really black", "Gear", VT(0.35*Player_Size,0.35*Player_Size,0.35*Player_Size),false) |
| 689 | + | |
| 690 | ||
| 691 | Humanoid.DisplayDistanceType = "None" | |
| 692 | - | mesh.MeshId = "rbxassetid://156292343" |
| 692 | + | |
| 693 | ||
| 694 | local Shield = IT("Part",Weapon)
| |
| 695 | - | local BottomPart = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Really red", "Handle", VT(1*Player_Size,6*Player_Size,1*Player_Size),false) |
| 695 | + | |
| 696 | Shield.Shape = "Ball" | |
| 697 | Shield.Material = "Neon" | |
| 698 | Shield.Color = C3(1,0,0) | |
| 699 | Shield.Transparency = 0.8 | |
| 700 | Shield.Size = VT(0.5,0.5,0.5) | |
| 701 | local mesh = IT("SpecialMesh",Shield)
| |
| 702 | mesh.MeshType = "Sphere" | |
| 703 | mesh.Scale = VT(13,13,13) | |
| 704 | Shield.CFrame = RootPart.CFrame | |
| 705 | weldBetween(RootPart,Shield) | |
| 706 | ||
| 707 | - | local gear = CreatePart(3, Weapon, "Glass", 0, 0, "Really black", "Gear", VT(0.35,0.35,0.35),false) |
| 707 | + | |
| 708 | local COLOR2 = "Really black" | |
| 709 | ||
| 710 | - | mesh.MeshId = "rbxassetid://156292343" |
| 710 | + | local gear = CreatePart(3, Weapon, "Neon", 0, 0, "Really black", "Gear", VT(0.35*Player_Size,0.35*Player_Size,0.35*Player_Size),false) |
| 711 | local mesh = Instance.new("SpecialMesh",gear)
| |
| 712 | mesh.MeshType = "FileMesh" | |
| 713 | - | local gear = CreatePart(3, Weapon, "Glass", 0, 0, "Really black", "Gear", VT(0.35,0.35,0.35),false) |
| 713 | + | mesh.MeshId = "rbxassetid://420077883" |
| 714 | mesh.Scale = VT(10,10,10) | |
| 715 | local weld = CreateWeldOrSnapOrMotor("Weld", RootPart, gear, RootPart, CF(0 * Player_Size, 0 * Player_Size, 4 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
| |
| 716 | - | mesh.MeshId = "rbxassetid://156292343" |
| 716 | + | local gear = CreatePart(3, Weapon, "Neon", 0, 0, "Really black", "Gear", VT(0.35*Player_Size,0.35*Player_Size,0.35*Player_Size),false) |
| 717 | local mesh = Instance.new("SpecialMesh",gear)
| |
| 718 | mesh.MeshType = "FileMesh" | |
| 719 | mesh.MeshId = "rbxassetid://420077883" | |
| 720 | - | local gear = CreatePart(3, Weapon, "Glass", 0, 0, "Really black", "Gear", VT(0.35,0.35,0.35),false) |
| 720 | + | |
| 721 | local weld = CreateWeldOrSnapOrMotor("Weld", RootPart, gear, RootPart, CF(0 * Player_Size, 0 * Player_Size, 6 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
| |
| 722 | local gear = CreatePart(3, Weapon, "Neon", 0, 0, "Really black", "Gear", VT(0.35*Player_Size,0.35*Player_Size,0.35*Player_Size),false) | |
| 723 | - | mesh.MeshId = "rbxassetid://156292343" |
| 723 | + | |
| 724 | mesh.MeshType = "FileMesh" | |
| 725 | mesh.MeshId = "rbxassetid://420077883" | |
| 726 | - | local gear = CreatePart(3, Weapon, "Glass", 0, 0, "Really black", "Gear", VT(0.35,0.35,0.35),false) |
| 726 | + | |
| 727 | local weld = CreateWeldOrSnapOrMotor("Weld", RootPart, gear, RootPart, CF(0 * Player_Size, 0 * Player_Size, 8 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
| |
| 728 | local BottomPart = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Handle", VT(1*Player_Size,6*Player_Size,1*Player_Size),false) | |
| 729 | - | mesh.MeshId = "rbxassetid://156292343" |
| 729 | + | |
| 730 | mesh.MeshType = "Sphere" | |
| 731 | local weld = CreateWeldOrSnapOrMotor("Weld", RootPart, BottomPart, RootPart, CF(0 * Player_Size, 8 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
| |
| 732 | ||
| 733 | - | local BottomPart = CreatePart(3, Weapon, "Glass", 0, 0, COLOR2, "Handle", VT(1*Player_Size,4*Player_Size,1*Player_Size),false) |
| 733 | + | |
| 734 | --CreateNeonCircle(RootPart,CF(0,1.5,0)*ANGLES(RAD(90),RAD(0),RAD(0)),0.8,false,COLOR,"Neon",0.2,0.2) | |
| 735 | --CreateNeonCircle(RootPart,CF(0,1,0)*ANGLES(RAD(90),RAD(0),RAD(0)),0.85,false,COLOR,"Neon",0.2,0.2) | |
| 736 | CreateNeonCircle(Head,CF(0,-0.55,0)*ANGLES(RAD(90),RAD(0),RAD(0)),0.07,false,COLOR,"Neon",0.05,0.05) | |
| 737 | - | local BottomPart = CreatePart(3, Weapon, "Glass", 0, 0, COLOR2, "Handle", VT(3,3,3),false) |
| 737 | + | |
| 738 | CreateNeonCircle(RootPart,CF(0,3.7,0)*ANGLES(RAD(0),RAD(0),RAD(0)),1,true,COLOR,"Neon",0,0) | |
| 739 | ||
| 740 | local gear = CreatePart(3, Weapon, "Neon", 0, 0, "Really black", "Gear", VT(0.35,0.35,0.35),false) | |
| 741 | - | local BottomPart = CreatePart(3, Weapon, "Glass", 0, 0, COLOR2, "Handle", VT(3,3,3),false) |
| 741 | + | |
| 742 | mesh.MeshType = "FileMesh" | |
| 743 | mesh.MeshId = "rbxassetid://420077883" | |
| 744 | mesh.Scale = VT(10,10,10) | |
| 745 | - | local BottomPart = CreatePart(3, Weapon, "Glass", 0, 0, COLOR2, "Handle", VT(4*Player_Size,2*Player_Size,4*Player_Size),false) |
| 745 | + | |
| 746 | local gear = CreatePart(3, Weapon, "Neon", 0, 0, "Really black", "Gear", VT(0.35,0.35,0.35),false) | |
| 747 | local mesh = Instance.new("SpecialMesh",gear)
| |
| 748 | mesh.MeshType = "FileMesh" | |
| 749 | - | local BottomPart = CreatePart(3, Weapon, "Glass", 0, 0, COLOR2, "Handle", VT(2*Player_Size,4*Player_Size,2*Player_Size),false) |
| 749 | + | mesh.MeshId = "rbxassetid://420077883" |
| 750 | mesh.Scale = VT(7,7,7) | |
| 751 | local weld = CreateWeldOrSnapOrMotor("Weld", RootPart, gear, RootPart, CF(0, 0, -4.3) * ANGLES(RAD(0), RAD(70), RAD(0)), CF(0, 0, 0))
| |
| 752 | ||
| 753 | - | local BottomPart = CreatePart(3, Weapon, "Glass", 0, 0, COLOR2, "Handle", VT(1*Player_Size,4*Player_Size,1*Player_Size),false) |
| 753 | + | local gear = CreatePart(3, Weapon, "Neon", 0, 0, "Really black", "Gear", VT(0.35,0.35,0.35),false) |
| 754 | local mesh = Instance.new("SpecialMesh",gear)
| |
| 755 | mesh.MeshType = "FileMesh" | |
| 756 | mesh.MeshId = "rbxassetid://420077883" | |
| 757 | mesh.Scale = VT(10,10,10) | |
| 758 | local weld = CreateWeldOrSnapOrMotor("Weld", RootPart, gear, RootPart, CF(0, 0, -3.3) * ANGLES(RAD(0), RAD(-70), RAD(0)), CF(0, 0, 0))
| |
| 759 | local gear = CreatePart(3, Weapon, "Neon", 0, 0, "Really black", "Gear", VT(0.35,0.35,0.35),false) | |
| 760 | local mesh = Instance.new("SpecialMesh",gear)
| |
| 761 | - | Part1 = CreatePart(3, HAND, "SmoothPlastic", 0, 0, COLOR2, "HandPart", VT(2,2,2),false) |
| 761 | + | |
| 762 | mesh.MeshId = "rbxassetid://420077883" | |
| 763 | mesh.Scale = VT(7,7,7) | |
| 764 | local weld = CreateWeldOrSnapOrMotor("Weld", RootPart, gear, RootPart, CF(0, 0, -4.3) * ANGLES(RAD(0), RAD(-70), RAD(0)), CF(0, 0, 0))
| |
| 765 | - | local Part = CreatePart(3, HAND, "Glass", 0, 0, COLOR, "HandPart", VT(2.01,0.05,2.01),false) |
| 765 | + | |
| 766 | local BottomPart = CreatePart(3, Weapon, "Neon", 0, 0, COLOR2, "Handle", VT(1*Player_Size,4*Player_Size,1*Player_Size),false) | |
| 767 | MakeForm(BottomPart,"Cyl") | |
| 768 | - | local Part = CreatePart(3, HAND, "Glass", 0, 0, COLOR, "HandPart", VT(2.01,0.05,2.01),false) |
| 768 | + | |
| 769 | ||
| 770 | local BottomPart = CreatePart(3, Weapon, "Neon", 0, 0, COLOR2, "Handle", VT(3,3,3),false) | |
| 771 | - | local Part = CreatePart(3, HAND, "Glass", 0, 0, COLOR, "HandPart", VT(2.01,0.05,2.01),false) |
| 771 | + | |
| 772 | mesh.MeshType = "Sphere" | |
| 773 | local weld = CreateWeldOrSnapOrMotor("Weld", RootPart, BottomPart, RootPart, CF(-5,0,-1.9) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
| |
| 774 | local BottomPart = CreatePart(3, Weapon, "Neon", 0, 0, COLOR2, "Handle", VT(3,3,3),false) | |
| 775 | local mesh = Instance.new("SpecialMesh",BottomPart)
| |
| 776 | mesh.MeshType = "Sphere" | |
| 777 | local weld = CreateWeldOrSnapOrMotor("Weld", RootPart, BottomPart, RootPart, CF(5,0,-1.9) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
| |
| 778 | local BottomPart = CreatePart(3, Weapon, "Neon", 0, 0, COLOR2, "Handle", VT(4*Player_Size,2*Player_Size,4*Player_Size),false) | |
| 779 | local mesh = Instance.new("SpecialMesh",BottomPart)
| |
| 780 | mesh.MeshType = "Sphere" | |
| 781 | local weld = CreateWeldOrSnapOrMotor("Weld", RootPart, BottomPart, RootPart, CF(0 * Player_Size, 4 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
| |
| 782 | local BottomPart = CreatePart(3, Weapon, "Neon", 0, 0, COLOR2, "Handle", VT(2*Player_Size,4*Player_Size,2*Player_Size),false) | |
| 783 | local mesh = Instance.new("SpecialMesh",BottomPart)
| |
| 784 | mesh.MeshType = "Sphere" | |
| 785 | local weld = CreateWeldOrSnapOrMotor("Weld", RootPart, BottomPart, RootPart, CF(0 * Player_Size, 8 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
| |
| 786 | local BottomPart = CreatePart(3, Weapon, "Neon", 0, 0, COLOR2, "Handle", VT(1*Player_Size,4*Player_Size,1*Player_Size),false) | |
| 787 | MakeForm(BottomPart,"Cyl") | |
| 788 | local weld = CreateWeldOrSnapOrMotor("Weld", RootPart, BottomPart, RootPart, CF(0 * Player_Size, 6 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
| |
| 789 | ||
| 790 | function MakeHand() | |
| 791 | local Part1 = nil | |
| 792 | local HandWeld = nil | |
| 793 | local HAND = Weapon | |
| 794 | Part1 = CreatePart(3, HAND, "Neon", 0, 0, COLOR2, "HandPart", VT(2,2,2),false) | |
| 795 | MakeForm(Part1,"Ball") | |
| 796 | HandWeld = CreateWeldOrSnapOrMotor("Weld", RootPart, Part1, RootPart, CF(0,0,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
| |
| 797 | CreateNeonCircle(Part1,CF(0,1,0)*ANGLES(RAD(90),RAD(0),RAD(0)),0.8,false,COLOR,"Neon",0.1,0.1) | |
| 798 | local Part = CreatePart(3, HAND, "Neon", 0, 0, COLOR, "HandPart", VT(2.01,0.05,2.01),false) | |
| 799 | MakeForm(Part,"Cyl") | |
| 800 | CreateWeldOrSnapOrMotor("Weld", Part1, Part, Part1, CF(0,0,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
| |
| 801 | local Part = CreatePart(3, HAND, "Neon", 0, 0, COLOR, "HandPart", VT(2.01,0.05,2.01),false) | |
| 802 | MakeForm(Part,"Cyl") | |
| 803 | CreateWeldOrSnapOrMotor("Weld", Part1, Part, Part1, CF(0,0,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
| |
| 804 | local Part = CreatePart(3, HAND, "Neon", 0, 0, COLOR, "HandPart", VT(2.01,0.05,2.01),false) | |
| 805 | MakeForm(Part,"Cyl") | |
| 806 | CreateWeldOrSnapOrMotor("Weld", Part1, Part, Part1, CF(0,0,0) * ANGLES(RAD(0), RAD(0), RAD(90)), CF(0, 0, 0))
| |
| 807 | --CreateNeonCircle(Part1,CF(0,0,0)*ANGLES(RAD(90),RAD(0),RAD(0)),0.35,false,COLOR2,"SmoothPlastic",0.7,0.1) | |
| 808 | CreateNeonCircle(Part1,CF(0,0,0)*ANGLES(RAD(90),RAD(0),RAD(0)),0.4,false,COLOR2,"SmoothPlastic",0.7,0.1) | |
| 809 | CreateNeonCircle(Part1,CF(0,0,0)*ANGLES(RAD(90),RAD(0),RAD(0)),0.43,false,COLOR,"Neon",0.7,0.08) | |
| 810 | local Parta = CreatePart(3, HAND, "SmoothPlastic", 0, 1, COLOR2, "FingerJoint", VT(0,0,0),false) | |
| 811 | CreateWeldOrSnapOrMotor("Weld", Part1, Parta, Part1, CF(0,0,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
| |
| 812 | local Part = CreatePart(3, HAND, "Glass", 0, 0, COLOR2, "FingerPart", VT(0.7,3,0.7),false) | |
| 813 | MakeForm(Part,"Cyl") | |
| 814 | CreateWeldOrSnapOrMotor("Weld", Parta, Part, Parta, CF(0,0,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, -2, 0))
| |
| 815 | local Part = CreatePart(3, HAND, "Glass", 0, 0, COLOR, "FingerPart", VT(0.71,0.2,0.71),false) | |
| 816 | MakeForm(Part,"Cyl") | |
| 817 | CreateWeldOrSnapOrMotor("Weld", Parta, Part, Parta, CF(0,0,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, -2, 0))
| |
| 818 | local Part = CreatePart(3, HAND, "Glass", 0, 0, COLOR2, "FingerPart", VT(1.2,1.2,1.2),false) | |
| 819 | MakeForm(Part,"Gem") | |
| 820 | Part.Mesh.Offset = VT(0,-0.65,0) | |
| 821 | CreateWeldOrSnapOrMotor("Weld", Parta, Part, Parta, CF(0,3.55/1.5,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
| |
| 822 | local Part = CreatePart(3, HAND, "Glass", 0, 0, COLOR2, "FingerPart", VT(0.7,1.5,0.7),false) | |
| 823 | MakeForm(Part,"Cyl") | |
| 824 | Part.Mesh.Offset = VT(0,-1,0.5) | |
| 825 | CreateWeldOrSnapOrMotor("Weld", Parta, Part, Parta, CF(0,2/1.5,-2.5/1.5) * ANGLES(RAD(-45), RAD(0), RAD(0)), CF(0, 0, 0))
| |
| 826 | local Part = CreatePart(3, HAND, "Glass", 0, 0, COLOR, "FingerPart", VT(1.2,3,1.2),false) | |
| 827 | MakeForm(Part,"Gem") | |
| 828 | CreateWeldOrSnapOrMotor("Weld", Parta, Part, Parta, CF(0,-3/1.5,6/1.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
| |
| 829 | local Parta = CreatePart(3, HAND, "Glass", 0, 1, COLOR2, "FingerJoint", VT(0,0,0),false) | |
| 830 | CreateWeldOrSnapOrMotor("Weld", Part1, Parta, Part1, CF(0,0,0) * ANGLES(RAD(0), RAD(0), RAD(125)), CF(0, 0, 0))
| |
| 831 | local Part = CreatePart(3, HAND, "Glass", 0, 0, COLOR2, "FingerPart", VT(0.7,3,0.7),false) | |
| 832 | MakeForm(Part,"Cyl") | |
| 833 | CreateWeldOrSnapOrMotor("Weld", Parta, Part, Parta, CF(0,0,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, -2, 0))
| |
| 834 | local Part = CreatePart(3, HAND, "Neon", 0, 0, COLOR, "FingerPart", VT(0.71,0.2,0.71),false) | |
| 835 | MakeForm(Part,"Cyl") | |
| 836 | CreateWeldOrSnapOrMotor("Weld", Parta, Part, Parta, CF(0,0,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, -2, 0))
| |
| 837 | local Part = CreatePart(3, HAND, "Glass", 0, 0, COLOR2, "FingerPart", VT(1.2,1.2,1.2),false) | |
| 838 | MakeForm(Part,"Gem") | |
| 839 | Part.Mesh.Offset = VT(0,-0.65,0) | |
| 840 | CreateWeldOrSnapOrMotor("Weld", Parta, Part, Parta, CF(0,3.55/1.5,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
| |
| 841 | local Part = CreatePart(3, HAND, "Glass", 0, 0, COLOR2, "FingerPart", VT(0.7,1.5,0.7),false) | |
| 842 | MakeForm(Part,"Cyl") | |
| 843 | Part.Mesh.Offset = VT(0,-1,0.5) | |
| 844 | CreateWeldOrSnapOrMotor("Weld", Parta, Part, Parta, CF(0,2/1.5,-2.5/1.5) * ANGLES(RAD(-45), RAD(0), RAD(0)), CF(0, 0, 0))
| |
| 845 | local Part = CreatePart(3, HAND, "Glass", 0, 0, COLOR, "FingerPart", VT(1.2,3,1.2),false) | |
| 846 | MakeForm(Part,"Gem") | |
| 847 | CreateWeldOrSnapOrMotor("Weld", Parta, Part, Parta, CF(0,-3/1.5,6/1.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
| |
| 848 | local Parta = CreatePart(3, HAND, "Glass", 0, 1, COLOR2, "FingerJoint", VT(0,0,0),false) | |
| 849 | CreateWeldOrSnapOrMotor("Weld", Part1, Parta, Part1, CF(0,0,0) * ANGLES(RAD(0), RAD(0), RAD(-125)), CF(0, 0, 0))
| |
| 850 | local Part = CreatePart(3, HAND, "Glass", 0, 0, COLOR2, "FingerPart", VT(0.7,3,0.7),false) | |
| 851 | MakeForm(Part,"Cyl") | |
| 852 | CreateWeldOrSnapOrMotor("Weld", Parta, Part, Parta, CF(0,0,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, -2, 0))
| |
| 853 | local Part = CreatePart(3, HAND, "Glass", 0, 0, COLOR, "FingerPart", VT(0.71,0.2,0.71),false) | |
| 854 | MakeForm(Part,"Cyl") | |
| 855 | CreateWeldOrSnapOrMotor("Weld", Parta, Part, Parta, CF(0,0,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, -2, 0))
| |
| 856 | local Part = CreatePart(3, HAND, "Glass", 0, 0, COLOR2, "FingerPart", VT(1.2,1.2,1.2),false) | |
| 857 | MakeForm(Part,"Gem") | |
| 858 | Part.Mesh.Offset = VT(0,-0.65,0) | |
| 859 | CreateWeldOrSnapOrMotor("Weld", Parta, Part, Parta, CF(0,3.55/1.5,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
| |
| 860 | local Part = CreatePart(3, HAND, "Glass", 0, 0, COLOR2, "FingerPart", VT(0.7,1.5,0.7),false) | |
| 861 | MakeForm(Part,"Cyl") | |
| 862 | Part.Mesh.Offset = VT(0,-1,0.5) | |
| 863 | CreateWeldOrSnapOrMotor("Weld", Parta, Part, Parta, CF(0,2/1.5,-2.5/1.5) * ANGLES(RAD(-45), RAD(0), RAD(0)), CF(0, 0, 0))
| |
| 864 | local Part = CreatePart(3, HAND, "Glass", 0, 0, COLOR, "FingerPart", VT(1.2,3,1.2),false) | |
| 865 | MakeForm(Part,"Gem") | |
| 866 | CreateWeldOrSnapOrMotor("Weld", Parta, Part, Parta, CF(0,-3/1.5,6/1.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
| |
| 867 | local Parta = CreatePart(3, HAND, "Glass", 0, 1, COLOR2, "FingerJoint", VT(0,0,0),false) | |
| 868 | CreateWeldOrSnapOrMotor("Weld", Part1, Parta, Part1, CF(0,0,0) * ANGLES(RAD(0), RAD(0), RAD(-180)), CF(0, 0, 0))
| |
| 869 | local Part = CreatePart(3, HAND, "Glass", 0, 0, COLOR2, "FingerPart", VT(0.7,3,0.7),false) | |
| 870 | MakeForm(Part,"Cyl") | |
| 871 | CreateWeldOrSnapOrMotor("Weld", Parta, Part, Parta, CF(0,0,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, -2, 0))
| |
| 872 | - | if c.Material ~= Enum.Material.Glass then |
| 872 | + | |
| 873 | MakeForm(Part,"Cyl") | |
| 874 | CreateWeldOrSnapOrMotor("Weld", Parta, Part, Parta, CF(0,0,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, -2, 0))
| |
| 875 | local Part = CreatePart(3, HAND, "Glass", 0, 0, COLOR2, "FingerPart", VT(1.2,1.2,1.2),false) | |
| 876 | MakeForm(Part,"Gem") | |
| 877 | Part.Mesh.Offset = VT(0,-0.65,0) | |
| 878 | CreateWeldOrSnapOrMotor("Weld", Parta, Part, Parta, CF(0,3.55/1.5,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
| |
| 879 | local Part = CreatePart(3, HAND, "Glass", 0, 0, COLOR2, "FingerPart", VT(0.7,1.5,0.7),false) | |
| 880 | MakeForm(Part,"Cyl") | |
| 881 | Part.Mesh.Offset = VT(0,-1,0.5) | |
| 882 | CreateWeldOrSnapOrMotor("Weld", Parta, Part, Parta, CF(0,2/1.5,-2.5/1.5) * ANGLES(RAD(-45), RAD(0), RAD(0)), CF(0, 0, 0))
| |
| 883 | local Part = CreatePart(3, HAND, "Glass", 0, 0, COLOR, "FingerPart", VT(1.2,3,1.2),false) | |
| 884 | MakeForm(Part,"Gem") | |
| 885 | CreateWeldOrSnapOrMotor("Weld", Parta, Part, Parta, CF(0,-3/1.5,6/1.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
| |
| 886 | for _, c in pairs(HAND:GetChildren()) do | |
| 887 | if c.ClassName == "Part" then | |
| 888 | c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0) | |
| 889 | if c.Material ~= Enum.Material.Neon then | |
| 890 | - | local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] True power of Sin", SKILLTEXTCOLOR, 7, "Garamond", 0, 2, 1, "Text 5") |
| 890 | + | |
| 891 | end | |
| 892 | end | |
| 893 | end | |
| 894 | return Part1, HandWeld | |
| 895 | end | |
| 896 | ||
| 897 | local Palm1, ArmWeld1 = MakeHand() | |
| 898 | local Palm2, ArmWeld2 = MakeHand() | |
| 899 | local Palm3, ArmWeld3 = MakeHand() | |
| 900 | local Palm4, ArmWeld4 = MakeHand() | |
| 901 | ||
| 902 | for _, c in pairs(Weapon:GetChildren()) do | |
| 903 | if c.ClassName == "Part" then | |
| 904 | c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0) | |
| 905 | if c.Material ~= Enum.Material.Neon then | |
| 906 | c.Color = C3(0,0,0) | |
| 907 | end | |
| 908 | end | |
| 909 | end | |
| 910 | ||
| 911 | Weapon.Parent = Character | |
| 912 | ||
| 913 | local SKILL1FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.13, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame") | |
| 914 | local SKILL2FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.60, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame") | |
| 915 | local SKILL3FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.23, 0, 0.93, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame") | |
| 916 | local SKILL4FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.50, 0, 0.93, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame") | |
| 917 | local SKILL5FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.365, 0, 0.7, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame") | |
| 918 | ||
| 919 | local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Claw Force", SKILLTEXTCOLOR, 8, "Garamond", 0, 2, 1, "Text 1") | |
| 920 | local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Sinner Wave", SKILLTEXTCOLOR, 8, "Garamond", 0, 2, 1, "Text 2") | |
| 921 | local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Depth's Rage", SKILLTEXTCOLOR, 8, "Garamond", 0, 2, 1, "Text 3") | |
| 922 | local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Hellfire sync", SKILLTEXTCOLOR, 8, "Garamond", 0, 2, 1, "Text 4") | |
| 923 | local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] True power of Dragoon", SKILLTEXTCOLOR, 7, "Garamond", 0, 2, 1, "Text 5") | |
| 924 | ||
| 925 | --//=================================\\ | |
| 926 | --|| DAMAGING | |
| 927 | --\\=================================// | |
| 928 | ||
| 929 | function killnearest(position,range) | |
| 930 | for i,v in ipairs(workspace:GetChildren()) do | |
| 931 | local body = v:GetChildren() | |
| 932 | for part = 1, #body do | |
| 933 | if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then | |
| 934 | if(body[part].Position - position).Magnitude < range then | |
| 935 | if v.ClassName == "Model" then | |
| 936 | v:BreakJoints() | |
| 937 | end | |
| 938 | end | |
| 939 | end | |
| 940 | end | |
| 941 | end | |
| 942 | end | |
| 943 | ||
| 944 | function fling(position,range,maxstrength) | |
| 945 | for i,v in ipairs(workspace:GetChildren()) do | |
| 946 | local body = v:GetChildren() | |
| 947 | for part = 1, #body do | |
| 948 | if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then | |
| 949 | if(body[part].Position - position).Magnitude < range and body[part]:FindFirstChild("Flung") == nil then
| |
| 950 | local bv = Instance.new("BodyVelocity")
| |
| 951 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
| 952 | bv.Name = "Flung" | |
| 953 | bv.velocity = CF(position,body[part].Position).lookVector*maxstrength | |
| 954 | bv.Parent = body[part] | |
| 955 | Debris:AddItem(bv,0.2) | |
| 956 | end | |
| 957 | end | |
| 958 | end | |
| 959 | end | |
| 960 | end | |
| 961 | ||
| 962 | --//=================================\\ | |
| 963 | --|| ATTACK FUNCTIONS AND STUFF | |
| 964 | --\\=================================// | |
| 965 | ||
| 966 | function CastProperRay(StartPos, Vec, Length, Ignore, DelayIfHit) | |
| 967 | local Direction = CFrame.new(StartPos, Vec).lookVector | |
| 968 | local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
| |
| 969 | local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
| |
| 970 | if RayHit and CheckIntangible(RayHit) then | |
| 971 | if DelayIfHit then | |
| 972 | wait() | |
| 973 | end | |
| 974 | RayHit, RayPos, RayNormal = CastZapRay((RayPos + (Vec * 0.01)), Vec, (Length - ((StartPos - RayPos).magnitude)), Ignore, DelayIfHit) | |
| 975 | end | |
| 976 | return RayHit, RayPos, RayNormal | |
| 977 | end | |
| 978 | ||
| 979 | Humanoid.Died:connect(function() | |
| 980 | q = workspace:GetChildren() | |
| 981 | --CreatePentagram(1500,true,-0.1,150,CF(RootPart.Position),-3) | |
| 982 | Head.Parent = nil | |
| 983 | Head = nil | |
| 984 | for i = 1, #q do | |
| 985 | local child = q[i] | |
| 986 | if child.ClassName == "Model" and child:FindFirstChild("Humanoid") then
| |
| 987 | child:BreakJoints() | |
| 988 | end | |
| 989 | end | |
| 990 | local taunt = CreateSound("135009414", workspace, 10, 1)
| |
| 991 | local effect = IT("PitchShiftSoundEffect",taunt)
| |
| 992 | effect.Octave = 0.700 | |
| 993 | ATTACK = true | |
| 994 | end) | |
| 995 | ||
| 996 | Humanoid.HealthChanged:connect(function() | |
| 997 | if Humanoid.Health == 0 then | |
| 998 | Humanoid.MaxHealth = "inf" | |
| 999 | Humanoid.Health = "inf" | |
| 1000 | end | |
| 1001 | end) | |
| 1002 | ||
| 1003 | function PoseAllOut() | |
| 1004 | coroutine.resume(coroutine.create(function() | |
| 1005 | for i=0, 1, 0.1 / Animation_Speed do | |
| 1006 | Swait() | |
| 1007 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
| 1008 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
| 1009 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-5), RAD(180), RAD(-145)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed) | |
| 1010 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-5), RAD(180), RAD(145)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) | |
| 1011 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(-15)), 0.5 / Animation_Speed) | |
| 1012 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(15)), 0.5 / Animation_Speed) | |
| 1013 | end | |
| 1014 | end)) | |
| 1015 | end | |
| 1016 | ||
| 1017 | function PoseArmCrossed() | |
| 1018 | coroutine.resume(coroutine.create(function() | |
| 1019 | for i=0, 1, 0.1 / Animation_Speed do | |
| 1020 | Swait() | |
| 1021 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
| 1022 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
| 1023 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.75, 0.5, -1) * ANGLES(RAD(70), RAD(0), RAD(-70)) * ANGLES(RAD(20), RAD(25), RAD(-15)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed) | |
| 1024 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.2, -0.5) * ANGLES(RAD(25), RAD(0), RAD(85)) * LEFTSHOULDERC0, 0.4 / Animation_Speed) | |
| 1025 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(-45)), 0.5 / Animation_Speed) | |
| 1026 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(45)), 0.5 / Animation_Speed) | |
| 1027 | end | |
| 1028 | end)) | |
| 1029 | end | |
| 1030 | ||
| 1031 | function PoseGoForward() | |
| 1032 | coroutine.resume(coroutine.create(function() | |
| 1033 | for i=0, 1, 0.1 / Animation_Speed do | |
| 1034 | Swait() | |
| 1035 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(45)), 0.5 / Animation_Speed) | |
| 1036 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-45)), 0.5 / Animation_Speed) | |
| 1037 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed) | |
| 1038 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) | |
| 1039 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
| 1040 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
| 1041 | end | |
| 1042 | end)) | |
| 1043 | end | |
| 1044 | ||
| 1045 | function ClawForce() | |
| 1046 | ATTACK = true | |
| 1047 | Rooted = false | |
| 1048 | PoseArmCrossed() | |
| 1049 | for i=0, 2, 0.1 / Animation_Speed do | |
| 1050 | Swait() | |
| 1051 | ArmWeld1.C0 = Clerp(ArmWeld1.C0, CF(10 + 0.75,8,0) * ANGLES(RAD(-15), RAD(25), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
| 1052 | ArmWeld2.C0 = Clerp(ArmWeld2.C0, CF(-10 - 0.75,8,0) * ANGLES(RAD(-15), RAD(-25), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
| 1053 | ArmWeld3.C0 = Clerp(ArmWeld3.C0, CF(13 + 0.75,-4,0) * ANGLES(RAD(-25), RAD(35), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
| 1054 | ArmWeld4.C0 = Clerp(ArmWeld4.C0, CF(-13 - 0.75,-4,0) * ANGLES(RAD(-25), RAD(-35), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
| 1055 | end | |
| 1056 | Rooted = true | |
| 1057 | for i=0, 0.2, 0.1 / Animation_Speed do | |
| 1058 | Swait() | |
| 1059 | ArmWeld1.C0 = Clerp(ArmWeld1.C0, CF(18,0,15) * ANGLES(RAD(90), RAD(25), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed) | |
| 1060 | ArmWeld2.C0 = Clerp(ArmWeld2.C0, CF(-18,0,15) * ANGLES(RAD(90), RAD(-25), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed) | |
| 1061 | ArmWeld3.C0 = Clerp(ArmWeld3.C0, CF(18,-15,15) * ANGLES(RAD(90), RAD(35), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed) | |
| 1062 | ArmWeld4.C0 = Clerp(ArmWeld4.C0, CF(-18,-15,15) * ANGLES(RAD(90), RAD(-35), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed) | |
| 1063 | end | |
| 1064 | CreateWave(VT(15,0,15),45,CF(Palm1.Position)*CF(0,-2,0),true,-0.2,COLOR2,VT(0.2,0.25,0.2)) | |
| 1065 | CreateWave(VT(15,0,15),45,CF(Palm1.Position)*CF(0,-2,0),true,0.2,COLOR2,VT(0.2,0.25,0.2)) | |
| 1066 | CreateWave(VT(15,0,15),45,CF(Palm2.Position)*CF(0,-2,0),true,-0.2,COLOR2,VT(0.2,0.25,0.2)) | |
| 1067 | CreateWave(VT(15,0,15),45,CF(Palm2.Position)*CF(0,-2,0),true,0.2,COLOR2,VT(0.2,0.25,0.2)) | |
| 1068 | CreateWave(VT(15,0,15),45,CF(Palm3.Position)*CF(0,-2,0),true,-0.2,COLOR2,VT(0.2,0.25,0.2)) | |
| 1069 | CreateWave(VT(15,0,15),45,CF(Palm3.Position)*CF(0,-2,0),true,0.2,COLOR2,VT(0.2,0.25,0.2)) | |
| 1070 | CreateWave(VT(15,0,15),45,CF(Palm4.Position)*CF(0,-2,0),true,-0.2,COLOR2,VT(0.2,0.25,0.2)) | |
| 1071 | CreateWave(VT(15,0,15),45,CF(Palm4.Position)*CF(0,-2,0),true,0.2,COLOR2,VT(0.2,0.25,0.2)) | |
| 1072 | killnearest(Palm1.Position,15) | |
| 1073 | killnearest(Palm2.Position,15) | |
| 1074 | killnearest(Palm3.Position,15) | |
| 1075 | killnearest(Palm4.Position,15) | |
| 1076 | CreateSound("289842971", Effects, 3, 0.8)
| |
| 1077 | CreateSound("289842971", Effects, 3, 1)
| |
| 1078 | for i=0, 1, 0.1 / Animation_Speed do | |
| 1079 | Swait() | |
| 1080 | ArmWeld1.C0 = Clerp(ArmWeld1.C0, CF(18,0,15) * ANGLES(RAD(90), RAD(25), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed) | |
| 1081 | ArmWeld2.C0 = Clerp(ArmWeld2.C0, CF(-18,0,15) * ANGLES(RAD(90), RAD(-25), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed) | |
| 1082 | ArmWeld3.C0 = Clerp(ArmWeld3.C0, CF(18,-15,15) * ANGLES(RAD(90), RAD(35), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed) | |
| 1083 | ArmWeld4.C0 = Clerp(ArmWeld4.C0, CF(-18,-15,15) * ANGLES(RAD(90), RAD(-35), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed) | |
| 1084 | end | |
| 1085 | ATTACK = false | |
| 1086 | Rooted = false | |
| 1087 | end | |
| 1088 | ||
| 1089 | function RayCast(Position, Direction, MaxDistance, IgnoreList) | |
| 1090 | return game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(Position, Direction.unit * (MaxDistance or 999.999)), IgnoreList)
| |
| 1091 | end | |
| 1092 | ||
| 1093 | function SinnerWave() | |
| 1094 | ATTACK = true | |
| 1095 | Rooted = false | |
| 1096 | PoseAllOut() | |
| 1097 | local angle = -35 | |
| 1098 | for i = 1, 3 do | |
| 1099 | turnto(Mouse.Hit.p) | |
| 1100 | coroutine.resume(coroutine.create(function() | |
| 1101 | local RayHit, RayPos = RayCast(Torso.Position, Vector3.new(0, -15, 0), 10000, {Character})
| |
| 1102 | local SpawnPosition = RayPos | |
| 1103 | local floor = RayHit | |
| 1104 | local needcframe = RootPart.CFrame*ANGLES(RAD(0),RAD(angle),RAD(0)) | |
| 1105 | local LastPosition = RayPos | |
| 1106 | local Delay = 1 | |
| 1107 | for i = 1, 4 do | |
| 1108 | local RayHit, RayPos = RayCast(LastPosition, needcframe.lookVector, 25, {workspace})
| |
| 1109 | local End = RayPos | |
| 1110 | LastPosition = End | |
| 1111 | local locatepart = Instance.new("Part",Effects)
| |
| 1112 | locatepart.Size = VT(0.5,0.5,0.5) | |
| 1113 | locatepart.Position = End | |
| 1114 | locatepart.CanCollide = false | |
| 1115 | locatepart.Anchored = true | |
| 1116 | locatepart.Name = "Oof" | |
| 1117 | locatepart.Transparency = 1 | |
| 1118 | if SpawnPosition and i ~= 4 then | |
| 1119 | CreateSound("971125740", locatepart, 7, 1)
| |
| 1120 | killnearest(End,15) | |
| 1121 | CreateWave(VT(2,0,2),45,CF(End),true,-0.2,COLOR2,VT(1,0.2,1)) | |
| 1122 | CreateWave(VT(2,0,2),45,CF(End),true,0.2,COLOR2,VT(1,0.2,1)) | |
| 1123 | for i = 1, 5 do | |
| 1124 | CreateRing(VT(52,13,52),false,0,45,CF(End) * ANGLES(RAD(math.random(-360,360)),RAD(math.random(-360,360)),RAD(math.random(-360,360))),COLOR,VT(-52,-3,-52)/45) | |
| 1125 | end | |
| 1126 | end | |
| 1127 | if i == 4 then | |
| 1128 | CreateWave(VT(15,0,15),125,CF(End),true,-0.2,COLOR,VT(1,0.2,1)) | |
| 1129 | CreateWave(VT(15,0,15),125,CF(End),true,0.2,COLOR,VT(1,0.2,1)) | |
| 1130 | CreateSound("215270668", Effects, 3, 1)
| |
| 1131 | coroutine.resume(coroutine.create(function() | |
| 1132 | local BEAM = CreatePart(3, Effects, "Glass", 0, 0.3, BRICKC(COLOR), "Effect", VT(35,100000,35)) | |
| 1133 | BEAM.CFrame = CF(End) | |
| 1134 | MakeForm(BEAM,"Cyl") | |
| 1135 | local BEAM1 = CreatePart(3, Effects, "Glass", 0, 0.3, BRICKC(COLOR), "Effect", VT(22.5,100000,22.5)) | |
| 1136 | BEAM1.CFrame = CF(End) | |
| 1137 | MakeForm(BEAM1,"Cyl") | |
| 1138 | local BEAM2 = CreatePart(3, Effects, "Glass", 0, 0.3, BRICKC(COLOR), "Effect", VT(10,100000,10)) | |
| 1139 | BEAM2.CFrame = CF(End) | |
| 1140 | MakeForm(BEAM2,"Cyl") | |
| 1141 | for i = 1, 125 do | |
| 1142 | Swait() | |
| 1143 | local CFRAME = CF(End)*CF(MRANDOM(-2,2),0,MRANDOM(-2,2)) | |
| 1144 | fling(End,45,100) | |
| 1145 | killnearest(End,35) | |
| 1146 | BEAM.CFrame = CFRAME | |
| 1147 | BEAM1.CFrame = CFRAME | |
| 1148 | BEAM2.CFrame = CFRAME | |
| 1149 | BEAM.Transparency = BEAM.Transparency + (0.7/125) | |
| 1150 | BEAM1.Transparency = BEAM.Transparency | |
| 1151 | BEAM2.Transparency = BEAM.Transparency | |
| 1152 | end | |
| 1153 | BEAM:remove() | |
| 1154 | BEAM1:remove() | |
| 1155 | BEAM2:remove() | |
| 1156 | - | local BEAM = CreatePart(3, Effects, "Glass", 0, 0.3, BRICKC(COLOR), "Effect", VT(130,100000,130)) |
| 1156 | + | |
| 1157 | end | |
| 1158 | Swait(35) | |
| 1159 | - | local BEAM1 = CreatePart(3, Effects, "Glass", 0, 0.3, BRICKC(COLOR), "Effect", VT(130*0.66,100000,130*0.66)) |
| 1159 | + | |
| 1160 | end | |
| 1161 | end)) | |
| 1162 | - | local BEAM2 = CreatePart(3, Effects, "Glass", 0, 0.3, BRICKC(COLOR), "Effect", VT(130*0.33,100000,130*0.33)) |
| 1162 | + | |
| 1163 | end | |
| 1164 | ATTACK = false | |
| 1165 | Rooted = false | |
| 1166 | end | |
| 1167 | ||
| 1168 | function DepthsRage() | |
| 1169 | ATTACK = true | |
| 1170 | Rooted = true | |
| 1171 | CreateSound("463598785", Effects, 7, 1)
| |
| 1172 | for i=0, 3, 0.1 / Animation_Speed do | |
| 1173 | Swait() | |
| 1174 | CreateRing(VT(0,0,0),false,0,10,CF(Palm1.Position) * ANGLES(RAD(math.random(-360,360)),RAD(math.random(-360,360)),RAD(math.random(-360,360))),COLOR,VT(5,0.2,5)) | |
| 1175 | CreateRing(VT(0,0,0),false,0,10,CF(Palm2.Position) * ANGLES(RAD(math.random(-360,360)),RAD(math.random(-360,360)),RAD(math.random(-360,360))),COLOR,VT(5,0.2,5)) | |
| 1176 | CreateRing(VT(0,0,0),false,0,10,CF(Palm3.Position) * ANGLES(RAD(math.random(-360,360)),RAD(math.random(-360,360)),RAD(math.random(-360,360))),COLOR,VT(5,0.2,5)) | |
| 1177 | CreateRing(VT(0,0,0),false,0,10,CF(Palm4.Position) * ANGLES(RAD(math.random(-360,360)),RAD(math.random(-360,360)),RAD(math.random(-360,360))),COLOR,VT(5,0.2,5)) | |
| 1178 | ArmWeld1.C0 = Clerp(ArmWeld1.C0, CF(0,-10,0) * ANGLES(RAD(0), RAD(0), RAD(-135)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
| 1179 | ArmWeld2.C0 = Clerp(ArmWeld2.C0, CF(0,-10,0) * ANGLES(RAD(0), RAD(0), RAD(135)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
| 1180 | ArmWeld3.C0 = Clerp(ArmWeld3.C0, CF(0,-10,0) * ANGLES(RAD(0), RAD(0), RAD(-45)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
| 1181 | ArmWeld4.C0 = Clerp(ArmWeld4.C0, CF(0,-10,0) * ANGLES(RAD(0), RAD(0), RAD(45)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
| 1182 | end | |
| 1183 | CreatePentagram(185,true,0.2,170,RootPart.CFrame*CF(0,-15,0),VT(0,0,0)) | |
| 1184 | local BEAM = CreatePart(3, Effects, "Neon", 0, 0.3, BRICKC(COLOR), "Effect", VT(130,100000,130)) | |
| 1185 | BEAM.CFrame = CF(RootPart.Position) | |
| 1186 | MakeForm(BEAM,"Cyl") | |
| 1187 | local BEAM1 = CreatePart(3, Effects, "Neon", 0, 0.3, BRICKC(COLOR), "Effect", VT(130*0.66,100000,130*0.66)) | |
| 1188 | BEAM1.CFrame = CF(RootPart.Position) | |
| 1189 | MakeForm(BEAM1,"Cyl") | |
| 1190 | local BEAM2 = CreatePart(3, Effects, "Neon", 0, 0.3, BRICKC(COLOR), "Effect", VT(130*0.33,100000,130*0.33)) | |
| 1191 | BEAM2.CFrame = CF(RootPart.Position) | |
| 1192 | MakeForm(BEAM2,"Cyl") | |
| 1193 | CreateSound("215270668", Effects, 3, 0.8)
| |
| 1194 | for i = 1, 155 do | |
| 1195 | Swait() | |
| 1196 | CreateWave(VT(2,0,2),15,CF(RootPart.Position)*CF(0,-15,0),true,-0.2,COLOR2,VT(5,0.4,5)) | |
| 1197 | CreateWave(VT(2,0,2),15,CF(RootPart.Position)*CF(0,-15,0),true,0.2,COLOR2,VT(5,0.4,5)) | |
| 1198 | local CFRAME = CF(RootPart.Position)*CF(MRANDOM(-2,2),0,MRANDOM(-2,2)) | |
| 1199 | fling(RootPart.Position,80,100) | |
| 1200 | killnearest(RootPart.Position,70) | |
| 1201 | BEAM.CFrame = CFRAME | |
| 1202 | BEAM1.CFrame = CFRAME | |
| 1203 | BEAM2.CFrame = CFRAME | |
| 1204 | BEAM.Transparency = BEAM.Transparency + (0.7/155) | |
| 1205 | BEAM1.Transparency = BEAM.Transparency | |
| 1206 | BEAM2.Transparency = BEAM.Transparency | |
| 1207 | CreateRing(VT(0,0,0),false,0,10,CF(RootPart.Position)*CF(0,-15,0) * ANGLES(RAD(math.random(-360,360)),RAD(math.random(-360,360)),RAD(math.random(-360,360))),COLOR,VT(15,0.2,15)) | |
| 1208 | end | |
| 1209 | BEAM:remove() | |
| 1210 | BEAM1:remove() | |
| 1211 | BEAM2:remove() | |
| 1212 | ATTACK = false | |
| 1213 | Rooted = false | |
| 1214 | end | |
| 1215 | ||
| 1216 | - | local BEAM = CreatePart(3, Effects, "Glass", 0, 0.3, BRICKC(COLOR), "Effect", VT(35,100000,35)) |
| 1216 | + | |
| 1217 | ATTACK = true | |
| 1218 | - | local BEAM1 = CreatePart(3, Effects, "Glass", 0, 0.3, BRICKC(COLOR), "Effect", VT(22.5,100000,22.5)) |
| 1218 | + | |
| 1219 | PoseGoForward() | |
| 1220 | - | local BEAM2 = CreatePart(3, Effects, "Glass", 0, 0.3, BRICKC(COLOR), "Effect", VT(10,100000,10)) |
| 1220 | + | |
| 1221 | MagicSphere(VT(15,15,15),25,Palm2.CFrame,COLOR2,VT(-15,-15,-15)/25) | |
| 1222 | MagicSphere(VT(15,15,15),25,Palm3.CFrame,COLOR2,VT(-15,-15,-15)/25) | |
| 1223 | MagicSphere(VT(15,15,15),25,Palm4.CFrame,COLOR2,VT(-15,-15,-15)/25) | |
| 1224 | for i=0, 2, 0.1 / Animation_Speed do | |
| 1225 | Swait() | |
| 1226 | turnto(Mouse.Hit.p) | |
| 1227 | ArmWeld1.C0 = Clerp(ArmWeld1.C0, CF(0,0,10) * ANGLES(RAD(0), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 1228 | ArmWeld2.C0 = Clerp(ArmWeld2.C0, CF(0,0,10) * ANGLES(RAD(0), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 1229 | ArmWeld3.C0 = Clerp(ArmWeld3.C0, CF(0,0,10) * ANGLES(RAD(0), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 1230 | ArmWeld4.C0 = Clerp(ArmWeld4.C0, CF(0,0,10) * ANGLES(RAD(0), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 1231 | end | |
| 1232 | CreateSound("463598785", Effects, 7, 1)
| |
| 1233 | for i = 1, 65 do | |
| 1234 | Swait() | |
| 1235 | turnto(Mouse.Hit.p) | |
| 1236 | CreateRing(VT(62,13,62),false,0,50,CF(Palm1.Position) * ANGLES(RAD(math.random(-360,360)),RAD(math.random(-360,360)),RAD(math.random(-360,360))),COLOR,VT(-62,-3,-62)/45) | |
| 1237 | end | |
| 1238 | CreateSound("160212892", Effects, 7, 0.8)
| |
| 1239 | for i = 1, 50 do | |
| 1240 | Swait() | |
| 1241 | turnto(Mouse.Hit.p) | |
| 1242 | end | |
| 1243 | Rooted = true | |
| 1244 | local BEAM = CreatePart(3, Effects, "Neon", 0, 0.3, BRICKC(COLOR), "Effect", VT(35,100000,35)) | |
| 1245 | MakeForm(BEAM,"Cyl") | |
| 1246 | local BEAM1 = CreatePart(3, Effects, "Neon", 0, 0.3, BRICKC(COLOR), "Effect", VT(22.5,100000,22.5)) | |
| 1247 | MakeForm(BEAM1,"Cyl") | |
| 1248 | local BEAM2 = CreatePart(3, Effects, "Neon", 0, 0.3, BRICKC(COLOR), "Effect", VT(10,100000,10)) | |
| 1249 | MakeForm(BEAM2,"Cyl") | |
| 1250 | CreateSound("215270668", Effects, 3, 0.5)
| |
| 1251 | for i = 1, 175 do | |
| 1252 | RootPart.CFrame = RootPart.CFrame * CF(0,0,0.1) | |
| 1253 | local a = MRANDOM(-2,2) | |
| 1254 | local b = MRANDOM(-2,2) | |
| 1255 | local c = MRANDOM(-2,2) | |
| 1256 | CreateRing(VT(0,0,0),false,0,10,CF(Palm1.Position) * ANGLES(RAD(math.random(-360,360)),RAD(math.random(-360,360)),RAD(math.random(-360,360))),COLOR,VT(5,0.2,5)) | |
| 1257 | local RayHit, Way = CastProperRay(Palm1.CFrame*CF(0,0,-5)*CF(a,b,c).p,CF(Mouse.Hit.p)*CF(a,b,c).p,2000,Character) | |
| 1258 | turnto(Mouse.Hit.p) | |
| 1259 | local distance = (CF(Palm1.Position)*CF(a,b,c).p - Way).magnitude | |
| 1260 | BEAM.CFrame = CFrame.new(Palm1.CFrame*CF(0,0,-15)*CF(a,b,c).p, Way) * CFrame.new(0, 0, -distance/2) * ANGLES(RAD(90),RAD(0),RAD(0)) | |
| 1261 | BEAM.Size = Vector3.new(35, distance+15, 35) | |
| 1262 | BEAM1.CFrame = CFrame.new(Palm1.CFrame*CF(0,0,-15)*CF(a,b,c).p, Way) * CFrame.new(0, 0, -distance/2) * ANGLES(RAD(90),RAD(0),RAD(0)) | |
| 1263 | BEAM1.Size = Vector3.new(22.5, distance+15, 22.5) | |
| 1264 | BEAM2.CFrame = CFrame.new(Palm1.CFrame*CF(0,0,-15)*CF(a,b,c).p, Way) * CFrame.new(0, 0, -distance/2) * ANGLES(RAD(90),RAD(0),RAD(0)) | |
| 1265 | BEAM2.Size = Vector3.new(10, distance+15, 10) | |
| 1266 | BEAM.Transparency = BEAM.Transparency + (0.7/175) | |
| 1267 | BEAM1.Transparency = BEAM.Transparency | |
| 1268 | BEAM2.Transparency = BEAM.Transparency | |
| 1269 | killnearest(Way,35) | |
| 1270 | - | newball.Material = "Glass" |
| 1270 | + | |
| 1271 | Swait() | |
| 1272 | end | |
| 1273 | BEAM:remove() | |
| 1274 | BEAM1:remove() | |
| 1275 | BEAM2:remove() | |
| 1276 | ATTACK = false | |
| 1277 | Rooted = false | |
| 1278 | end | |
| 1279 | ||
| 1280 | - | A1.Position = Vector3.new(0, 2.5, 0) |
| 1280 | + | |
| 1281 | return a:lerp(b, t) | |
| 1282 | - | A2.Position = Vector3.new(0, -2.5, 0) |
| 1282 | + | |
| 1283 | ||
| 1284 | function newBezier(startpos, pos2, pos3, endpos, t) | |
| 1285 | local A = clerp(startpos, pos2, t) | |
| 1286 | - | Trail.Texture = "rbxassetid://1251856844" |
| 1286 | + | |
| 1287 | local C = clerp(pos3, endpos, t) | |
| 1288 | local lerp1 = clerp(A, B, t) | |
| 1289 | - | Trail.Lifetime = 100 |
| 1289 | + | |
| 1290 | - | Trail.MinLength = 0 |
| 1290 | + | |
| 1291 | return cubic | |
| 1292 | end | |
| 1293 | ||
| 1294 | function SoulSteal(Target,SOUL) | |
| 1295 | local newball = Instance.new("Part", workspace)
| |
| 1296 | newball.Anchored = true | |
| 1297 | newball.Shape = "Ball" | |
| 1298 | newball.Material = "Neon" | |
| 1299 | - | CreateSound("444667844", SOUL, 10, MRANDOM(8,12)/10)
|
| 1299 | + | |
| 1300 | - | SOUL.Size = SOUL.Size + VT(0.3,0.3,0.3) |
| 1300 | + | |
| 1301 | newball.CFrame = CF(Target) | |
| 1302 | newball.BrickColor = BRICKC"Maroon" | |
| 1303 | newball.Transparency = 1 | |
| 1304 | local POS = SOUL.Position | |
| 1305 | local onefourth = Target:Lerp(POS, 0.25) + Vector3.new(math.random(-25, 25), math.random(0, 25), math.random(-25, 25)) | |
| 1306 | local threefourths = Target:Lerp(POS, 0.75) + Vector3.new(math.random(-25, 25), math.random(0, 25), math.random(-25, 25)) | |
| 1307 | local A1 = IT("Attachment",newball)
| |
| 1308 | A1.Position = Vector3.new(0, 1.5, 0) | |
| 1309 | local A2 = IT("Attachment",newball)
| |
| 1310 | A2.Position = Vector3.new(0, -1.5, 0) | |
| 1311 | local Trail = IT("Trail",newball)
| |
| 1312 | Trail.LightEmission = 1 | |
| 1313 | Trail.FaceCamera = true | |
| 1314 | Trail.Texture = "rbxassetid://217971729" | |
| 1315 | - | grav.P = 20000 |
| 1315 | + | |
| 1316 | Trail.Attachment1 = A2 | |
| 1317 | - | grav.position = TORS.Position + VT(0,25,0) |
| 1317 | + | Trail.Lifetime = 20 |
| 1318 | Trail.MinLength = 10 | |
| 1319 | Trail.Transparency = NumberSequence.new(0, 1) | |
| 1320 | - | CreateSound("271550300", TORS, 5, MRANDOM(8,12)/10)
|
| 1320 | + | |
| 1321 | coroutine.resume(coroutine.create(function() | |
| 1322 | for i = 0, 1, 0.07 do | |
| 1323 | Swait() | |
| 1324 | - | local SOULSPHERE = CreatePart(3, Effects, "Glass", 0, 0, BRICKC(COLOR), "Effect", VT(0,0,0)) |
| 1324 | + | |
| 1325 | end | |
| 1326 | newball.Transparency = 1 | |
| 1327 | CreateSound("511715134", SOUL, 10, MRANDOM(8,12)/10)
| |
| 1328 | SOUL.Size = SOUL.Size + VT(0.5,0.5,0.5) | |
| 1329 | game:GetService("Debris"):AddItem(newball, 5)
| |
| 1330 | end)) | |
| 1331 | end | |
| 1332 | ||
| 1333 | function TruePowerOfSin() | |
| 1334 | ATTACK = true | |
| 1335 | Rooted = true | |
| 1336 | PoseAllOut() | |
| 1337 | local q = workspace:GetChildren() | |
| 1338 | for i = 1, #q do | |
| 1339 | if q[i]:FindFirstChildOfClass("Humanoid") and q[i] ~= Character then
| |
| 1340 | local HUMAN = q[i]:FindFirstChildOfClass("Humanoid")
| |
| 1341 | local TORS = q[i]:FindFirstChild("Torso") or q[i]:FindFirstChild("UpperTorso")
| |
| 1342 | local grav = Instance.new("BodyPosition",TORS)
| |
| 1343 | grav.P = 0 | |
| 1344 | grav.maxForce = Vector3.new(math.huge,math.huge,math.huge) | |
| 1345 | grav.position = TORS.Position + VT(0,0,0) | |
| 1346 | grav.Name = "GravityForce" | |
| 1347 | VALUE2 = true | |
| 1348 | CreateSound("138167455", TORS, 5, MRANDOM(8,12)/10)
| |
| 1349 | end | |
| 1350 | end | |
| 1351 | if VALUE2 == true then | |
| 1352 | local SOULSPHERE = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(0,0,0)) | |
| 1353 | SOULSPHERE.CFrame = CF(RootPart.Position+VT(0,75,0)) | |
| 1354 | MakeForm(SOULSPHERE,"Ball") | |
| 1355 | VALUE1 = true | |
| 1356 | Swait(50) | |
| 1357 | for i = 1, 25 do | |
| 1358 | Swait(5) | |
| 1359 | for i = 1, #q do | |
| 1360 | if q[i]:FindFirstChildOfClass("Humanoid") and q[i] ~= Character then
| |
| 1361 | local HUMAN = q[i]:FindFirstChildOfClass("Humanoid")
| |
| 1362 | local TORS = q[i]:FindFirstChild("Torso") or q[i]:FindFirstChild("UpperTorso")
| |
| 1363 | SoulSteal(TORS.Position,SOULSPHERE) | |
| 1364 | local R = q[i]:GetChildren() | |
| 1365 | for o = 1, # R do | |
| 1366 | if R[o].ClassName == "LocalScript" or R[o].ClassName == "Script" then | |
| 1367 | - | CreateSound("463598785", SOULSPHERE, 10, MRANDOM(8,12)/10)
|
| 1367 | + | |
| 1368 | R[o]:remove() | |
| 1369 | R[o]:Destroy() | |
| 1370 | end | |
| 1371 | - | SOULSPHERE.Size = SOULSPHERE.Size * 0.9 |
| 1371 | + | |
| 1372 | Swait() | |
| 1373 | end | |
| 1374 | end | |
| 1375 | end | |
| 1376 | for i = 1, #q do | |
| 1377 | if q[i]:FindFirstChildOfClass("Humanoid") and q[i] ~= Character then
| |
| 1378 | local HUMAN = q[i]:FindFirstChildOfClass("Humanoid")
| |
| 1379 | local TORS = q[i]:FindFirstChild("Torso") or q[i]:FindFirstChild("UpperTorso")
| |
| 1380 | SoulSteal(TORS.Position,SOULSPHERE) | |
| 1381 | if TORS.Parent.Parent ~= nil and TORS ~= nil then | |
| 1382 | TORS.GravityForce:remove() | |
| 1383 | local R = q[i]:GetChildren() | |
| 1384 | for o = 1, #R do | |
| 1385 | if R[o].ClassName == "LocalScript" or R[o].ClassName == "Script" then | |
| 1386 | R[o].Disabled = true | |
| 1387 | R[o]:remove() | |
| 1388 | R[o]:Destroy() | |
| 1389 | end | |
| 1390 | end | |
| 1391 | HUMAN:remove() | |
| 1392 | end | |
| 1393 | end | |
| 1394 | end | |
| 1395 | coroutine.resume(coroutine.create(function() | |
| 1396 | Swait(100) | |
| 1397 | CreateSound("535528169", SOULSPHERE, 10, MRANDOM(8,12)/10)
| |
| 1398 | MagicSphere(SOULSPHERE.Size,30,SOULSPHERE.CFrame,COLOR,SOULSPHERE.Size/60) | |
| 1399 | for i = 1, 50 do | |
| 1400 | Swait() | |
| 1401 | SOULSPHERE.Size = SOULSPHERE.Size * 2 | |
| 1402 | end | |
| 1403 | SOULSPHERE:remove() | |
| 1404 | end)) | |
| 1405 | end | |
| 1406 | VALUE2 = false | |
| 1407 | VALUE1 = false | |
| 1408 | ATTACK = false | |
| 1409 | Rooted = false | |
| 1410 | end | |
| 1411 | ||
| 1412 | --//=================================\\ | |
| 1413 | --|| ASSIGN THINGS TO KEYS | |
| 1414 | --\\=================================// | |
| 1415 | ||
| 1416 | function MouseDown(Mouse) | |
| 1417 | if ATTACK == false then | |
| 1418 | end | |
| 1419 | end | |
| 1420 | ||
| 1421 | function MouseUp(Mouse) | |
| 1422 | HOLD = false | |
| 1423 | end | |
| 1424 | ||
| 1425 | function KeyDown(Key) | |
| 1426 | KEYHOLD = true | |
| 1427 | if Key == "z" and ATTACK == false then | |
| 1428 | ClawForce() | |
| 1429 | end | |
| 1430 | ||
| 1431 | if Key == "b" and ATTACK == false then | |
| 1432 | SinnerWave() | |
| 1433 | end | |
| 1434 | ||
| 1435 | if Key == "c" and ATTACK == false then | |
| 1436 | DepthsRage() | |
| 1437 | end | |
| 1438 | ||
| 1439 | if Key == "v" and ATTACK == false then | |
| 1440 | HellfireSync() | |
| 1441 | end | |
| 1442 | ||
| 1443 | if Key == "x" and ATTACK == false then | |
| 1444 | TruePowerOfSin() | |
| 1445 | end | |
| 1446 | ||
| 1447 | if Key == "t" and ATTACK == false then | |
| 1448 | CreateSound("907328384", Effects, 5, 0.8)
| |
| 1449 | end | |
| 1450 | end | |
| 1451 | ||
| 1452 | function KeyUp(Key) | |
| 1453 | KEYHOLD = false | |
| 1454 | end | |
| 1455 | ||
| 1456 | Mouse.Button1Down:connect(function(NEWKEY) | |
| 1457 | MouseDown(NEWKEY) | |
| 1458 | end) | |
| 1459 | Mouse.Button1Up:connect(function(NEWKEY) | |
| 1460 | MouseUp(NEWKEY) | |
| 1461 | end) | |
| 1462 | Mouse.KeyDown:connect(function(NEWKEY) | |
| 1463 | KeyDown(NEWKEY) | |
| 1464 | end) | |
| 1465 | Mouse.KeyUp:connect(function(NEWKEY) | |
| 1466 | KeyUp(NEWKEY) | |
| 1467 | end) | |
| 1468 | ||
| 1469 | --//=================================\\ | |
| 1470 | --\\=================================// | |
| 1471 | ||
| 1472 | ||
| 1473 | function unanchor() | |
| 1474 | if UNANCHOR == true then | |
| 1475 | g = Character:GetChildren() | |
| 1476 | for i = 1, #g do | |
| 1477 | if g[i].ClassName == "Part" then | |
| 1478 | g[i].Anchored = false | |
| 1479 | end | |
| 1480 | end | |
| 1481 | g = Weapon:GetChildren() | |
| 1482 | for i = 1, #g do | |
| 1483 | if g[i].ClassName == "Part" then | |
| 1484 | g[i].Anchored = false | |
| 1485 | end | |
| 1486 | end | |
| 1487 | end | |
| 1488 | end | |
| 1489 | ||
| 1490 | ||
| 1491 | --//=================================\\ | |
| 1492 | --|| WRAP THE WHOLE SCRIPT UP | |
| 1493 | --\\=================================// | |
| 1494 | ||
| 1495 | Humanoid.Changed:connect(function(Jump) | |
| 1496 | if Jump == "Jump" and (Disable_Jump == true) then | |
| 1497 | Humanoid.Jump = false | |
| 1498 | end | |
| 1499 | end) | |
| 1500 | ||
| 1501 | local FF = IT("ForceField",Character)
| |
| 1502 | FF.Visible = false | |
| 1503 | ||
| 1504 | Humanoid.HipHeight = 15 | |
| 1505 | Speed = 50 | |
| 1506 | ||
| 1507 | while true do | |
| 1508 | Swait() | |
| 1509 | ANIMATE.Parent = nil | |
| 1510 | local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION) | |
| 1511 | IDLEANIMATION:Play() | |
| 1512 | SINE = SINE + CHANGE | |
| 1513 | local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude | |
| 1514 | local TORSOVERTICALVELOCITY = RootPart.Velocity.y | |
| 1515 | local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position) | |
| 1516 | local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character) | |
| 1517 | local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16) | |
| 1518 | if ATTACK == false then | |
| 1519 | ArmWeld1.C0 = Clerp(ArmWeld1.C0, CF(10 + 0.75 * COS(SINE / 52),10 + 0.25 * COS(SINE / 52),0) * ANGLES(RAD(15), RAD(25), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
| 1520 | ArmWeld2.C0 = Clerp(ArmWeld2.C0, CF(-10 - 0.75 * COS(SINE / 52),10 + 0.25 * COS(SINE / 52),0) * ANGLES(RAD(15), RAD(-25), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
| 1521 | ArmWeld3.C0 = Clerp(ArmWeld3.C0, CF(13 + 0.75 * COS(SINE / 52),-2 + 0.25 * COS(SINE / 52),0) * ANGLES(RAD(25), RAD(35), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
| 1522 | ArmWeld4.C0 = Clerp(ArmWeld4.C0, CF(-13 - 0.75 * COS(SINE / 52),-2 + 0.25 * COS(SINE / 52),0) * ANGLES(RAD(25), RAD(-35), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
| 1523 | end | |
| 1524 | if TORSOVELOCITY < 1 then | |
| 1525 | ANIM = "Idle" | |
| 1526 | if ATTACK == false then | |
| 1527 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
| 1528 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
| 1529 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed) | |
| 1530 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed) | |
| 1531 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5 - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
| 1532 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
| 1533 | end | |
| 1534 | elseif TORSOVELOCITY > 1 then | |
| 1535 | ANIM = "Walk" | |
| 1536 | WALK = WALK + 1 / Animation_Speed | |
| 1537 | if WALK >= 15 - (5 * (Humanoid.WalkSpeed / 16 / Player_Size)) then | |
| 1538 | WALK = 0 | |
| 1539 | if WALKINGANIM == true then | |
| 1540 | WALKINGANIM = false | |
| 1541 | elseif WALKINGANIM == false then | |
| 1542 | WALKINGANIM = true | |
| 1543 | end | |
| 1544 | end | |
| 1545 | --RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed) | |
| 1546 | --LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed) | |
| 1547 | if ATTACK == false then | |
| 1548 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(35), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
| 1549 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-35 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
| 1550 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed) | |
| 1551 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed) | |
| 1552 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5 - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
| 1553 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
| 1554 | end | |
| 1555 | end | |
| 1556 | sick.Parent = Character | |
| 1557 | unanchor() | |
| 1558 | Humanoid.MaxHealth = "inf" | |
| 1559 | Humanoid.Health = "inf" | |
| 1560 | if Rooted == false then | |
| 1561 | Disable_Jump = false | |
| 1562 | Humanoid.WalkSpeed = Speed | |
| 1563 | elseif Rooted == true then | |
| 1564 | Disable_Jump = true | |
| 1565 | Humanoid.WalkSpeed = 0 | |
| 1566 | end | |
| 1567 | if Head:FindFirstChild("face") then
| |
| 1568 | Head.face:remove() | |
| 1569 | end | |
| 1570 | if VALUE1 == true then | |
| 1571 | MagicBlock(2,30,Palm1.CFrame,COLOR,VT(-0.01,-0.01,-0.01)) | |
| 1572 | MagicBlock(2,30,Palm2.CFrame,COLOR,VT(-0.01,-0.01,-0.01)) | |
| 1573 | MagicBlock(2,30,Palm3.CFrame,COLOR,VT(-0.01,-0.01,-0.01)) | |
| 1574 | MagicBlock(2,30,Palm4.CFrame,COLOR,VT(-0.01,-0.01,-0.01)) | |
| 1575 | ArmWeld1.C0 = Clerp(ArmWeld1.C0, CF(0,0,15) * ANGLES(RAD(0), RAD(135+(SINE*5)), RAD(0)), 2 / Animation_Speed) | |
| 1576 | ArmWeld2.C0 = Clerp(ArmWeld2.C0, CF(0,0,15) * ANGLES(RAD(0), RAD(-135+(SINE*5)), RAD(0)), 2 / Animation_Speed) | |
| 1577 | ArmWeld3.C0 = Clerp(ArmWeld3.C0, CF(0,0,15) * ANGLES(RAD(0), RAD(45+(SINE*5)), RAD(0)), 2 / Animation_Speed) | |
| 1578 | ArmWeld4.C0 = Clerp(ArmWeld4.C0, CF(0,0,15) * ANGLES(RAD(0), RAD(-45+(SINE*5)), RAD(0)), 2 / Animation_Speed) | |
| 1579 | end | |
| 1580 | q = Character:GetChildren() | |
| 1581 | for u = 1, #q do | |
| 1582 | if q[u].ClassName == "Accessory" or q[u].ClassName == "Hat" then | |
| 1583 | q[u]:remove() | |
| 1584 | elseif q[u].ClassName == "Shirt" then | |
| 1585 | q[u]:Destroy() | |
| 1586 | elseif q[u].ClassName == "Pants" then | |
| 1587 | q[u]:Destroy() | |
| 1588 | elseif q[u].ClassName == "CharacterMesh" then | |
| 1589 | q[u]:remove() | |
| 1590 | elseif q[u].ClassName == "ShirtGraphic" then | |
| 1591 | q[u]:remove() | |
| 1592 | elseif q[u].ClassName == "Part" and q[u].Name ~= "HumanoidRootPart" then | |
| 1593 | q[u].Color = Color3.new(0/255, 0/255, 0/255) | |
| 1594 | end | |
| 1595 | end | |
| 1596 | end | |
| 1597 | ||
| 1598 | --//=================================\\ | |
| 1599 | --\\=================================// | |
| 1600 | ||
| 1601 | ||
| 1602 | ||
| 1603 | ||
| 1604 | ||
| 1605 | --//====================================================\\-- | |
| 1606 | --|| END OF SCRIPT | |
| 1607 | --\\=============================================== |