SHOW:
|
|
- or go back to the newest paste.
| 1 | -- This script has been converted to FE by iPxter | |
| 2 | ||
| 3 | ||
| 4 | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
| |
| 5 | local Player,Mouse,mouse,UserInputService,ContextActionService = owner | |
| 6 | do | |
| 7 | print("FE Compatibility code by Mokiros | Translated to FE by iPxter")
| |
| 8 | script.Parent = Player.Character | |
| 9 | ||
| 10 | --RemoteEvent for communicating | |
| 11 | local Event = Instance.new("RemoteEvent")
| |
| 12 | Event.Name = "UserInput_Event" | |
| 13 | ||
| 14 | --Fake event to make stuff like Mouse.KeyDown work | |
| 15 | local function fakeEvent() | |
| 16 | local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
| |
| 17 | t.connect = t.Connect | |
| 18 | return t | |
| 19 | end | |
| 20 | ||
| 21 | --Creating fake input objects with fake variables | |
| 22 | local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
| |
| 23 | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
| |
| 24 | local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
| |
| 25 | CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
| |
| 26 | end} | |
| 27 | --Merged 2 functions into one by checking amount of arguments | |
| 28 | CAS.UnbindAction = CAS.BindAction | |
| 29 | ||
| 30 | --This function will trigger the events that have been :Connect()'ed | |
| 31 | local function te(self,ev,...) | |
| 32 | local t = m[ev] | |
| 33 | if t and t._fakeEvent and t.Function then | |
| 34 | t.Function(...) | |
| 35 | end | |
| 36 | end | |
| 37 | m.TrigEvent = te | |
| 38 | UIS.TrigEvent = te | |
| 39 | ||
| 40 | Event.OnServerEvent:Connect(function(plr,io) | |
| 41 | if plr~=Player then return end | |
| 42 | if io.isMouse then | |
| 43 | m.Target = io.Target | |
| 44 | m.Hit = io.Hit | |
| 45 | else | |
| 46 | local b = io.UserInputState == Enum.UserInputState.Begin | |
| 47 | if io.UserInputType == Enum.UserInputType.MouseButton1 then | |
| 48 | return m:TrigEvent(b and "Button1Down" or "Button1Up") | |
| 49 | end | |
| 50 | for _,t in pairs(CAS.Actions) do | |
| 51 | for _,k in pairs(t.Keys) do | |
| 52 | if k==io.KeyCode then | |
| 53 | t.Function(t.Name,io.UserInputState,io) | |
| 54 | end | |
| 55 | end | |
| 56 | end | |
| 57 | m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower()) | |
| 58 | UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false) | |
| 59 | end | |
| 60 | end) | |
| 61 | Event.Parent = NLS([==[ | |
| 62 | local Player = game:GetService("Players").LocalPlayer
| |
| 63 | local Event = script:WaitForChild("UserInput_Event")
| |
| 64 | ||
| 65 | local UIS = game:GetService("UserInputService")
| |
| 66 | local input = function(io,a) | |
| 67 | if a then return end | |
| 68 | --Since InputObject is a client-side instance, we create and pass table instead | |
| 69 | Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
| |
| 70 | end | |
| 71 | UIS.InputBegan:Connect(input) | |
| 72 | UIS.InputEnded:Connect(input) | |
| 73 | ||
| 74 | local Mouse = Player:GetMouse() | |
| 75 | local h,t | |
| 76 | --Give the server mouse data 30 times every second, but only if the values changed | |
| 77 | --If player is not moving their mouse, client won't fire events | |
| 78 | while wait(1/30) do | |
| 79 | if h~=Mouse.Hit or t~=Mouse.Target then | |
| 80 | h,t=Mouse.Hit,Mouse.Target | |
| 81 | Event:FireServer({isMouse=true,Target=t,Hit=h})
| |
| 82 | end | |
| 83 | end]==],Player.Character) | |
| 84 | Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS | |
| 85 | end | |
| 86 | ||
| 87 | ----------------------- | |
| 88 | --XEvent Chara-- | |
| 89 | ----------------------- | |
| 90 | ------------------------------------------------------- | |
| 91 | --A script By makhail07 and KillerDarkness0105 | |
| 92 | --Effect Smoothing By OblivionCreature | |
| 93 | --Discords Creterisk#2958, Codex#6685, and [L]ewd#2941 | |
| 94 | ------------------------------------------------------- | |
| 95 | ||
| 96 | local FavIDs = {340106355,927529620,876981900,398987889,1117396305}
| |
| 97 | ||
| 98 | function swait(num) | |
| 99 | if num==0 or num==nil then | |
| 100 | game:service'RunService'.Stepped:wait(0) | |
| 101 | else | |
| 102 | for i=0,num do | |
| 103 | game:service'RunService'.Stepped:wait(0) | |
| 104 | end | |
| 105 | end | |
| 106 | end | |
| 107 | function thread(f) | |
| 108 | coroutine.resume(coroutine.create(f)) | |
| 109 | end | |
| 110 | ||
| 111 | --Needed to add this for a good reason, thank me later mak. | |
| 112 | so = function(id,par,vol,pit) | |
| 113 | coroutine.resume(coroutine.create(function() | |
| 114 | local sou = Instance.new("Sound",par or workspace)
| |
| 115 | sou.Volume=vol | |
| 116 | sou.Pitch=pit or 1 | |
| 117 | sou.SoundId=id | |
| 118 | swait() | |
| 119 | sou:play() | |
| 120 | game:GetService("Debris"):AddItem(sou,8)
| |
| 121 | end)) | |
| 122 | end | |
| 123 | ||
| 124 | ||
| 125 | function clerp(a, b, t) | |
| 126 | local qa = {
| |
| 127 | QuaternionFromCFrame(a) | |
| 128 | } | |
| 129 | local qb = {
| |
| 130 | QuaternionFromCFrame(b) | |
| 131 | } | |
| 132 | local ax, ay, az = a.x, a.y, a.z | |
| 133 | local bx, by, bz = b.x, b.y, b.z | |
| 134 | local _t = 1 - t | |
| 135 | return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t)) | |
| 136 | end | |
| 137 | function QuaternionFromCFrame(cf) | |
| 138 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
| 139 | local trace = m00 + m11 + m22 | |
| 140 | if trace > 0 then | |
| 141 | local s = math.sqrt(1 + trace) | |
| 142 | local recip = 0.5 / s | |
| 143 | return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5 | |
| 144 | else | |
| 145 | local i = 0 | |
| 146 | if m00 < m11 then | |
| 147 | i = 1 | |
| 148 | end | |
| 149 | if m22 > (i == 0 and m00 or m11) then | |
| 150 | i = 2 | |
| 151 | end | |
| 152 | if i == 0 then | |
| 153 | local s = math.sqrt(m00 - m11 - m22 + 1) | |
| 154 | local recip = 0.5 / s | |
| 155 | return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip | |
| 156 | elseif i == 1 then | |
| 157 | local s = math.sqrt(m11 - m22 - m00 + 1) | |
| 158 | local recip = 0.5 / s | |
| 159 | return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip | |
| 160 | elseif i == 2 then | |
| 161 | local s = math.sqrt(m22 - m00 - m11 + 1) | |
| 162 | local recip = 0.5 / s | |
| 163 | return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip | |
| 164 | end | |
| 165 | end | |
| 166 | end | |
| 167 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
| 168 | local xs, ys, zs = x + x, y + y, z + z | |
| 169 | local wx, wy, wz = w * xs, w * ys, w * zs | |
| 170 | local xx = x * xs | |
| 171 | local xy = x * ys | |
| 172 | local xz = x * zs | |
| 173 | local yy = y * ys | |
| 174 | local yz = y * zs | |
| 175 | local zz = z * zs | |
| 176 | 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)) | |
| 177 | end | |
| 178 | function QuaternionSlerp(a, b, t) | |
| 179 | local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4] | |
| 180 | local startInterp, finishInterp | |
| 181 | if cosTheta >= 1.0E-4 then | |
| 182 | if 1 - cosTheta > 1.0E-4 then | |
| 183 | local theta = math.acos(cosTheta) | |
| 184 | local invSinTheta = 1 / math.sin(theta) | |
| 185 | startInterp = math.sin((1 - t) * theta) * invSinTheta | |
| 186 | finishInterp = math.sin(t * theta) * invSinTheta | |
| 187 | else | |
| 188 | startInterp = 1 - t | |
| 189 | finishInterp = t | |
| 190 | end | |
| 191 | elseif 1 + cosTheta > 1.0E-4 then | |
| 192 | local theta = math.acos(-cosTheta) | |
| 193 | local invSinTheta = 1 / math.sin(theta) | |
| 194 | startInterp = math.sin((t - 1) * theta) * invSinTheta | |
| 195 | finishInterp = math.sin(t * theta) * invSinTheta | |
| 196 | else | |
| 197 | startInterp = t - 1 | |
| 198 | finishInterp = t | |
| 199 | end | |
| 200 | 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 | |
| 201 | end | |
| 202 | function rayCast(Position, Direction, Range, Ignore) | |
| 203 | return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
| |
| 204 | end | |
| 205 | --Wait what okay | |
| 206 | wait() | |
| 207 | - | local plr = game:service'Players'.gahietr22824 |
| 207 | + | local plr = owner |
| 208 | local char = plr.Character | |
| 209 | local hum = char.Humanoid | |
| 210 | local ra = char["Right Arm"] | |
| 211 | local la= char["Left Arm"] | |
| 212 | local rl= char["Right Leg"] | |
| 213 | local ll = char["Left Leg"] | |
| 214 | local hed = char.Head | |
| 215 | local root = char.HumanoidRootPart | |
| 216 | local rootj = root.RootJoint | |
| 217 | local tors = char.Torso | |
| 218 | local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14) | |
| 219 | local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0) | |
| 220 | local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0) | |
| 221 | local maincolor = BrickColor.new("Dark indigo")
| |
| 222 | cf = CFrame.new | |
| 223 | angles = CFrame.Angles | |
| 224 | attack = false | |
| 225 | euler=CFrame.fromEulerAnglesXYZ | |
| 226 | equipped = false | |
| 227 | necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
| 228 | RSH, LSH = nil, nil | |
| 229 | RW = Instance.new("Weld")
| |
| 230 | LW = Instance.new("Weld")
| |
| 231 | RH = tors["Right Hip"] | |
| 232 | LH = tors["Left Hip"] | |
| 233 | RSH = tors["Right Shoulder"] | |
| 234 | LSH = tors["Left Shoulder"] | |
| 235 | RSH.Parent = nil | |
| 236 | LSH.Parent = nil | |
| 237 | RW.Name = "RW" | |
| 238 | RW.Part0 = tors | |
| 239 | RW.C0 = CFrame.new(1.5, 0.5, 0) | |
| 240 | RW.C1 = CFrame.new(0, 0.5, 0) | |
| 241 | RW.Part1 = ra | |
| 242 | RW.Parent = tors | |
| 243 | LW.Name = "LW" | |
| 244 | LW.Part0 = tors | |
| 245 | LW.C0 = CFrame.new(-1.5, 0.5, 0) | |
| 246 | LW.C1 = CFrame.new(0, 0.5, 0) | |
| 247 | LW.Part1 = la | |
| 248 | LW.Parent = tors | |
| 249 | print('User is '..plr.Name)
| |
| 250 | Effects = {}
| |
| 251 | ||
| 252 | ArtificialHB = Instance.new("BindableEvent", script)
| |
| 253 | ArtificialHB.Name = "Heartbeat" | |
| 254 | ||
| 255 | script:WaitForChild("Heartbeat")
| |
| 256 | ||
| 257 | frame = 1 / 60 | |
| 258 | tf = 0 | |
| 259 | allowframeloss = false | |
| 260 | tossremainder = false | |
| 261 | lastframe = tick() | |
| 262 | script.Heartbeat:Fire() | |
| 263 | ||
| 264 | game:GetService("RunService").Heartbeat:connect(function(s, p)
| |
| 265 | tf = tf + s | |
| 266 | if tf >= frame then | |
| 267 | if allowframeloss then | |
| 268 | script.Heartbeat:Fire() | |
| 269 | lastframe = tick() | |
| 270 | else | |
| 271 | for i = 1, math.floor(tf / frame) do | |
| 272 | script.Heartbeat:Fire() | |
| 273 | end | |
| 274 | lastframe = tick() | |
| 275 | end | |
| 276 | if tossremainder then | |
| 277 | tf = 0 | |
| 278 | else | |
| 279 | tf = tf - frame * math.floor(tf / frame) | |
| 280 | end | |
| 281 | end | |
| 282 | end) | |
| 283 | local RbxUtility = LoadLibrary("RbxUtility")
| |
| 284 | local Create = RbxUtility.Create | |
| 285 | ||
| 286 | function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch) | |
| 287 | if hit.Parent == nil then | |
| 288 | return | |
| 289 | end | |
| 290 | local h = hit.Parent:FindFirstChildOfClass("Humanoid")
| |
| 291 | for _, v in pairs(hit.Parent:children()) do | |
| 292 | if v:IsA("Humanoid") then
| |
| 293 | h = v | |
| 294 | end | |
| 295 | end | |
| 296 | if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
| |
| 297 | warn'No R15 allowed' | |
| 298 | hit.Parent:FindFirstChild("Head"):BreakJoints()
| |
| 299 | end | |
| 300 | ||
| 301 | if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
| |
| 302 | if hit.Parent:findFirstChild("DebounceHit") ~= nil then
| |
| 303 | if hit.Parent.DebounceHit.Value == true then | |
| 304 | return | |
| 305 | end | |
| 306 | end | |
| 307 | if insta == true then | |
| 308 | hit.Parent:FindFirstChild("Head"):BreakJoints()
| |
| 309 | end | |
| 310 | local c = Create("ObjectValue"){
| |
| 311 | Name = "creator", | |
| 312 | - | Value = game:service("Players").gahietr22824,
|
| 312 | + | Value = owner, |
| 313 | Parent = h, | |
| 314 | } | |
| 315 | game:GetService("Debris"):AddItem(c, .5)
| |
| 316 | if HitSound ~= nil and HitPitch ~= nil then | |
| 317 | CFuncs.Sound.Create(HitSound, hit, 1, HitPitch) | |
| 318 | end | |
| 319 | local Damage = math.random(minim, maxim) | |
| 320 | local blocked = false | |
| 321 | local block = hit.Parent:findFirstChild("Block")
| |
| 322 | if block ~= nil then | |
| 323 | if block.className == "IntValue" then | |
| 324 | if block.Value > 0 then | |
| 325 | blocked = true | |
| 326 | block.Value = block.Value - 1 | |
| 327 | print(block.Value) | |
| 328 | end | |
| 329 | end | |
| 330 | end | |
| 331 | if blocked == false then | |
| 332 | h.Health = h.Health - Damage | |
| 333 | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color) | |
| 334 | else | |
| 335 | h.Health = h.Health - (Damage / 2) | |
| 336 | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color) | |
| 337 | end | |
| 338 | if Type == "Knockdown" then | |
| 339 | local hum = hit.Parent.Humanoid | |
| 340 | hum.PlatformStand = true | |
| 341 | coroutine.resume(coroutine.create(function(HHumanoid) | |
| 342 | swait(1) | |
| 343 | HHumanoid.PlatformStand = false | |
| 344 | end), hum) | |
| 345 | local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit | |
| 346 | local bodvol = Create("BodyVelocity"){
| |
| 347 | velocity = angle * knockback, | |
| 348 | P = 5000, | |
| 349 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
| 350 | Parent = hit, | |
| 351 | } | |
| 352 | local rl = Create("BodyAngularVelocity"){
| |
| 353 | P = 3000, | |
| 354 | maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, | |
| 355 | angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), | |
| 356 | Parent = hit, | |
| 357 | } | |
| 358 | game:GetService("Debris"):AddItem(bodvol, .5)
| |
| 359 | game:GetService("Debris"):AddItem(rl, .5)
| |
| 360 | elseif Type == "Normal" then | |
| 361 | local vp = Create("BodyVelocity"){
| |
| 362 | P = 500, | |
| 363 | maxForce = Vector3.new(math.huge, 0, math.huge), | |
| 364 | velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05, | |
| 365 | } | |
| 366 | if knockback > 0 then | |
| 367 | vp.Parent = hit.Parent.Torso | |
| 368 | end | |
| 369 | game:GetService("Debris"):AddItem(vp, .5)
| |
| 370 | elseif Type == "Up" then | |
| 371 | local bodyVelocity = Create("BodyVelocity"){
| |
| 372 | velocity = Vector3.new(0, 20, 0), | |
| 373 | P = 5000, | |
| 374 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
| 375 | Parent = hit, | |
| 376 | } | |
| 377 | game:GetService("Debris"):AddItem(bodyVelocity, .5)
| |
| 378 | elseif Type == "DarkUp" then | |
| 379 | coroutine.resume(coroutine.create(function() | |
| 380 | for i = 0, 1, 0.1 do | |
| 381 | swait() | |
| 382 | Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
| |
| 383 | end | |
| 384 | end)) | |
| 385 | local bodyVelocity = Create("BodyVelocity"){
| |
| 386 | velocity = Vector3.new(0, 20, 0), | |
| 387 | P = 5000, | |
| 388 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
| 389 | Parent = hit, | |
| 390 | } | |
| 391 | game:GetService("Debris"):AddItem(bodyVelocity, 1)
| |
| 392 | elseif Type == "Snare" then | |
| 393 | local bp = Create("BodyPosition"){
| |
| 394 | P = 2000, | |
| 395 | D = 100, | |
| 396 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
| 397 | position = hit.Parent.Torso.Position, | |
| 398 | Parent = hit.Parent.Torso, | |
| 399 | } | |
| 400 | game:GetService("Debris"):AddItem(bp, 1)
| |
| 401 | elseif Type == "Freeze" then | |
| 402 | local BodPos = Create("BodyPosition"){
| |
| 403 | P = 50000, | |
| 404 | D = 1000, | |
| 405 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
| 406 | position = hit.Parent.Torso.Position, | |
| 407 | Parent = hit.Parent.Torso, | |
| 408 | } | |
| 409 | local BodGy = Create("BodyGyro") {
| |
| 410 | maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge , | |
| 411 | P = 20e+003, | |
| 412 | Parent = hit.Parent.Torso, | |
| 413 | cframe = hit.Parent.Torso.CFrame, | |
| 414 | } | |
| 415 | hit.Parent.Torso.Anchored = true | |
| 416 | coroutine.resume(coroutine.create(function(Part) | |
| 417 | swait(1.5) | |
| 418 | Part.Anchored = false | |
| 419 | end), hit.Parent.Torso) | |
| 420 | game:GetService("Debris"):AddItem(BodPos, 3)
| |
| 421 | game:GetService("Debris"):AddItem(BodGy, 3)
| |
| 422 | end | |
| 423 | local debounce = Create("BoolValue"){
| |
| 424 | Name = "DebounceHit", | |
| 425 | Parent = hit.Parent, | |
| 426 | Value = true, | |
| 427 | } | |
| 428 | game:GetService("Debris"):AddItem(debounce, Delay)
| |
| 429 | c = Create("ObjectValue"){
| |
| 430 | Name = "creator", | |
| 431 | Value = Player, | |
| 432 | Parent = h, | |
| 433 | } | |
| 434 | game:GetService("Debris"):AddItem(c, .5)
| |
| 435 | end | |
| 436 | end | |
| 437 | ||
| 438 | function ShowDamage(Pos, Text, Time, Color) | |
| 439 | local Rate = (1 / 30) | |
| 440 | local Pos = (Pos or Vector3.new(0, 0, 0)) | |
| 441 | local Text = (Text or "") | |
| 442 | local Time = (Time or 2) | |
| 443 | local Color = (Color or Color3.new(1, 0, 1)) | |
| 444 | local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0)) | |
| 445 | EffectPart.Anchored = true | |
| 446 | local BillboardGui = Create("BillboardGui"){
| |
| 447 | Size = UDim2.new(3, 0, 3, 0), | |
| 448 | Adornee = EffectPart, | |
| 449 | Parent = EffectPart, | |
| 450 | } | |
| 451 | local TextLabel = Create("TextLabel"){
| |
| 452 | BackgroundTransparency = 1, | |
| 453 | Size = UDim2.new(1, 0, 1, 0), | |
| 454 | Text = Text, | |
| 455 | Font = "Highway", | |
| 456 | TextColor3 = Color, | |
| 457 | TextScaled = true, | |
| 458 | Parent = BillboardGui, | |
| 459 | } | |
| 460 | game.Debris:AddItem(EffectPart, (Time)) | |
| 461 | EffectPart.Parent = game:GetService("Workspace")
| |
| 462 | delay(0, function() | |
| 463 | local Frames = (Time / Rate) | |
| 464 | for Frame = 1, Frames do | |
| 465 | wait(Rate) | |
| 466 | local Percent = (Frame / Frames) | |
| 467 | EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0) | |
| 468 | TextLabel.TextTransparency = Percent | |
| 469 | end | |
| 470 | if EffectPart and EffectPart.Parent then | |
| 471 | EffectPart:Destroy() | |
| 472 | end | |
| 473 | end) | |
| 474 | end | |
| 475 | function MagniDamage(Part, magni, mindam, maxdam, knock, Type) | |
| 476 | for _, c in pairs(workspace:children()) do | |
| 477 | local hum = c:findFirstChild("Humanoid")
| |
| 478 | if hum ~= nil then | |
| 479 | local head = c:findFirstChild("Head")
| |
| 480 | if head ~= nil then | |
| 481 | local targ = head.Position - Part.Position | |
| 482 | local mag = targ.magnitude | |
| 483 | if magni >= mag and c.Name ~= plr.Name then | |
| 484 | Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=623904185", 5.2) | |
| 485 | end | |
| 486 | end | |
| 487 | end | |
| 488 | end | |
| 489 | end | |
| 490 | function MagniKILL(Part, magni, knock, Type) | |
| 491 | for _, c in pairs(workspace:children()) do | |
| 492 | local hum = c:findFirstChild("Humanoid")
| |
| 493 | if hum ~= nil then | |
| 494 | local head = c:findFirstChild("Head")
| |
| 495 | if head ~= nil then | |
| 496 | local targ = head.Position - Part.Position | |
| 497 | local mag = targ.magnitude | |
| 498 | if magni >= mag and c.Name ~= plr.Name then | |
| 499 | hum.Health = 0 | |
| 500 | end | |
| 501 | end | |
| 502 | end | |
| 503 | end | |
| 504 | end | |
| 505 | CFuncs = {
| |
| 506 | Part = {
| |
| 507 | Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
| 508 | local Part = Create("Part")({
| |
| 509 | Parent = Parent, | |
| 510 | Reflectance = Reflectance, | |
| 511 | Transparency = Transparency, | |
| 512 | CanCollide = false, | |
| 513 | Locked = true, | |
| 514 | BrickColor = BrickColor.new(tostring(BColor)), | |
| 515 | Name = Name, | |
| 516 | Size = Size, | |
| 517 | Material = Material | |
| 518 | }) | |
| 519 | RemoveOutlines(Part) | |
| 520 | return Part | |
| 521 | end | |
| 522 | }, | |
| 523 | Mesh = {
| |
| 524 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
| 525 | local Msh = Create(Mesh)({
| |
| 526 | Parent = Part, | |
| 527 | Offset = OffSet, | |
| 528 | Scale = Scale | |
| 529 | }) | |
| 530 | if Mesh == "SpecialMesh" then | |
| 531 | Msh.MeshType = MeshType | |
| 532 | Msh.MeshId = MeshId | |
| 533 | end | |
| 534 | return Msh | |
| 535 | end | |
| 536 | }, | |
| 537 | Mesh = {
| |
| 538 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
| 539 | local Msh = Create(Mesh)({
| |
| 540 | Parent = Part, | |
| 541 | Offset = OffSet, | |
| 542 | Scale = Scale | |
| 543 | }) | |
| 544 | if Mesh == "SpecialMesh" then | |
| 545 | Msh.MeshType = MeshType | |
| 546 | Msh.MeshId = MeshId | |
| 547 | end | |
| 548 | return Msh | |
| 549 | end | |
| 550 | }, | |
| 551 | Weld = {
| |
| 552 | Create = function(Parent, Part0, Part1, C0, C1) | |
| 553 | local Weld = Create("Weld")({
| |
| 554 | Parent = Parent, | |
| 555 | Part0 = Part0, | |
| 556 | Part1 = Part1, | |
| 557 | C0 = C0, | |
| 558 | C1 = C1 | |
| 559 | }) | |
| 560 | return Weld | |
| 561 | end | |
| 562 | }, | |
| 563 | Sound = {
| |
| 564 | Create = function(id, par, vol, pit) | |
| 565 | coroutine.resume(coroutine.create(function() | |
| 566 | local S = Create("Sound")({
| |
| 567 | Volume = vol, | |
| 568 | Pitch = pit or 1, | |
| 569 | SoundId = id, | |
| 570 | Parent = par or workspace | |
| 571 | }) | |
| 572 | wait() | |
| 573 | S:play() | |
| 574 | game:GetService("Debris"):AddItem(S, 6)
| |
| 575 | end)) | |
| 576 | end | |
| 577 | }, | |
| 578 | ParticleEmitter = {
| |
| 579 | Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread) | |
| 580 | local fp = Create("ParticleEmitter")({
| |
| 581 | Parent = Parent, | |
| 582 | Color = ColorSequence.new(Color1, Color2), | |
| 583 | LightEmission = LightEmission, | |
| 584 | Size = Size, | |
| 585 | Texture = Texture, | |
| 586 | Transparency = Transparency, | |
| 587 | ZOffset = ZOffset, | |
| 588 | Acceleration = Accel, | |
| 589 | Drag = Drag, | |
| 590 | LockedToPart = LockedToPart, | |
| 591 | VelocityInheritance = VelocityInheritance, | |
| 592 | EmissionDirection = EmissionDirection, | |
| 593 | Enabled = Enabled, | |
| 594 | Lifetime = LifeTime, | |
| 595 | Rate = Rate, | |
| 596 | Rotation = Rotation, | |
| 597 | RotSpeed = RotSpeed, | |
| 598 | Speed = Speed, | |
| 599 | VelocitySpread = VelocitySpread | |
| 600 | }) | |
| 601 | return fp | |
| 602 | end | |
| 603 | } | |
| 604 | } | |
| 605 | function RemoveOutlines(part) | |
| 606 | part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 | |
| 607 | end | |
| 608 | function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
| 609 | local Part = Create("Part")({
| |
| 610 | formFactor = FormFactor, | |
| 611 | Parent = Parent, | |
| 612 | Reflectance = Reflectance, | |
| 613 | Transparency = Transparency, | |
| 614 | CanCollide = false, | |
| 615 | Locked = true, | |
| 616 | BrickColor = BrickColor.new(tostring(BColor)), | |
| 617 | Name = Name, | |
| 618 | Size = Size, | |
| 619 | Material = Material | |
| 620 | }) | |
| 621 | RemoveOutlines(Part) | |
| 622 | return Part | |
| 623 | end | |
| 624 | function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
| 625 | local Msh = Create(Mesh)({
| |
| 626 | Parent = Part, | |
| 627 | Offset = OffSet, | |
| 628 | Scale = Scale | |
| 629 | }) | |
| 630 | if Mesh == "SpecialMesh" then | |
| 631 | Msh.MeshType = MeshType | |
| 632 | Msh.MeshId = MeshId | |
| 633 | end | |
| 634 | return Msh | |
| 635 | end | |
| 636 | function CreateWeld(Parent, Part0, Part1, C0, C1) | |
| 637 | local Weld = Create("Weld")({
| |
| 638 | Parent = Parent, | |
| 639 | Part0 = Part0, | |
| 640 | Part1 = Part1, | |
| 641 | C0 = C0, | |
| 642 | C1 = C1 | |
| 643 | }) | |
| 644 | return Weld | |
| 645 | end | |
| 646 | EffectModel = Instance.new("Model", char)
| |
| 647 | Effects = {
| |
| 648 | Block = {
| |
| 649 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type) | |
| 650 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 651 | prt.Anchored = true | |
| 652 | prt.CFrame = cframe | |
| 653 | local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 654 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 655 | if Type == 1 or Type == nil then | |
| 656 | table.insert(Effects, {
| |
| 657 | prt, | |
| 658 | "Block1", | |
| 659 | delay, | |
| 660 | x3, | |
| 661 | y3, | |
| 662 | z3, | |
| 663 | msh | |
| 664 | }) | |
| 665 | elseif Type == 2 then | |
| 666 | table.insert(Effects, {
| |
| 667 | prt, | |
| 668 | "Block2", | |
| 669 | delay, | |
| 670 | x3, | |
| 671 | y3, | |
| 672 | z3, | |
| 673 | msh | |
| 674 | }) | |
| 675 | else | |
| 676 | table.insert(Effects, {
| |
| 677 | prt, | |
| 678 | "Block3", | |
| 679 | delay, | |
| 680 | x3, | |
| 681 | y3, | |
| 682 | z3, | |
| 683 | msh | |
| 684 | }) | |
| 685 | end | |
| 686 | end | |
| 687 | }, | |
| 688 | Sphere = {
| |
| 689 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 690 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 691 | prt.Anchored = true | |
| 692 | prt.CFrame = cframe | |
| 693 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 694 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 695 | table.insert(Effects, {
| |
| 696 | prt, | |
| 697 | "Cylinder", | |
| 698 | delay, | |
| 699 | x3, | |
| 700 | y3, | |
| 701 | z3, | |
| 702 | msh | |
| 703 | }) | |
| 704 | end | |
| 705 | }, | |
| 706 | Cylinder = {
| |
| 707 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 708 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 709 | prt.Anchored = true | |
| 710 | prt.CFrame = cframe | |
| 711 | local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 712 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 713 | table.insert(Effects, {
| |
| 714 | prt, | |
| 715 | "Cylinder", | |
| 716 | delay, | |
| 717 | x3, | |
| 718 | y3, | |
| 719 | z3, | |
| 720 | msh | |
| 721 | }) | |
| 722 | end | |
| 723 | }, | |
| 724 | Wave = {
| |
| 725 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 726 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 727 | prt.Anchored = true | |
| 728 | prt.CFrame = cframe | |
| 729 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://431164262", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
| |
| 730 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 731 | table.insert(Effects, {
| |
| 732 | prt, | |
| 733 | "Cylinder", | |
| 734 | delay, | |
| 735 | x3 / 60, | |
| 736 | y3 / 60, | |
| 737 | z3 / 60, | |
| 738 | msh | |
| 739 | }) | |
| 740 | end | |
| 741 | }, | |
| 742 | Ring = {
| |
| 743 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 744 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 745 | prt.Anchored = true | |
| 746 | prt.CFrame = cframe | |
| 747 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 748 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 749 | table.insert(Effects, {
| |
| 750 | prt, | |
| 751 | "Cylinder", | |
| 752 | delay, | |
| 753 | x3, | |
| 754 | y3, | |
| 755 | z3, | |
| 756 | msh | |
| 757 | }) | |
| 758 | end | |
| 759 | }, | |
| 760 | Break = {
| |
| 761 | Create = function(brickcolor, cframe, x1, y1, z1) | |
| 762 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
| 763 | prt.Anchored = true | |
| 764 | prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
| 765 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 766 | local num = math.random(10, 50) / 1000 | |
| 767 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 768 | table.insert(Effects, {
| |
| 769 | prt, | |
| 770 | "Shatter", | |
| 771 | num, | |
| 772 | prt.CFrame, | |
| 773 | math.random() - math.random(), | |
| 774 | 0, | |
| 775 | math.random(50, 100) / 100 | |
| 776 | }) | |
| 777 | end | |
| 778 | } | |
| 779 | } | |
| 780 | function BlockEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type) | |
| 781 | local prt = CreatePart(3, workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 782 | prt.Anchored = true | |
| 783 | prt.CFrame = cframe | |
| 784 | local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 785 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 786 | if Type == 1 or Type == nil then | |
| 787 | table.insert(Effects, {
| |
| 788 | prt, | |
| 789 | "Block1", | |
| 790 | delay, | |
| 791 | x3, | |
| 792 | y3, | |
| 793 | z3, | |
| 794 | msh | |
| 795 | }) | |
| 796 | elseif Type == 2 then | |
| 797 | table.insert(Effects, {
| |
| 798 | prt, | |
| 799 | "Block2", | |
| 800 | delay, | |
| 801 | x3, | |
| 802 | y3, | |
| 803 | z3, | |
| 804 | msh | |
| 805 | }) | |
| 806 | elseif Type == 3 then | |
| 807 | table.insert(Effects, {
| |
| 808 | prt, | |
| 809 | "Block3", | |
| 810 | delay, | |
| 811 | x3, | |
| 812 | y3, | |
| 813 | z3, | |
| 814 | msh | |
| 815 | }) | |
| 816 | end | |
| 817 | end | |
| 818 | function SphereEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 819 | local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 820 | prt.Anchored = true | |
| 821 | prt.CFrame = cframe | |
| 822 | local msh = CreateMesh("SpecialMesh", prt, "Sphere", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 823 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 824 | table.insert(Effects, {
| |
| 825 | prt, | |
| 826 | "Cylinder", | |
| 827 | delay, | |
| 828 | x3, | |
| 829 | y3, | |
| 830 | z3, | |
| 831 | msh | |
| 832 | }) | |
| 833 | end | |
| 834 | function RingEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 835 | local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
| 836 | prt.Anchored = true | |
| 837 | prt.CFrame = cframe * CFrame.new(x1, y1, z1) | |
| 838 | local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "264766957", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 839 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 840 | table.insert(Effects, {
| |
| 841 | prt, | |
| 842 | "Cylinder", | |
| 843 | delay, | |
| 844 | x3, | |
| 845 | y3, | |
| 846 | z3, | |
| 847 | msh | |
| 848 | }) | |
| 849 | end | |
| 850 | function CylinderEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 851 | local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 852 | prt.Anchored = true | |
| 853 | prt.CFrame = cframe | |
| 854 | local msh = CreateMesh("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 855 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 856 | table.insert(Effects, {
| |
| 857 | prt, | |
| 858 | "Cylinder", | |
| 859 | delay, | |
| 860 | x3, | |
| 861 | y3, | |
| 862 | z3, | |
| 863 | msh | |
| 864 | }) | |
| 865 | end | |
| 866 | function WaveEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 867 | local prt = CreatePart(3, workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 868 | prt.Anchored = true | |
| 869 | prt.CFrame = cframe | |
| 870 | local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "264766957", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 871 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 872 | table.insert(Effects, {
| |
| 873 | prt, | |
| 874 | "Cylinder", | |
| 875 | delay, | |
| 876 | x3, | |
| 877 | y3, | |
| 878 | z3, | |
| 879 | msh | |
| 880 | }) | |
| 881 | end | |
| 882 | function SpecialEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 883 | local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 884 | prt.Anchored = true | |
| 885 | prt.CFrame = cframe | |
| 886 | local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "24388358", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 887 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 888 | table.insert(Effects, {
| |
| 889 | prt, | |
| 890 | "Cylinder", | |
| 891 | delay, | |
| 892 | x3, | |
| 893 | y3, | |
| 894 | z3, | |
| 895 | msh | |
| 896 | }) | |
| 897 | end | |
| 898 | function BreakEffect(brickcolor, cframe, x1, y1, z1) | |
| 899 | local prt = CreatePart(3, workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
| 900 | prt.Anchored = true | |
| 901 | prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
| 902 | local msh = CreateMesh("SpecialMesh", prt, "Sphere", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 903 | local num = math.random(10, 50) / 1000 | |
| 904 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 905 | table.insert(Effects, {
| |
| 906 | prt, | |
| 907 | "Shatter", | |
| 908 | num, | |
| 909 | prt.CFrame, | |
| 910 | math.random() - math.random(), | |
| 911 | 0, | |
| 912 | math.random(50, 100) / 100 | |
| 913 | }) | |
| 914 | end | |
| 915 | function CreateSound(ID, PARENT, VOLUME, PITCH) | |
| 916 | local NEWSOUND = nil | |
| 917 | coroutine.resume(coroutine.create(function() | |
| 918 | NEWSOUND = Instance.new("Sound", PARENT)
| |
| 919 | NEWSOUND.Volume = VOLUME | |
| 920 | NEWSOUND.Pitch = PITCH | |
| 921 | NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID | |
| 922 | swait() | |
| 923 | NEWSOUND:play() | |
| 924 | game:GetService("Debris"):AddItem(NEWSOUND, 10)
| |
| 925 | end)) | |
| 926 | return NEWSOUND | |
| 927 | end | |
| 928 | ||
| 929 | ||
| 930 | --[[ | |
| 931 | Thanks for using Build-To-Lua by jarredbcv. | |
| 932 | ]]-- | |
| 933 | ||
| 934 | New = function(Object, Parent, Name, Data) | |
| 935 | local Object = Instance.new(Object) | |
| 936 | for Index, Value in pairs(Data or {}) do
| |
| 937 | Object[Index] = Value | |
| 938 | end | |
| 939 | Object.Parent = Parent | |
| 940 | Object.Name = Name | |
| 941 | return Object | |
| 942 | end | |
| 943 | ||
| 944 | XBlade = New("Model",char,"XBlade",{})
| |
| 945 | Handle = New("Part",XBlade,"Handle",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(2, 0.119999982, 0.119999982),CFrame = CFrame.new(-44.0486794, 1.89940667, 173.921341, 0.99009043, -0.134159163, -0.0414969474, 0.0418755226, -2.00014849e-09, 0.999122798, -0.134041354, -0.990959466, 0.00561797712),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
| |
| 946 | Part = New("Part",XBlade,"Part",{BrickColor = BrickColor.new("Dark indigo"),Material = Enum.Material.Neon,Size = Vector3.new(0.0899998769, 1, 0.0500000156),CFrame = CFrame.new(-41.3519974, 0.784493208, 173.553787, 0.134159118, 0.931669831, -0.337627381, -1.78345172e-10, 0.340707511, 0.940169215, 0.990959346, -0.126132146, 0.0457089804),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.239216, 0.0823529, 0.521569),})
| |
| 947 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.134159088, 0, 0.990959764, 0.93166995, 0.340707511, -0.12613225, -0.337627441, 0.940169275, 0.0457090214),C1 = CFrame.new(2.67253876, 0.00244140625, -1.22790456, 0.990090549, 0.0418755226, -0.134041443, -0.134159133, -1.83043725e-09, -0.990959704, -0.0414969549, 0.999122798, 0.00561798038),})
| |
| 948 | Part = New("Part",XBlade,"Part",{BrickColor = BrickColor.new("Dark indigo"),Material = Enum.Material.Neon,Size = Vector3.new(0.0899998769, 1.92999995, 0.0500000156),CFrame = CFrame.new(-44.0702477, 1.93928599, 173.921783, 0.134159118, 0.99009037, -0.0414969437, -1.78345172e-10, 0.0418755226, 0.999122798, 0.990959346, -0.13404125, 0.00561797526),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.239216, 0.0823529, 0.521569),})
| |
| 949 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.134159088, 0, 0.990959764, 0.990090549, 0.0418755226, -0.134041384, -0.0414969586, 0.999122858, 0.00561798085),C1 = CFrame.new(-0.019744873, 0.00245666504, 0.0407419205, 0.990090549, 0.0418755226, -0.134041443, -0.134159133, -1.83043725e-09, -0.990959704, -0.0414969549, 0.999122798, 0.00561798038),})
| |
| 950 | Part = New("Part",XBlade,"Part",{BrickColor = BrickColor.new("Dark indigo"),Material = Enum.Material.Neon,Size = Vector3.new(0.0899998769, 1, 0.0500000156),CFrame = CFrame.new(-40.7464447, 1.01027775, 173.471802, 0.134159118, 0.903306067, -0.407478601, -1.78345172e-10, 0.411195904, 0.911546826, 0.990959346, -0.122292183, 0.0551656336),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.239216, 0.0823529, 0.521569),})
| |
| 951 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.134159088, 0, 0.990959764, 0.903306186, 0.411195934, -0.122292288, -0.40747866, 0.911546886, 0.0551656857),C1 = CFrame.new(3.29253769, 0.00245666504, -1.02790737, 0.990090549, 0.0418755226, -0.134041443, -0.134159133, -1.83043725e-09, -0.990959704, -0.0414969549, 0.999122798, 0.00561798038),})
| |
| 952 | Part = New("Part",XBlade,"Part",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Size = Vector3.new(0.0899998769, 1, 0.130000025),CFrame = CFrame.new(-39.0396805, 1.93485165, 173.240723, 0.134159118, 0.86384666, -0.48556143, -1.78345172e-10, 0.489991099, 0.871727467, 0.990959346, -0.116950043, 0.065736711),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
| |
| 953 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.134159088, 0, 0.990959764, 0.863846779, 0.489991099, -0.116950139, -0.48556149, 0.871727467, 0.0657367632),C1 = CFrame.new(5.05207825, 0.00245666504, -0.176268101, 0.990090549, 0.0418755226, -0.134041443, -0.134159133, -1.83043725e-09, -0.990959704, -0.0414969549, 0.999122798, 0.00561798038),})
| |
| 954 | Part = New("Part",XBlade,"Part",{BrickColor = BrickColor.new("Dark indigo"),Material = Enum.Material.Neon,Size = Vector3.new(0.0899998769, 1, 0.0500000156),CFrame = CFrame.new(-40.2101974, 1.23313034, 173.3992, 0.134159118, 0.88381362, -0.448190004, -1.78345172e-10, 0.452278793, 0.891876459, 0.990959346, -0.119653247, 0.0606772564),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.239216, 0.0823529, 0.521569),})
| |
| 955 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.134159088, 0, 0.990959764, 0.883813798, 0.452278793, -0.119653352, -0.448190093, 0.891876578, 0.0606773123),C1 = CFrame.new(3.84253311, 0.00245666504, -0.827910662, 0.990090549, 0.0418755226, -0.134041443, -0.134159133, -1.83043725e-09, -0.990959704, -0.0414969549, 0.999122798, 0.00561798038),})
| |
| 956 | Part = New("Part",XBlade,"Part",{BrickColor = BrickColor.new("Dark indigo"),Material = Enum.Material.Neon,Size = Vector3.new(0.0899998769, 1, 0.0500000156),CFrame = CFrame.new(-41.9794464, 0.607830167, 173.638718, 0.134159118, 0.966715217, -0.217858434, -1.78345172e-10, 0.219845936, 0.975534439, 0.990959346, -0.130876735, 0.0294943117),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.239216, 0.0823529, 0.521569),})
| |
| 957 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.134159088, 0, 0.990959764, 0.966715395, 0.219845951, -0.130876839, -0.217858493, 0.975534499, 0.0294943396),C1 = CFrame.new(2.03252411, 0.00245666504, -1.37789822, 0.990090549, 0.0418755226, -0.134041443, -0.134159133, -1.83043725e-09, -0.990959704, -0.0414969549, 0.999122798, 0.00561798038),})
| |
| 958 | Part = New("Part",XBlade,"Part",{BrickColor = BrickColor.new("Dark indigo"),Material = Enum.Material.Neon,Size = Vector3.new(0.0899998769, 1.08000004, 0.0500000156),CFrame = CFrame.new(-42.5497932, 0.498351336, 173.715927, 0.134159118, 0.975934744, -0.171907738, -1.78345172e-10, 0.17347604, 0.984838009, 0.990959346, -0.132124841, 0.0232733674),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.239216, 0.0823529, 0.521569),})
| |
| 959 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.134159088, 0, 0.990959764, 0.975934923, 0.17347604, -0.132124975, -0.171907783, 0.984838068, 0.0232733898),C1 = CFrame.new(1.45289612, 0.00247192383, -1.46317959, 0.990090549, 0.0418755226, -0.134041443, -0.134159133, -1.83043725e-09, -0.990959704, -0.0414969549, 0.999122798, 0.00561798038),})
| |
| 960 | Part = New("Part",XBlade,"Part",{BrickColor = BrickColor.new("Dark indigo"),Material = Enum.Material.Neon,Size = Vector3.new(0.0899998769, 1.92999995, 0.0500000156),CFrame = CFrame.new(-44.0665131, 1.84935343, 173.92128, 0.134159118, 0.99009037, -0.0414969437, -1.78345172e-10, 0.0418755226, 0.999122798, 0.990959346, -0.13404125, 0.00561797526),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.239216, 0.0823529, 0.521569),})
| |
| 961 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.134159088, 0, 0.990959764, 0.990090549, 0.0418755226, -0.134041384, -0.0414969586, 0.999122858, 0.00561798085),C1 = CFrame.new(-0.019744873, 0.00245666504, -0.0492696762, 0.990090549, 0.0418755226, -0.134041443, -0.134159133, -1.83043725e-09, -0.990959704, -0.0414969549, 0.999122798, 0.00561798038),})
| |
| 962 | Part = New("Part",XBlade,"Part",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Size = Vector3.new(0.0899998769, 1, 0.360000014),CFrame = CFrame.new(-42.5316505, 0.708744168, 173.713501, 0.134159118, 0.975934744, -0.171907738, -1.78345172e-10, 0.17347604, 0.984838009, 0.990959346, -0.132124841, 0.0232733674),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
| |
| 963 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.134159088, 0, 0.990959764, 0.975934923, 0.17347604, -0.132124975, -0.171907783, 0.984838068, 0.0232733898),C1 = CFrame.new(1.47999573, 0.00244140625, -1.25373793, 0.990090549, 0.0418755226, -0.134041443, -0.134159133, -1.83043725e-09, -0.990959704, -0.0414969549, 0.999122798, 0.00561798038),})
| |
| 964 | Part = New("Part",XBlade,"Part",{BrickColor = BrickColor.new("Dark indigo"),Material = Enum.Material.Neon,Size = Vector3.new(0.079999879, 0.149999917, 0.100000016),CFrame = CFrame.new(-45.0332489, 1.85846865, 174.05719, 0.134159118, -0.0414969884, -0.99009037, -1.78345172e-10, 0.999122798, -0.0418755673, 0.990959346, 0.00561798224, 0.13404125),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.239216, 0.0823529, 0.521569),})
| |
| 965 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.134159088, 0, 0.990959764, -0.0414970033, 0.999122858, 0.00561798783, -0.990090549, -0.0418755673, 0.134041384),C1 = CFrame.new(-0.994735718, -0.00253295898, 0.000717639923, 0.990090549, 0.0418755226, -0.134041443, -0.134159133, -1.83043725e-09, -0.990959704, -0.0414969549, 0.999122798, 0.00561798038),})
| |
| 966 | Part = New("Part",XBlade,"Part",{BrickColor = BrickColor.new("Dark indigo"),Material = Enum.Material.Neon,Size = Vector3.new(0.0899998769, 1.52999997, 0.0500000156),CFrame = CFrame.new(-43.0991249, 1.12461293, 173.790329, 0.134159118, -0.041496899, -0.99009037, -1.78345172e-10, 0.999122798, -0.0418754779, 0.990959346, 0.0056179706, 0.13404125),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.239216, 0.0823529, 0.521569),})
| |
| 967 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.134159088, 1.60021901e-16, 0.990959764, -0.0414969139, 0.999122858, 0.00561797619, -0.990090549, -0.0418754779, 0.134041384),C1 = CFrame.new(0.925262451, 0.00244140625, -0.814253807, 0.990090549, 0.0418755226, -0.134041443, -0.134159133, -1.83043725e-09, -0.990959704, -0.0414969549, 0.999122798, 0.00561798038),})
| |
| 968 | Part = New("Part",XBlade,"Part",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Size = Vector3.new(0.0899998769, 1, 0.360000014),CFrame = CFrame.new(-41.8233681, 0.848814011, 173.617599, 0.134159118, 0.949757814, -0.282773912, -1.78345172e-10, 0.285353601, 0.958422184, 0.990959346, -0.128580973, 0.0382827483),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
| |
| 969 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.134159088, 0, 0.990959764, 0.949757874, 0.285353601, -0.128581077, -0.282773942, 0.958422303, 0.0382827818),C1 = CFrame.new(2.19998169, 0.00245666504, -1.14372134, 0.990090549, 0.0418755226, -0.134041443, -0.134159133, -1.83043725e-09, -0.990959704, -0.0414969549, 0.999122798, 0.00561798038),})
| |
| 970 | Part = New("Part",XBlade,"Part",{BrickColor = BrickColor.new("Dark indigo"),Material = Enum.Material.Neon,Size = Vector3.new(0.0899998769, 0.0799999386, 0.0500000156),CFrame = CFrame.new(-43.1370964, 2.03881836, 173.795456, 0.134159118, -0.041496899, -0.99009037, -1.78345172e-10, 0.999122798, -0.0418754779, 0.990959346, 0.0056179706, 0.13404125),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.239216, 0.0823529, 0.521569),})
| |
| 971 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.134159088, 1.60021901e-16, 0.990959764, -0.0414969139, 0.999122858, 0.00561797619, -0.990090549, -0.0418754779, 0.134041384),C1 = CFrame.new(0.925262451, 0.00245666504, 0.100754261, 0.990090549, 0.0418755226, -0.134041443, -0.134159133, -1.83043725e-09, -0.990959704, -0.0414969549, 0.999122798, 0.00561798038),})
| |
| 972 | Part = New("Part",XBlade,"Part",{BrickColor = BrickColor.new("Dark indigo"),Material = Enum.Material.Neon,Size = Vector3.new(0.0899998769, 1, 0.0500000156),CFrame = CFrame.new(-38.9191017, 1.90829134, 173.224411, 0.134159118, 0.863252759, -0.486616373, -1.78345172e-10, 0.491055667, 0.871128023, 0.990959346, -0.116869673, 0.0658795312),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.239216, 0.0823529, 0.521569),})
| |
| 973 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.134159088, 0, 0.990959764, 0.863252878, 0.491055697, -0.11686977, -0.486616433, 0.871128082, 0.0658795834),C1 = CFrame.new(5.17253876, 0.00245666504, -0.207900524, 0.990090549, 0.0418755226, -0.134041443, -0.134159133, -1.83043725e-09, -0.990959704, -0.0414969549, 0.999122798, 0.00561798038),})
| |
| 974 | Wedge = New("WedgePart",XBlade,"Wedge",{BrickColor = BrickColor.new("Pearl"),Material = Enum.Material.Neon,Size = Vector3.new(0.0799999461, 4.97000027, 1.66999996),CFrame = CFrame.new(-40.6379662, 1.33008528, 173.459518, 0.134159088, 0.990090489, -0.0414969511, -3.48056417e-10, 0.0418755226, 0.999122798, 0.990959585, -0.134041339, 0.00561797852),BottomSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
| |
| 975 | mot = New("Motor",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.134159088, 0, 0.990959764, 0.990090549, 0.0418755226, -0.134041384, -0.0414969586, 0.999122858, 0.00561798085),C1 = CFrame.new(3.41497803, 7.62939453e-05, -0.712950706, 0.990090549, 0.0418755226, -0.134041443, -0.134159133, -1.83043725e-09, -0.990959704, -0.0414969549, 0.999122798, 0.00561798038),})
| |
| 976 | Part = New("Part",XBlade,"Part",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Size = Vector3.new(0.0899998769, 1, 0.360000014),CFrame = CFrame.new(-40.5334549, 1.31371856, 173.442963, 0.134159118, 0.888382077, -0.439065397, -1.78345172e-10, 0.443070978, 0.89648658, 0.990959346, -0.120271713, 0.059441939),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
| |
| 977 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.134159088, 0, 0.990959764, 0.888382196, 0.443070978, -0.120271817, -0.439065516, 0.89648664, 0.0594419949),C1 = CFrame.new(3.51998901, 0.00245666504, -0.733733177, 0.990090549, 0.0418755226, -0.134041443, -0.134159133, -1.83043725e-09, -0.990959704, -0.0414969549, 0.999122798, 0.00561798038),})
| |
| 978 | Part = New("Part",XBlade,"Part",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Size = Vector3.new(0.0899998769, 1, 0.360000014),CFrame = CFrame.new(-39.8037491, 1.65485072, 173.344177, 0.134159118, 0.879470766, -0.456653416, -1.78345172e-10, 0.460819334, 0.887493968, 0.990959346, -0.1190653, 0.0618230514),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
| |
| 979 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.134159088, 0, 0.990959764, 0.879470944, 0.460819364, -0.119065404, -0.456653476, 0.887494028, 0.0618231073),C1 = CFrame.new(4.26998901, 0.00245666504, -0.423735619, 0.990090549, 0.0418755226, -0.134041443, -0.134159133, -1.83043725e-09, -0.990959704, -0.0414969549, 0.999122798, 0.00561798038),})
| |
| 980 | Part = New("Part",XBlade,"Part",{BrickColor = BrickColor.new("Dark indigo"),Material = Enum.Material.Neon,Size = Vector3.new(0.0899998769, 1.02999997, 0.0500000156),CFrame = CFrame.new(-38.633503, 2.03729534, 173.18576, 0.134159118, 0.863252759, -0.486616373, -1.78345172e-10, 0.491055667, 0.871128023, 0.990959346, -0.116869673, 0.0658795312),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.239216, 0.0823529, 0.521569),})
| |
| 981 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.134159088, 0, 0.990959764, 0.863252878, 0.491055697, -0.11686977, -0.486616433, 0.871128082, 0.0658795834),C1 = CFrame.new(5.46588898, 0.00244140625, -0.0910782814, 0.990090549, 0.0418755226, -0.134041443, -0.134159133, -1.83043725e-09, -0.990959704, -0.0414969549, 0.999122798, 0.00561798038),})
| |
| 982 | Part = New("Part",XBlade,"Part",{BrickColor = BrickColor.new("Dark indigo"),Material = Enum.Material.Neon,Size = Vector3.new(0.0899998769, 1, 0.0500000156),CFrame = CFrame.new(-39.5588799, 1.55094099, 173.311005, 0.134159118, 0.863252759, -0.486616373, -1.78345172e-10, 0.491055667, 0.871128023, 0.990959346, -0.116869673, 0.0658795312),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.239216, 0.0823529, 0.521569),})
| |
| 983 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.134159088, 0, 0.990959764, 0.863252878, 0.491055697, -0.11686977, -0.486616433, 0.871128082, 0.0658795834),C1 = CFrame.new(4.51252747, 0.00247192383, -0.537901878, 0.990090549, 0.0418755226, -0.134041443, -0.134159133, -1.83043725e-09, -0.990959704, -0.0414969549, 0.999122798, 0.00561798038),})
| |
| 984 | Part = New("Part",XBlade,"Part",{BrickColor = BrickColor.new("Dark indigo"),Material = Enum.Material.Neon,Size = Vector3.new(0.0899998769, 5, 0.0500000156),CFrame = CFrame.new(-40.6833267, 2.18262863, 173.463257, 0.134159118, 0.99009037, -0.0414969437, -1.78345172e-10, 0.0418755226, 0.999122798, 0.990959346, -0.13404125, 0.00561797526),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.239216, 0.0823529, 0.521569),})
| |
| 985 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.134159088, 0, 0.990959764, 0.990090549, 0.0418755226, -0.134041384, -0.0414969586, 0.999122858, 0.00561798085),C1 = CFrame.new(3.40526581, 0.00245666504, 0.140748024, 0.990090549, 0.0418755226, -0.134041443, -0.134159133, -1.83043725e-09, -0.990959704, -0.0414969549, 0.999122798, 0.00561798038),})
| |
| 986 | Part = New("Part",XBlade,"Part",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Size = Vector3.new(0.0899998769, 1, 0.360000014),CFrame = CFrame.new(-41.1286964, 1.07836723, 173.523544, 0.134159118, 0.920541048, -0.36688596, -1.78345172e-10, 0.37023294, 0.928938925, 0.990959346, -0.124625482, 0.0496700779),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
| |
| 987 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.134159088, 0, 0.990959764, 0.920541227, 0.37023297, -0.124625586, -0.36688602, 0.928938985, 0.0496701226),C1 = CFrame.new(2.9099884, 0.00245666504, -0.943724632, 0.990090549, 0.0418755226, -0.134041443, -0.134159133, -1.83043725e-09, -0.990959704, -0.0414969549, 0.999122798, 0.00561798038),})
| |
| 988 | ||
| 989 | ||
| 990 | HeartLocket = New("Model",char,"Heart Locket",{})
| |
| 991 | Heart = New("Hat",HeartLocket,"Heart",{})
| |
| 992 | Handle2 = New("Part",Heart,"Handle2",{BrickColor = BrickColor.new("Gold"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.0500000007, 0.0500000007, 0.25),CFrame = CFrame.new(-42.7335167, 3.20922303, 175.050156, 0.14691636, -0.00137452304, -0.989146531, 0.00403097179, 0.999989152, -0.00079088629, 0.98914516, -0.00387096009, 0.14692001),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.937255, 0.721569, 0.219608),})
| |
| 993 | Mesh = New("SpecialMesh",Handle2,"Mesh",{Scale = Vector3.new(2, 2, 1),MeshId = "http://www.roblox.com/asset/?id=105992239",MeshType = Enum.MeshType.FileMesh,})
| |
| 994 | String = New("Part",HeartLocket,"String",{BrickColor = BrickColor.new("Burnt Sienna"),FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(2, 2, 2),CFrame = CFrame.new(-43.4914551, 3.64470506, 175.102722, 0.0703944117, 0, -0.997525692, 0, 1, 0, 0.997519255, 0, 0.0703952685),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.415686, 0.223529, 0.0352941),})
| |
| 995 | Mesh = New("SpecialMesh",String,"Mesh",{Scale = Vector3.new(1.10000002, 1, 0.949999988),VertexColor = Vector3.new(0, 0, 0),MeshId = "http://www.roblox.com/asset/?id=34237901",MeshType = Enum.MeshType.FileMesh,})
| |
| 996 | ||
| 997 | ||
| 998 | for _, v in pairs(XBlade:GetChildren()) do | |
| 999 | if v:IsA'BasePart' then | |
| 1000 | v.CanCollide = false | |
| 1001 | end | |
| 1002 | end | |
| 1003 | ||
| 1004 | ||
| 1005 | ||
| 1006 | local NewInstance = function(instance,parent,properties) | |
| 1007 | local inst = Instance.new(instance,parent) | |
| 1008 | if(properties)then | |
| 1009 | for i,v in next, properties do | |
| 1010 | pcall(function() inst[i] = v end) | |
| 1011 | end | |
| 1012 | end | |
| 1013 | return inst; | |
| 1014 | end | |
| 1015 | local HW = NewInstance('Weld',char,{Part0=ra,Part1=Handle,C0 = CFrame.new(0,-.9,0)*CFrame.Angles(math.rad(-90),math.rad(0),math.rad(90))})
| |
| 1016 | local Locket = NewInstance('Weld',char,{Part0=hed,Part1=String,C0 = CFrame.new(0,-.9,0.1)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))})
| |
| 1017 | local HeartL = NewInstance('Weld',char,{Part0=hed,Part1=Handle2,C0 = CFrame.new(0,-1.3,-0.7)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))})
| |
| 1018 | ||
| 1019 | ||
| 1020 | ||
| 1021 | ||
| 1022 | --Chat Function-- | |
| 1023 | function chatfunc(text,waitt) | |
| 1024 | local chat = coroutine.wrap(function() | |
| 1025 | if char:FindFirstChild("TalkingBillBoard")~= nil then
| |
| 1026 | char:FindFirstChild("TalkingBillBoard").Parent = nil
| |
| 1027 | end | |
| 1028 | local naeeym2 = Instance.new("BillboardGui",char)
| |
| 1029 | naeeym2.Size = UDim2.new(0,100,0,40) | |
| 1030 | naeeym2.StudsOffset = Vector3.new(0,2,0) | |
| 1031 | naeeym2.Adornee = char.Head | |
| 1032 | naeeym2.Name = "TalkingBillBoard" | |
| 1033 | naeeym2.AlwaysOnTop = true | |
| 1034 | local tecks2 = Instance.new("TextLabel",naeeym2)
| |
| 1035 | tecks2.BackgroundTransparency = 1 | |
| 1036 | tecks2.BorderSizePixel = 0 | |
| 1037 | tecks2.Text = "" | |
| 1038 | tecks2.Font = "Code" | |
| 1039 | tecks2.TextSize = 30 | |
| 1040 | tecks2.TextStrokeTransparency = 0 | |
| 1041 | tecks2.TextColor3 = Color3.fromRGB(255,255,255) | |
| 1042 | tecks2.TextStrokeColor3 = Color3.fromRGB(98, 37, 209) | |
| 1043 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
| 1044 | for i = 1,string.len(text),1 do | |
| 1045 | tecks2.Text = string.sub(text,1,i) | |
| 1046 | swait(3) | |
| 1047 | end | |
| 1048 | wait(waitt/10) | |
| 1049 | coroutine.resume(coroutine.create(function() | |
| 1050 | for i = 1, 10 do | |
| 1051 | tecks2.TextTransparency = tecks2.TextTransparency + 0.1 | |
| 1052 | swait() | |
| 1053 | end | |
| 1054 | naeeym2:Destroy() | |
| 1055 | end)) | |
| 1056 | end) | |
| 1057 | chat() | |
| 1058 | end | |
| 1059 | ||
| 1060 | local asd = Instance.new("ParticleEmitter")
| |
| 1061 | asd.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0)) | |
| 1062 | asd.LightEmission = .1 | |
| 1063 | asd.Size = NumberSequence.new(0.2) | |
| 1064 | asd.Texture = "http://www.roblox.com/asset/?ID=291880914" | |
| 1065 | aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
| |
| 1066 | bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
| |
| 1067 | asd.Transparency = bbb | |
| 1068 | asd.Size = aaa | |
| 1069 | asd.ZOffset = .9 | |
| 1070 | asd.Acceleration = Vector3.new(0, -5, 0) | |
| 1071 | asd.LockedToPart = false | |
| 1072 | asd.EmissionDirection = "Back" | |
| 1073 | asd.Lifetime = NumberRange.new(1, 2) | |
| 1074 | asd.Rotation = NumberRange.new(-100, 100) | |
| 1075 | asd.RotSpeed = NumberRange.new(-100, 100) | |
| 1076 | asd.Speed = NumberRange.new(2) | |
| 1077 | asd.Enabled = false | |
| 1078 | asd.VelocitySpread = 10000 | |
| 1079 | ||
| 1080 | function bleed(victim,amount) | |
| 1081 | local prtcl = asd:Clone() | |
| 1082 | prtcl.Parent = victim | |
| 1083 | prtcl:Emit(amount) | |
| 1084 | end | |
| 1085 | ||
| 1086 | ||
| 1087 | function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET) | |
| 1088 | local NEWMESH = Instance.new(MESH) | |
| 1089 | if MESH == "SpecialMesh" then | |
| 1090 | NEWMESH.MeshType = MESHTYPE | |
| 1091 | if MESHID ~= "nil" and MESHID ~= "" then | |
| 1092 | NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID | |
| 1093 | end | |
| 1094 | if TEXTUREID ~= "nil" and TEXTUREID ~= "" then | |
| 1095 | NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID | |
| 1096 | end | |
| 1097 | end | |
| 1098 | NEWMESH.Offset = OFFSET or Vector3.new(0, 0, 0) | |
| 1099 | NEWMESH.Scale = SCALE | |
| 1100 | NEWMESH.Parent = PARENT | |
| 1101 | return NEWMESH | |
| 1102 | end | |
| 1103 | ||
| 1104 | function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR) | |
| 1105 | local NEWPART = Instance.new("Part")
| |
| 1106 | NEWPART.formFactor = FORMFACTOR | |
| 1107 | NEWPART.Reflectance = REFLECTANCE | |
| 1108 | NEWPART.Transparency = TRANSPARENCY | |
| 1109 | NEWPART.CanCollide = false | |
| 1110 | NEWPART.Locked = true | |
| 1111 | NEWPART.Anchored = true | |
| 1112 | if ANCHOR == false then | |
| 1113 | NEWPART.Anchored = false | |
| 1114 | end | |
| 1115 | NEWPART.BrickColor = BrickColor.new(tostring(BRICKCOLOR)) | |
| 1116 | NEWPART.Name = NAME | |
| 1117 | NEWPART.Size = SIZE | |
| 1118 | NEWPART.Position = tors.Position | |
| 1119 | NEWPART.Material = MATERIAL | |
| 1120 | NEWPART:BreakJoints() | |
| 1121 | NEWPART.Parent = PARENT | |
| 1122 | return NEWPART | |
| 1123 | end | |
| 1124 | ||
| 1125 | local function weldBetween(a, b) | |
| 1126 | local weldd = Instance.new("ManualWeld")
| |
| 1127 | weldd.Part0 = a | |
| 1128 | weldd.Part1 = b | |
| 1129 | weldd.C0 = CFrame.new() | |
| 1130 | weldd.C1 = b.CFrame:inverse() * a.CFrame | |
| 1131 | weldd.Parent = a | |
| 1132 | return weldd | |
| 1133 | end | |
| 1134 | ||
| 1135 | function createaccessory(attachmentpart,mesh,texture,scale,offset,color) | |
| 1136 | local acs = Instance.new("Part")
| |
| 1137 | acs.CanCollide = false | |
| 1138 | acs.Anchored = false | |
| 1139 | acs.Size = Vector3.new(0,0,0) | |
| 1140 | acs.CFrame = attachmentpart.CFrame | |
| 1141 | acs.Parent = char | |
| 1142 | acs.BrickColor = color | |
| 1143 | local meshs = Instance.new("SpecialMesh")
| |
| 1144 | meshs.MeshId = mesh | |
| 1145 | meshs.TextureId = texture | |
| 1146 | meshs.Parent = acs | |
| 1147 | meshs.Scale = scale | |
| 1148 | meshs.Offset = offset | |
| 1149 | weldBetween(attachmentpart,acs) | |
| 1150 | end | |
| 1151 | ||
| 1152 | local accessories = Instance.new("Folder",char)
| |
| 1153 | accessories.Name = "Add-ons" | |
| 1154 | ||
| 1155 | function createbodypart(TYPE,COLOR,PART,OFFSET,SIZE) | |
| 1156 | if TYPE == "Gem" then | |
| 1157 | local acs = CreatePart(3, accessories, "Plastic", 0, 0, COLOR, "Part", Vector3.new(0,0,0)) | |
| 1158 | acs.Anchored = false | |
| 1159 | acs.CanCollide = false | |
| 1160 | acs.CFrame = PART.CFrame | |
| 1161 | local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "9756362", "", SIZE, OFFSET)
| |
| 1162 | weldBetween(PART,acs) | |
| 1163 | elseif TYPE == "Skull" then | |
| 1164 | local acs = CreatePart(3, accessories, "Plastic", 0, 0, COLOR, "Part", Vector3.new(0,0,0)) | |
| 1165 | acs.Anchored = false | |
| 1166 | acs.CanCollide = false | |
| 1167 | acs.CFrame = PART.CFrame | |
| 1168 | local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "4770583", "", SIZE, OFFSET)
| |
| 1169 | weldBetween(PART,acs) | |
| 1170 | elseif TYPE == "Eye" then | |
| 1171 | local acs = CreatePart(3, accessories, "Neon", 0, 0, COLOR, "Part", Vector3.new(0,0,0)) | |
| 1172 | acs.Anchored = false | |
| 1173 | acs.CanCollide = false | |
| 1174 | acs.CFrame = PART.CFrame | |
| 1175 | local acs2 = CreateMesh("SpecialMesh", acs, "Sphere", "", "", SIZE, OFFSET)
| |
| 1176 | weldBetween(PART,acs) | |
| 1177 | end | |
| 1178 | end | |
| 1179 | ||
| 1180 | createbodypart("Eye","Really black",hed,Vector3.new(0.2, 0.17, -0.55),Vector3.new(3,5,3))
| |
| 1181 | createbodypart("Eye","White",hed,Vector3.new(-0.2, 0.17, -0.55),Vector3.new(3,5,3))
| |
| 1182 | ||
| 1183 | --Extras-- | |
| 1184 | q = char:GetChildren() | |
| 1185 | for u = 1, #q do | |
| 1186 | if q[u].ClassName == "Accessory" or q[u].ClassName == "Hat" then | |
| 1187 | q[u]:remove() | |
| 1188 | elseif q[u].ClassName == "CharacterMesh" then | |
| 1189 | q[u]:remove() | |
| 1190 | elseif q[u].ClassName == "ShirtGraphic" then | |
| 1191 | q[u]:remove() | |
| 1192 | elseif q[u].ClassName == "Shirt" then | |
| 1193 | q[u]:Destroy() | |
| 1194 | elseif q[u].ClassName == "Pants" then | |
| 1195 | q[u]:Destroy() | |
| 1196 | end | |
| 1197 | end | |
| 1198 | local top = Instance.new("Shirt")
| |
| 1199 | top.ShirtTemplate = "rbxassetid://831629350" | |
| 1200 | top.Parent = char | |
| 1201 | local bottom = Instance.new("Pants")
| |
| 1202 | bottom.PantsTemplate = "rbxassetid://227915108" | |
| 1203 | bottom.Parent = char | |
| 1204 | ||
| 1205 | local BodyColors = char:FindFirstChildOfClass"BodyColors" | |
| 1206 | if BodyColors then | |
| 1207 | BodyColors.HeadColor = BrickColor.new"Institutional white" | |
| 1208 | BodyColors.TorsoColor = BrickColor.new"Institutional white" | |
| 1209 | BodyColors.LeftArmColor = BrickColor.new"Institutional white" | |
| 1210 | BodyColors.RightArmColor = BrickColor.new"Institutional white" | |
| 1211 | BodyColors.LeftLegColor = BrickColor.new"Institutional white" | |
| 1212 | BodyColors.RightLegColor = BrickColor.new"Institutional white" | |
| 1213 | end | |
| 1214 | ||
| 1215 | --Scarfs-- | |
| 1216 | local Blobby = Instance.new("Part", char)
| |
| 1217 | Blobby.Name = "Blob" | |
| 1218 | Blobby.CanCollide = false | |
| 1219 | Blobby.BrickColor = BrickColor.new("Institutional white")
| |
| 1220 | Blobby.Transparency = 0 | |
| 1221 | Blobby.Material = "Plastic" | |
| 1222 | Blobby.Size = Vector3.new(1, 1, 2) | |
| 1223 | Blobby.TopSurface = Enum.SurfaceType.Smooth | |
| 1224 | Blobby.BottomSurface = Enum.SurfaceType.Smooth | |
| 1225 | ||
| 1226 | local Weld = Instance.new("Weld", Blobby)
| |
| 1227 | Weld.Part0 = hed | |
| 1228 | Weld.Part1 = Blobby | |
| 1229 | Weld.C1 = CFrame.new(0, 1.1, 0) | |
| 1230 | Weld.C0 = CFrame.Angles(math.rad(0),math.rad(180),0) | |
| 1231 | ||
| 1232 | local M2 = Instance.new("SpecialMesh")
| |
| 1233 | M2.Parent = Blobby | |
| 1234 | M2.MeshId = "http://www.roblox.com/asset/?id=448710145" | |
| 1235 | M2.Scale = Vector3.new(0.8, 0.8, 0.8) | |
| 1236 | ||
| 1237 | local Blobby2 = Instance.new("Part", char)
| |
| 1238 | Blobby2.Name = "Blob" | |
| 1239 | Blobby2.CanCollide = false | |
| 1240 | Blobby2.BrickColor = BrickColor.new("Really black")
| |
| 1241 | Blobby2.Transparency = 0 | |
| 1242 | Blobby2.Material = "Plastic" | |
| 1243 | Blobby2.Size = Vector3.new(1, 1, 2) | |
| 1244 | Blobby2.TopSurface = Enum.SurfaceType.Smooth | |
| 1245 | Blobby2.BottomSurface = Enum.SurfaceType.Smooth | |
| 1246 | ||
| 1247 | local Weld = Instance.new("Weld", Blobby2)
| |
| 1248 | Weld.Part0 = hed | |
| 1249 | Weld.Part1 = Blobby2 | |
| 1250 | Weld.C1 = CFrame.new(0, 1.2, 0) | |
| 1251 | Weld.C0 = CFrame.Angles(math.rad(0),math.rad(180),0) | |
| 1252 | ||
| 1253 | local M2 = Instance.new("SpecialMesh")
| |
| 1254 | M2.Parent = Blobby2 | |
| 1255 | M2.MeshId = "http://www.roblox.com/asset/?id=448710145" | |
| 1256 | M2.Scale = Vector3.new(0.8, 0.8, 0.8) | |
| 1257 | ||
| 1258 | --Hair-- | |
| 1259 | local Hair = Instance.new("Part", char)
| |
| 1260 | Hair.Name = "Hair" | |
| 1261 | Hair.CanCollide = false | |
| 1262 | Hair.BrickColor = BrickColor.new("Institutional white")
| |
| 1263 | Hair.Transparency = 0 | |
| 1264 | Hair.Material = "Plastic" | |
| 1265 | Hair.Size = Vector3.new(1, 1, 2) | |
| 1266 | Hair.TopSurface = Enum.SurfaceType.Smooth | |
| 1267 | Hair.BottomSurface = Enum.SurfaceType.Smooth | |
| 1268 | ||
| 1269 | local Weld = Instance.new("Weld", Hair)
| |
| 1270 | Weld.Part0 = hed | |
| 1271 | Weld.Part1 = Hair | |
| 1272 | Weld.C1 = CFrame.new(0, -.5, 0) | |
| 1273 | Weld.C0 = CFrame.Angles(math.rad(0),math.rad(0),0) | |
| 1274 | ||
| 1275 | local M2 = Instance.new("SpecialMesh")
| |
| 1276 | M2.Parent = Hair | |
| 1277 | M2.MeshId = "http://www.roblox.com/asset/?id=346578029" | |
| 1278 | M2.Scale = Vector3.new(1.2, 1.1, 1.1) | |
| 1279 | ||
| 1280 | --Hood-- | |
| 1281 | local Hood = Instance.new("Part", char)
| |
| 1282 | Hood.Name = "Hood" | |
| 1283 | Hood.CanCollide = false | |
| 1284 | Hood.BrickColor = BrickColor.new("Institutional white")
| |
| 1285 | Hood.Transparency = 0 | |
| 1286 | Hood.Material = "Plastic" | |
| 1287 | Hood.Size = Vector3.new(1, 1, 2) | |
| 1288 | Hood.TopSurface = Enum.SurfaceType.Smooth | |
| 1289 | Hood.BottomSurface = Enum.SurfaceType.Smooth | |
| 1290 | ||
| 1291 | local Weld = Instance.new("Weld", Hood)
| |
| 1292 | Weld.Part0 = tors | |
| 1293 | Weld.Part1 = Hood | |
| 1294 | Weld.C1 = CFrame.new(0, .4, -.9) | |
| 1295 | Weld.C0 = CFrame.Angles(math.rad(-0),math.rad(0),math.rad(180)) | |
| 1296 | ||
| 1297 | local M2 = Instance.new("SpecialMesh")
| |
| 1298 | M2.Parent = Hood | |
| 1299 | M2.MeshId = "http://www.roblox.com/asset/?id=18010902" | |
| 1300 | M2.Scale = Vector3.new(0.922, 0.922, 0.922) | |
| 1301 | hed.face.Texture = "http://www.roblox.com/asset/?id=176217905" | |
| 1302 | ||
| 1303 | ||
| 1304 | ||
| 1305 | Slashy = Instance.new("Sound", ra)
| |
| 1306 | Slashy.Volume = 5 | |
| 1307 | Slashy.Pitch = 1 | |
| 1308 | Slashy.SoundId = "http://www.roblox.com/asset/?id=978101945" | |
| 1309 | Slashy.Looped = false | |
| 1310 | ||
| 1311 | local VALUE1 = false | |
| 1312 | local sine=0 | |
| 1313 | for _, v in pairs(XBlade:GetChildren()) do | |
| 1314 | if v:IsA'BasePart' then | |
| 1315 | v.CanCollide = false | |
| 1316 | v.Transparency = 1 | |
| 1317 | end | |
| 1318 | end | |
| 1319 | function intro() | |
| 1320 | attack = true | |
| 1321 | chatfunc("Finally, after all this time.",3)
| |
| 1322 | hum.WalkSpeed = 0 | |
| 1323 | for i = 0,6,0.1 do | |
| 1324 | swait() | |
| 1325 | rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-0.1+0.1*math.cos(sine/20))*angles(math.rad(0),math.rad(0),math.rad(0)),0.15) | |
| 1326 | tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.3) | |
| 1327 | RH.C0=clerp(RH.C0,cf(1,-0.9-0.1*math.cos(sine/20),0.025*math.cos(sine/20))*RHCF*angles(math.rad(-2),math.rad(0),math.rad(0)),0.15) | |
| 1328 | LH.C0=clerp(LH.C0,cf(-1,-0.9-0.1*math.cos(sine/20),0.025*math.cos(sine/20))*LHCF*angles(math.rad(-2),math.rad(0),math.rad(0)),0.15) | |
| 1329 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5+0.05*math.sin(sine/30), 0) * angles(math.rad(0), math.rad(0), math.rad(5)), 0.1) | |
| 1330 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.05*math.sin(sine/30), 0) * angles(math.rad(0), math.rad(0), math.rad(-5)), 0.1) | |
| 1331 | HW.C0 = clerp(HW.C0, CFrame.new(0,-.9,0)*angles (math.rad(-90),math.rad(90),math.rad(0)), 0.15) | |
| 1332 | end | |
| 1333 | wait(2.5) | |
| 1334 | chatfunc("At last I have a human soul.",3)
| |
| 1335 | for i = 0,6,0.1 do | |
| 1336 | swait() | |
| 1337 | rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-0.1+0.1*math.cos(sine/20))*angles(math.rad(0),math.rad(0),math.rad(0)),0.15) | |
| 1338 | tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.3) | |
| 1339 | RH.C0=clerp(RH.C0,cf(1,-0.9-0.1*math.cos(sine/20),0.025*math.cos(sine/20))*RHCF*angles(math.rad(-2),math.rad(0),math.rad(0)),0.15) | |
| 1340 | LH.C0=clerp(LH.C0,cf(-1,-0.9-0.1*math.cos(sine/20),0.025*math.cos(sine/20))*LHCF*angles(math.rad(-2),math.rad(0),math.rad(0)),0.15) | |
| 1341 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5+0.05*math.sin(sine/30), 0) * angles(math.rad(0), math.rad(0), math.rad(5)), 0.1) | |
| 1342 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.05*math.sin(sine/30), 0) * angles(math.rad(0), math.rad(0), math.rad(-5)), 0.1) | |
| 1343 | HW.C0 = clerp(HW.C0, CFrame.new(0,-.9,0)*angles (math.rad(-90),math.rad(0),math.rad(90)), 0.15) | |
| 1344 | end | |
| 1345 | wait(2.5) | |
| 1346 | chatfunc("And finally not attached to that dumb Skeleton.",3)
| |
| 1347 | for i = 0,6,0.1 do | |
| 1348 | swait() | |
| 1349 | rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-0.1+0.1*math.cos(sine/20))*angles(math.rad(0),math.rad(0),math.rad(0)),0.15) | |
| 1350 | tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.3) | |
| 1351 | RH.C0=clerp(RH.C0,cf(1,-0.9-0.1*math.cos(sine/20),0.025*math.cos(sine/20))*RHCF*angles(math.rad(-2),math.rad(0),math.rad(0)),0.15) | |
| 1352 | LH.C0=clerp(LH.C0,cf(-1,-0.9-0.1*math.cos(sine/20),0.025*math.cos(sine/20))*LHCF*angles(math.rad(-2),math.rad(0),math.rad(0)),0.15) | |
| 1353 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5+0.05*math.sin(sine/30), 0) * angles(math.rad(0), math.rad(0), math.rad(5)), 0.1) | |
| 1354 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.05*math.sin(sine/30), 0) * angles(math.rad(0), math.rad(0), math.rad(-5)), 0.1) | |
| 1355 | HW.C0 = clerp(HW.C0, CFrame.new(0,-.9,0)*angles (math.rad(-90),math.rad(0),math.rad(90)), 0.15) | |
| 1356 | end | |
| 1357 | wait(2.5) | |
| 1358 | chatfunc("You'll get to live long enough to see something special.",5)
| |
| 1359 | ||
| 1360 | for i = 0,6,0.1 do | |
| 1361 | swait() | |
| 1362 | for _, v in pairs(XBlade:GetChildren()) do | |
| 1363 | if v:IsA'BasePart' then | |
| 1364 | v.CanCollide = false | |
| 1365 | v.Transparency = v.Transparency - .3 | |
| 1366 | end | |
| 1367 | end | |
| 1368 | rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-0.1+0.1*math.cos(sine/20))*angles(math.rad(0),math.rad(0),math.rad(0)),0.15) | |
| 1369 | tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
| 1370 | RH.C0=clerp(RH.C0,cf(1,-0.9-0.1*math.cos(sine/20),0.025*math.cos(sine/20))*RHCF*angles(math.rad(-2),math.rad(0),math.rad(0)),0.15) | |
| 1371 | LH.C0=clerp(LH.C0,cf(-1,-0.9-0.1*math.cos(sine/20),0.025*math.cos(sine/20))*LHCF*angles(math.rad(-2),math.rad(0),math.rad(0)),0.15) | |
| 1372 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5+0.05*math.sin(sine/30), 0) * angles(math.rad(90), math.rad(0), math.rad(5)), 0.1) | |
| 1373 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.05*math.sin(sine/30), 0) * angles(math.rad(0), math.rad(0), math.rad(-5)), 0.1) | |
| 1374 | HW.C0 = clerp(HW.C0, CFrame.new(0,-.9,0)*angles (math.rad(-90),math.rad(0),math.rad(180)), 0.15) | |
| 1375 | end | |
| 1376 | wait(4.5) | |
| 1377 | chatfunc("Welcome my friend, to the XEvent.",3)
| |
| 1378 | wait(2.5) | |
| 1379 | CreateSound("367453005", hed, 10, 1)
| |
| 1380 | ShadowHead = New("Part",char,"ShadowHead",{CanCollide = false,BrickColor = BrickColor.new("Really black"),Size = Vector3.new(1.20000005, 0.600000024, 1),CFrame = CFrame.new(68.5999985, 0.700013041, 9.89999962, 1, 0, 0, 0, 1, 0, 0, 0, 1),Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
| |
| 1381 | Mesh = New("SpecialMesh",ShadowHead,"Mesh",{Scale = Vector3.new(1.25999999, 1.5, 1.25999999),})
| |
| 1382 | Weld = New("Weld",ShadowHead,"mot",{Part0 = ShadowHead,Part1 = char.Head,C1 = CFrame.new(0, 0.200000048, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
| |
| 1383 | Effects.Ring.Create(BrickColor.new("Institutional white"), tors.CFrame*angles(math.rad(90),math.rad(0),math.rad(0)), 2, 2, 2, 7.6, 7.6, 7.6, 0.03)
| |
| 1384 | Effects.Sphere.Create(maincolor, tors.CFrame, 2, 2, 2, 17.6, 17.6, 17.6, 0.02) | |
| 1385 | Effects.Sphere.Create(BrickColor.new("Dark indigo"), tors.CFrame, 2, 2, 2, 10.6, 10.6, 10.6, 0.02)
| |
| 1386 | Effects.Sphere.Create(BrickColor.new("Dark indigo"), tors.CFrame, 2, 2, 2, 14.6, 14.6, 14.6, 0.02)
| |
| 1387 | Effects.Sphere.Create(BrickColor.new("Dark indigo"), tors.CFrame, 2, 2, 2, 16.6, 16.6, 16.6, 0.02)
| |
| 1388 | Effects.Sphere.Create(BrickColor.new("Dark indigo"), tors.CFrame, 2, 2, 2, 5.6, 5.6, 5.6, 0.02)
| |
| 1389 | local bigboi = Instance.new("Sound",tors)
| |
| 1390 | bigboi.SoundId = "rbxassetid://736980589" | |
| 1391 | bigboi.Volume = 2.5 | |
| 1392 | bigboi.Looped = true | |
| 1393 | bigboi.Pitch = 1 | |
| 1394 | bigboi:Play() | |
| 1395 | attack = false | |
| 1396 | VALUE1 = true | |
| 1397 | hum.WalkSpeed = 28 | |
| 1398 | end | |
| 1399 | ||
| 1400 | ||
| 1401 | ||
| 1402 | ||
| 1403 | ||
| 1404 | function NothingPersonal() | |
| 1405 | if mouse.Target.Parent ~= char and mouse.Target.Parent.Parent ~= char and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
| |
| 1406 | local HITBODY = mouse.Target.Parent | |
| 1407 | local TORS = HITBODY:FindFirstChild("Torso") or HITBODY:FindFirstChild("UpperTorso")
| |
| 1408 | local HUMAN = mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
| |
| 1409 | if TORS ~= nil and HUMAN ~= nil then | |
| 1410 | attack = true | |
| 1411 | hum.WalkSpeed = 0 | |
| 1412 | root.CFrame = TORS.CFrame * CFrame.new(-1,0,6) | |
| 1413 | TORS.Anchored = true | |
| 1414 | CreateSound("367453005", hed, 10, 1)
| |
| 1415 | Effects.Sphere.Create(maincolor, tors.CFrame * CFrame.new(0, -1.2, 0), 100, 100, 100, 15, 15, 15, .1, .1) | |
| 1416 | for i = 0,6,0.1 do | |
| 1417 | swait() | |
| 1418 | rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-0.1+0.1*math.cos(sine/20))*angles(math.rad(0),math.rad(0),math.rad(-20)),0.15) | |
| 1419 | tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
| 1420 | RH.C0=clerp(RH.C0,cf(1,-0.9-0.1*math.cos(sine/20),0.025*math.cos(sine/20))*RHCF*angles(math.rad(-2),math.rad(0),math.rad(0)),0.15) | |
| 1421 | LH.C0=clerp(LH.C0,cf(-1,-0.9-0.1*math.cos(sine/20),0.025*math.cos(sine/20))*LHCF*angles(math.rad(-2),math.rad(0),math.rad(0)),0.15) | |
| 1422 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5+0.05*math.sin(sine/30), 0) * angles(math.rad(0), math.rad(0), math.rad(125)), 0.1) | |
| 1423 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.05*math.sin(sine/30), 0) * angles(math.rad(90), math.rad(0), math.rad(-15)), 0.1) | |
| 1424 | HW.C0 = clerp(HW.C0, CFrame.new(0,-.9,0)*angles (math.rad(-90),math.rad(90),math.rad(0)), 0.15) | |
| 1425 | end | |
| 1426 | CreateSound("357417055", hed, 10, 1)
| |
| 1427 | for i = 0,4,0.1 do | |
| 1428 | rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-0.1+0.1*math.cos(sine/20))*angles(math.rad(5),math.rad(0),math.rad(45)),0.15) | |
| 1429 | tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(-50)),.3) | |
| 1430 | RH.C0=clerp(RH.C0,cf(1,-0.9-0.1*math.cos(sine/20),0.025*math.cos(sine/20))*RHCF*angles(math.rad(-2),math.rad(0),math.rad(0)),0.15) | |
| 1431 | LH.C0=clerp(LH.C0,cf(-1,-0.9-0.1*math.cos(sine/20),0.025*math.cos(sine/20))*LHCF*angles(math.rad(-2),math.rad(0),math.rad(0)),0.15) | |
| 1432 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5+0.05*math.sin(sine/30), 0) * angles(math.rad(90), math.rad(0), math.rad(15)), 0.1) | |
| 1433 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.05*math.sin(sine/30), 0) * angles(math.rad(0), math.rad(0), math.rad(-15)), 0.1) | |
| 1434 | HW.C0 = clerp(HW.C0, CFrame.new(0,-.9,0)*angles (math.rad(-90),math.rad(90),math.rad(0)), 0.15) | |
| 1435 | end | |
| 1436 | wait(2.5) | |
| 1437 | CreateSound("623904185", hed, 10, 1)
| |
| 1438 | HITBODY:BreakJoints() | |
| 1439 | TORS.Anchored = false | |
| 1440 | attack = false | |
| 1441 | hum.WalkSpeed = 28 | |
| 1442 | bleed(TORS,25) | |
| 1443 | end | |
| 1444 | end | |
| 1445 | end | |
| 1446 | ||
| 1447 | ||
| 1448 | ||
| 1449 | ||
| 1450 | ||
| 1451 | ||
| 1452 | ||
| 1453 | ||
| 1454 | ||
| 1455 | ||
| 1456 | ||
| 1457 | ||
| 1458 | ---ATTACKS N STUFF | |
| 1459 | function HitboxFunction(Pose, lifetime, siz1, siz2, siz3, Radie, Min, Max, kb, atype) | |
| 1460 | Hitboxpart = Instance.new("Part", EffectModel)
| |
| 1461 | RemoveOutlines(Hitboxpart) | |
| 1462 | Hitboxpart.Size = Vector3.new(siz1, siz2, siz3) | |
| 1463 | Hitboxpart.CanCollide = false | |
| 1464 | Hitboxpart.Transparency = 1 | |
| 1465 | Hitboxpart.Anchored = true | |
| 1466 | Hitboxpart.CFrame = Pose | |
| 1467 | game:GetService("Debris"):AddItem(Hitboxpart, lifetime)
| |
| 1468 | MagniDamage(Hitboxpart, Radie, Min, Max, kb, atype) | |
| 1469 | end | |
| 1470 | wait2 = false | |
| 1471 | combo = 1 | |
| 1472 | mouse.Button1Down:connect(function(key) | |
| 1473 | if attack == false then | |
| 1474 | attack = true | |
| 1475 | hum.WalkSpeed = 3.01 | |
| 1476 | if combo == 1 and wait2 == false then | |
| 1477 | wait2 = true | |
| 1478 | for i = 0, 1.2, 0.1 do | |
| 1479 | swait() | |
| 1480 | rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(-5), math.rad(0), math.rad(-15)), 0.3) | |
| 1481 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
| 1482 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0.8) * angles(math.rad(175), math.rad(0), math.rad(0)), 0.1) | |
| 1483 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3) | |
| 1484 | RH.C0 = clerp(RH.C0, CFrame.new(1, -1, -0.2) * RHCF * angles(math.rad(0), math.rad(0), math.rad(-0)), 0.3) | |
| 1485 | LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(15), math.rad(-20)), 0.3) | |
| 1486 | end | |
| 1487 | Effects.Ring.Create(BrickColor.new("Institutional white"), ra.CFrame, 2, 2, 2, 0.1, 0.1, 0.1, 0.03)
| |
| 1488 | Slashy:Play() | |
| 1489 | HitboxFunction(Wedge.CFrame * CFrame.new(0, 0, -.9), 0.01, 1, 1, 1, 7, 24, 36, 3, "Normal") | |
| 1490 | for i = 0, 1.2, 0.1 do | |
| 1491 | swait() | |
| 1492 | rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(5), math.rad(0), math.rad(15)), 0.3) | |
| 1493 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
| 1494 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -0.8) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.1) | |
| 1495 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3) | |
| 1496 | RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-15), math.rad(-20)), 0.3) | |
| 1497 | LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(-0), math.rad(0)), 0.3) | |
| 1498 | end | |
| 1499 | combo = 2 | |
| 1500 | end | |
| 1501 | if combo == 2 and wait2 == false then | |
| 1502 | wait2 = true | |
| 1503 | HitboxFunction(ll.CFrame * CFrame.new(0, 0, .4), 0.01, 1, 1, 1, 7, 10, 20, 3, "Normal") | |
| 1504 | for i = 0, 1.4, 0.1 do | |
| 1505 | swait() | |
| 1506 | rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-1.25)*angles(math.rad(-20),math.rad(0),math.rad(0)),0.15) | |
| 1507 | tors.Neck.C0=clerp(tors.Neck.C0,necko*cf(0,0,0)*angles(math.rad(30),math.rad(0),math.rad(0)),0.15) | |
| 1508 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(10)), 0.3) | |
| 1509 | LW.C0=clerp(LW.C0,CFrame.new(-1.5,0.5,0)*angles(math.rad(-25),math.rad(0),math.rad(-4.5)),0.15) | |
| 1510 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(90),math.rad(90),math.rad(0))*angles(math.rad(-15),math.rad(0),math.rad(0)),0.15) | |
| 1511 | LH.C0=clerp(LH.C0,cf(-1,-1,-1)*angles(math.rad(-60),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),0.15) | |
| 1512 | end | |
| 1513 | combo = 3 | |
| 1514 | end | |
| 1515 | if combo == 3 and wait2 == false then | |
| 1516 | wait2 = true | |
| 1517 | ||
| 1518 | for i = 0, 1.2, 0.1 do | |
| 1519 | swait() | |
| 1520 | rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(-5), math.rad(0), math.rad(-15)), 0.3) | |
| 1521 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
| 1522 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0.8) * angles(math.rad(0), math.rad(0), math.rad(50)), 0.1) | |
| 1523 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3) | |
| 1524 | RH.C0 = clerp(RH.C0, CFrame.new(1, -1, -0.2) * RHCF * angles(math.rad(0), math.rad(0), math.rad(-0)), 0.3) | |
| 1525 | LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(15), math.rad(-20)), 0.3) | |
| 1526 | end | |
| 1527 | HitboxFunction(Wedge.CFrame * CFrame.new(0, 0, -.9), 0.01, 1, 1, 1, 7, 24, 36, 3, "Normal") | |
| 1528 | Effects.Ring.Create(BrickColor.new("Institutional white"), Wedge.CFrame, 2, 2, 2, 0.1, 0.1, 0.1, 0.03)
| |
| 1529 | Slashy:Play() | |
| 1530 | for i = 0, 1.2, 0.1 do | |
| 1531 | swait() | |
| 1532 | rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(5), math.rad(0), math.rad(30)), 0.3) | |
| 1533 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
| 1534 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -1) * angles(math.rad(55), math.rad(0), math.rad(40)), 0.1) | |
| 1535 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3) | |
| 1536 | RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-15), math.rad(-20)), 0.3) | |
| 1537 | LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(-0), math.rad(0)), 0.3) | |
| 1538 | end | |
| 1539 | combo = 1 | |
| 1540 | end | |
| 1541 | hum.WalkSpeed = 16 | |
| 1542 | wait2 = false | |
| 1543 | attack = false | |
| 1544 | end | |
| 1545 | end) | |
| 1546 | ||
| 1547 | ||
| 1548 | ||
| 1549 | ||
| 1550 | ||
| 1551 | ||
| 1552 | function DashingSpin() | |
| 1553 | attack = true | |
| 1554 | hum.WalkSpeed = 0 | |
| 1555 | CreateSound("707957812", workspace, 5, 1)
| |
| 1556 | Effects.Block.Create(BrickColor.new("Institutional white"), tors.CFrame, 2, 2, 2, 3.6, 3.6, 3.6, 0.05)
| |
| 1557 | Effects.Block.Create(BrickColor.new("Really black"), tors.CFrame, 2, 2, 2, 3.4, 3.4, 3.4, 0.03)
| |
| 1558 | Effects.Block.Create(BrickColor.new("Institutional white"), tors.CFrame, 2, 2, 2, 6.6, 6.6, 6.6, 0.05)
| |
| 1559 | Effects.Block.Create(BrickColor.new("Really black"), tors.CFrame, 2, 2, 2, 6.4, 6.4, 6.4, 0.05)
| |
| 1560 | Effects.Block.Create(BrickColor.new("Really black"), tors.CFrame, 2, 2, 2, 10.5, 10.5, 10.5, 0.05)
| |
| 1561 | ||
| 1562 | Effects.Ring.Create(BrickColor.new("Institutional white"), tors.CFrame, 2, 2, 2, 7.6, 7.6, 7.6, 0.03)
| |
| 1563 | Effects.Sphere.Create(maincolor, tors.CFrame, 2, 2, 2, 17.6, 17.6, 17.6, 0.02) | |
| 1564 | Effects.Sphere.Create(BrickColor.new("Dark indigo"), tors.CFrame, 2, 2, 2, 10.6, 10.6, 10.6, 0.02)
| |
| 1565 | Effects.Sphere.Create(BrickColor.new("Dark indigo"), tors.CFrame, 2, 2, 2, 14.6, 14.6, 14.6, 0.02)
| |
| 1566 | Effects.Sphere.Create(BrickColor.new("Dark indigo"), tors.CFrame, 2, 2, 2, 16.6, 16.6, 16.6, 0.02)
| |
| 1567 | Effects.Sphere.Create(BrickColor.new("Dark indigo"), tors.CFrame, 2, 2, 2, 5.6, 5.6, 5.6, 0.02)
| |
| 1568 | root.CFrame = root.CFrame + root.CFrame.lookVector * 35 | |
| 1569 | for i = 0,6,0.1 do | |
| 1570 | --Not to put a swait here this is going to be like, you know what just dont put a swait kthx | |
| 1571 | rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-1.25)*angles(math.rad(0),math.rad(0),math.rad(0)),0.15) | |
| 1572 | tors.Neck.C0=clerp(tors.Neck.C0,necko*cf(0,0,0)*angles(math.rad(30),math.rad(0),math.rad(0)),0.15) | |
| 1573 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5+0.05*math.sin(sine/30), 0) * angles(math.rad(0), math.rad(110), math.rad(90)), 0.1) | |
| 1574 | LW.C0=clerp(LW.C0,CFrame.new(-1.5,0.4,0)*angles(math.rad(0),math.rad(0),math.rad(-4.5)),0.15) | |
| 1575 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-60),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),0.15) | |
| 1576 | LH.C0=clerp(LH.C0,cf(-0.75,0.25,-1)*angles(math.rad(-15),math.rad(-90),math.rad(0))*angles(math.rad(-15),math.rad(0),math.rad(0)),0.15) | |
| 1577 | HW.C0 = clerp(HW.C0, CFrame.new(0,-.9,0)*angles (math.rad(-90),math.rad(0),math.rad(90)), 0.15) | |
| 1578 | end | |
| 1579 | for i = 0,9,0.1 do | |
| 1580 | swait() | |
| 1581 | MagniDamage(Wedge, 12, 6, 12, 10, "Normal") | |
| 1582 | rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-1.25+0.45*i)*angles(math.rad(0),math.rad(0),math.rad(0-255.45*i)),0.15) | |
| 1583 | tors.Neck.C0=clerp(tors.Neck.C0,necko*cf(0,0,0)*angles(math.rad(30-5.35*i),math.rad(0),math.rad(0)),0.15) | |
| 1584 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5+0.05*math.sin(sine/30), 0) * angles(math.rad(0), math.rad(110-25.35*i), math.rad(90)), 0.1) | |
| 1585 | LW.C0=clerp(LW.C0,CFrame.new(-1.5,0.4,0)*angles(math.rad(0+17.35*i),math.rad(0-25.35*i),math.rad(-4.5)),0.15) | |
| 1586 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-60+10.35*i),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),0.15) | |
| 1587 | LH.C0=clerp(LH.C0,cf(-0.75,0.25,-1)*angles(math.rad(-15),math.rad(-90),math.rad(0))*angles(math.rad(-15),math.rad(0),math.rad(0)),0.15) | |
| 1588 | HW.C0 = clerp(HW.C0, CFrame.new(0,-.9,0)*angles (math.rad(-90),math.rad(0),math.rad(90)), 0.15) | |
| 1589 | end | |
| 1590 | attack = false | |
| 1591 | hum.WalkSpeed = 28 | |
| 1592 | end | |
| 1593 | ||
| 1594 | ||
| 1595 | ||
| 1596 | ||
| 1597 | ||
| 1598 | ||
| 1599 | ||
| 1600 | mouse.KeyDown:connect(function(key) | |
| 1601 | if attack == false then | |
| 1602 | if key == 'q' then | |
| 1603 | NothingPersonal() | |
| 1604 | elseif key == 'c' then | |
| 1605 | CreateSound("367453005", hed, 10, 1)
| |
| 1606 | Effects.Sphere.Create(maincolor, tors.CFrame * CFrame.new(0, -1.2, 0), 100, 100, 100, 15, 15, 15, .1, .1) | |
| 1607 | root.CFrame = CFrame.new(CFrame.new(mouse.Hit.p)*CFrame.new(0,2.8,0).p,root.Position) | |
| 1608 | Effects.Sphere.Create(maincolor, tors.CFrame * CFrame.new(0, -1.2, 0), 100, 100, 100, 15, 15, 15, .1, .1) | |
| 1609 | elseif key == 'f' then | |
| 1610 | DashingSpin() | |
| 1611 | elseif key == 't' then | |
| 1612 | CreateSound("649634100", hed, 10, .89)
| |
| 1613 | end | |
| 1614 | end | |
| 1615 | end) | |
| 1616 | ||
| 1617 | ||
| 1618 | ||
| 1619 | ff = Instance.new("ForceField",char)
| |
| 1620 | ff.Visible = false | |
| 1621 | ||
| 1622 | local idle=0 | |
| 1623 | local change = 1 | |
| 1624 | local val = 0 | |
| 1625 | toim = 0 | |
| 1626 | hum.Animator.Parent = nil | |
| 1627 | idleanim=.4 | |
| 1628 | while true do | |
| 1629 | swait() | |
| 1630 | hum.MaxHealth = math.huge | |
| 1631 | hum.Health = math.huge | |
| 1632 | hum.Name = "TheXEvent" | |
| 1633 | sine = sine + change | |
| 1634 | local torvel=(root.Velocity*Vector3.new(1,0,1)).magnitude | |
| 1635 | local velderp=root.Velocity.y | |
| 1636 | hitfloor,posfloor=rayCast(root.Position,(CFrame.new(root.Position,root.Position - Vector3.new(0,1,0))).lookVector,4,char) | |
| 1637 | if equipped==true or equipped==false then | |
| 1638 | if attack==false then | |
| 1639 | idle=idle+1 | |
| 1640 | else | |
| 1641 | idle=0 | |
| 1642 | end | |
| 1643 | if root.Velocity.y > 1 and hitfloor==nil then | |
| 1644 | Anim="Jump" | |
| 1645 | if attack==false then | |
| 1646 | rootj.C0 = clerp(rootj.C0,RootCF*cf(0,0,-0.1+0.1*math.cos(sine/20))* angles(math.rad(10),math.rad(0),math.rad(0)),.3) | |
| 1647 | tors.Neck.C0 = clerp(tors.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3) | |
| 1648 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(20)), 0.3) | |
| 1649 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-30)), 0.3) | |
| 1650 | LH.C0=clerp(LH.C0,cf(-1,-.9-0.1*math.cos(sine/20),-0.3)*LHCF*angles(math.rad(-5),math.rad(-0),math.rad(20)),0.15) | |
| 1651 | RH.C0=clerp(RH.C0,cf(1,-1,0.3)*angles(math.rad(0),math.rad(90),math.rad(-20)),.3) | |
| 1652 | end | |
| 1653 | elseif root.Velocity.y < -1 and hitfloor==nil then | |
| 1654 | Anim="Fall" | |
| 1655 | if attack==false then | |
| 1656 | rootj.C0 = clerp(rootj.C0,RootCF*cf(0,0,-0.1+0.1*math.cos(sine/20))* angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
| 1657 | tors.Neck.C0 = clerp(tors.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3) | |
| 1658 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(90)), 0.3) | |
| 1659 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-90)), 0.3) | |
| 1660 | LH.C0=clerp(LH.C0,cf(-1,-.4-0.1*math.cos(sine/20),-.6)*LHCF*angles(math.rad(-5),math.rad(-0),math.rad(20)),0.15) | |
| 1661 | RH.C0=clerp(RH.C0,cf(1,-.3-0.1*math.cos(sine/20),-.6)*angles(math.rad(0),math.rad(90),math.rad(-20)),.3) | |
| 1662 | end | |
| 1663 | elseif torvel<1 and hitfloor~=nil then | |
| 1664 | Anim="Idle" | |
| 1665 | change = 1 | |
| 1666 | if attack==false then | |
| 1667 | rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,0.6+0.5*math.cos(sine/20))*angles(math.rad(0),math.rad(0),math.rad(43)),0.15) | |
| 1668 | tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(-2.5*math.cos(sine/20)),math.rad(0),math.rad(-25)),.3) | |
| 1669 | RH.C0=clerp(RH.C0,cf(1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*RHCF*angles(math.rad(-5),math.rad(0),math.rad(0)),0.15) | |
| 1670 | LH.C0=clerp(LH.C0,cf(-1,-.6-0.1*math.cos(sine/20),-.085)*LHCF*angles(math.rad(-5),math.rad(-0),math.rad(0)),0.15) | |
| 1671 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(0),math.rad(-40), math.rad(15)), 0.1) | |
| 1672 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(0), math.rad(-0), math.rad(-10)), 0.1) | |
| 1673 | HW.C0 = clerp(HW.C0, CFrame.new(0,-.9,0)*angles (math.rad(-90),math.rad(0),math.rad(90)), 0.15) | |
| 1674 | end | |
| 1675 | ||
| 1676 | elseif (tors.Velocity).magnitude < 50 and hitfloor ~= nil then | |
| 1677 | Anim="Walk" | |
| 1678 | change = 1 | |
| 1679 | if attack==false then | |
| 1680 | rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,0.6+0.5*math.cos(sine/20))*angles(math.rad(20),math.rad(0),math.rad(0)),0.15) | |
| 1681 | tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(-2.5*math.cos(sine/20)),math.rad(0),math.rad(-0)),.3) | |
| 1682 | RH.C0=clerp(RH.C0,cf(1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*RHCF*angles(math.rad(-5),math.rad(0),math.rad(0)),0.15) | |
| 1683 | LH.C0=clerp(LH.C0,cf(-1,-.4-0.1*math.cos(sine/20),-.3)*LHCF*angles(math.rad(-5),math.rad(-0),math.rad(20)),0.15) | |
| 1684 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(0),math.rad(-5), math.rad(15)), 0.1) | |
| 1685 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(0), math.rad(-0), math.rad(-10)), 0.1) | |
| 1686 | HW.C0 = clerp(HW.C0, CFrame.new(0,-.9,0)*angles (math.rad(-90),math.rad(0),math.rad(90)), 0.15) | |
| 1687 | end | |
| 1688 | end | |
| 1689 | end | |
| 1690 | ||
| 1691 | if 0 < #Effects then | |
| 1692 | for e = 1, #Effects do | |
| 1693 | if Effects[e] ~= nil then | |
| 1694 | local Thing = Effects[e] | |
| 1695 | if Thing ~= nil then | |
| 1696 | local Part = Thing[1] | |
| 1697 | local Mode = Thing[2] | |
| 1698 | local Delay = Thing[3] | |
| 1699 | local IncX = Thing[4] | |
| 1700 | local IncY = Thing[5] | |
| 1701 | local IncZ = Thing[6] | |
| 1702 | if 1 >= Thing[1].Transparency then | |
| 1703 | if Thing[2] == "Block1" then | |
| 1704 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
| 1705 | local Mesh = Thing[1].Mesh | |
| 1706 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 1707 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1708 | elseif Thing[2] == "Block2" then | |
| 1709 | Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0) | |
| 1710 | local Mesh = Thing[7] | |
| 1711 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 1712 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1713 | elseif Thing[2] == "Block3" then | |
| 1714 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) + Vector3.new(0, 0.15, 0) | |
| 1715 | local Mesh = Thing[7] | |
| 1716 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 1717 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1718 | elseif Thing[2] == "Cylinder" then | |
| 1719 | local Mesh = Thing[1].Mesh | |
| 1720 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 1721 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1722 | elseif Thing[2] == "Blood" then | |
| 1723 | local Mesh = Thing[7] | |
| 1724 | Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0) | |
| 1725 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 1726 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1727 | elseif Thing[2] == "Elec" then | |
| 1728 | local Mesh = Thing[1].Mesh | |
| 1729 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9]) | |
| 1730 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1731 | elseif Thing[2] == "Disappear" then | |
| 1732 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1733 | elseif Thing[2] == "Shatter" then | |
| 1734 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1735 | Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0) | |
| 1736 | Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0) | |
| 1737 | Thing[6] = Thing[6] + Thing[5] | |
| 1738 | end | |
| 1739 | else | |
| 1740 | Part.Parent = nil | |
| 1741 | table.remove(Effects, e) | |
| 1742 | end | |
| 1743 | end | |
| 1744 | end | |
| 1745 | end | |
| 1746 | end | |
| 1747 | if VALUE1 == false and attack == false then | |
| 1748 | intro() | |
| 1749 | end | |
| 1750 | end |