SHOW:
|
|
- or go back to the newest paste.
| 1 | ----------------------- | |
| 2 | --[[ Name : CoffeeCopter ]]-- | |
| 3 | --[[ Description : Based off an old name. ]]-- | |
| 4 | --[[ \ None / ]]-- | |
| 5 | ------------------------------------------------------- | |
| 6 | --A script By Creterisk/makhail07 | |
| 7 | --Discord Creterisk#2958 | |
| 8 | ------------------------------------------------------- | |
| 9 | ||
| 10 | --Everything is Meaningless..... | |
| 11 | ||
| 12 | wait(1 / 60) | |
| 13 | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
| |
| 14 | local Player,Mouse,mouse,UserInputService,ContextActionService = owner | |
| 15 | do | |
| 16 | print("FE Compatibility code by Mokiros")
| |
| 17 | script.Parent = Player.Character | |
| 18 | ||
| 19 | --RemoteEvent for communicating | |
| 20 | local Event = Instance.new("RemoteEvent")
| |
| 21 | Event.Name = "UserInput_Event" | |
| 22 | ||
| 23 | --Fake event to make stuff like Mouse.KeyDown work | |
| 24 | local function fakeEvent() | |
| 25 | local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
| |
| 26 | t.connect = t.Connect | |
| 27 | return t | |
| 28 | end | |
| 29 | ||
| 30 | --Creating fake input objects with fake variables | |
| 31 | local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
| |
| 32 | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
| |
| 33 | local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
| |
| 34 | CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
| |
| 35 | end} | |
| 36 | --Merged 2 functions into one by checking amount of arguments | |
| 37 | CAS.UnbindAction = CAS.BindAction | |
| 38 | ||
| 39 | --This function will trigger the events that have been :Connect()'ed | |
| 40 | local function te(self,ev,...) | |
| 41 | local t = m[ev] | |
| 42 | if t and t._fakeEvent and t.Function then | |
| 43 | t.Function(...) | |
| 44 | end | |
| 45 | end | |
| 46 | m.TrigEvent = te | |
| 47 | UIS.TrigEvent = te | |
| 48 | ||
| 49 | Event.OnServerEvent:Connect(function(plr,io) | |
| 50 | if plr~=Player then return end | |
| 51 | if io.isMouse then | |
| 52 | m.Target = io.Target | |
| 53 | m.Hit = io.Hit | |
| 54 | else | |
| 55 | local b = io.UserInputState == Enum.UserInputState.Begin | |
| 56 | if io.UserInputType == Enum.UserInputType.MouseButton1 then | |
| 57 | return m:TrigEvent(b and "Button1Down" or "Button1Up") | |
| 58 | end | |
| 59 | for _,t in pairs(CAS.Actions) do | |
| 60 | for _,k in pairs(t.Keys) do | |
| 61 | if k==io.KeyCode then | |
| 62 | t.Function(t.Name,io.UserInputState,io) | |
| 63 | end | |
| 64 | end | |
| 65 | end | |
| 66 | m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower()) | |
| 67 | UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false) | |
| 68 | end | |
| 69 | end) | |
| 70 | Event.Parent = NLS([==[ | |
| 71 | local Player = game:GetService("Players").LocalPlayer
| |
| 72 | local Event = script:WaitForChild("UserInput_Event")
| |
| 73 | ||
| 74 | local UIS = game:GetService("UserInputService")
| |
| 75 | local input = function(io,a) | |
| 76 | if a then return end | |
| 77 | --Since InputObject is a client-side instance, we create and pass table instead | |
| 78 | Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
| |
| 79 | end | |
| 80 | UIS.InputBegan:Connect(input) | |
| 81 | UIS.InputEnded:Connect(input) | |
| 82 | ||
| 83 | local Mouse = Player:GetMouse() | |
| 84 | local h,t | |
| 85 | --Give the server mouse data 30 times every second, but only if the values changed | |
| 86 | --If player is not moving their mouse, client won't fire events | |
| 87 | while wait(1/30) do | |
| 88 | if h~=Mouse.Hit or t~=Mouse.Target then | |
| 89 | h,t=Mouse.Hit,Mouse.Target | |
| 90 | Event:FireServer({isMouse=true,Target=t,Hit=h})
| |
| 91 | end | |
| 92 | end]==],Player.Character) | |
| 93 | Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS | |
| 94 | end | |
| 95 | ||
| 96 | local plr = owner | |
| 97 | print('Local User is '..plr.Name)
| |
| 98 | print('CoffeeCopter Loaded')
| |
| 99 | print([[ | |
| 100 | I honestly, don't know why I made this, | |
| 101 | but it's a simple script, so I don't really care much about it. | |
| 102 | ||
| 103 | Controls : | |
| 104 | T - Taunt ( Random Sentences ) | |
| 105 | Q - Sitt | |
| 106 | Click - Sipp | |
| 107 | ]]) | |
| 108 | local char = plr.character | |
| 109 | print('Player name: '..plr.Name)
| |
| 110 | local hum = char:FindFirstChildOfClass'Humanoid' | |
| 111 | local hed = char.Head | |
| 112 | local root = char:FindFirstChild'HumanoidRootPart' | |
| 113 | local rootj = root.RootJoint | |
| 114 | local tors = char.Torso | |
| 115 | local ra = char["Right Arm"] | |
| 116 | local la = char["Left Arm"] | |
| 117 | local rl = char["Right Leg"] | |
| 118 | local ll = char["Left Leg"] | |
| 119 | local neck = tors["Neck"] | |
| 120 | local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14) | |
| 121 | local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0) | |
| 122 | local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0) | |
| 123 | local maincolor = BrickColor.new("Bright green")
| |
| 124 | ------------------------------------------------------- | |
| 125 | --Start Good Stuff-- | |
| 126 | ------------------------------------------------------- | |
| 127 | cam = game.Workspace.CurrentCamera | |
| 128 | CF = CFrame.new | |
| 129 | angles = CFrame.Angles | |
| 130 | attack = false | |
| 131 | Mode = 1 | |
| 132 | Euler = CFrame.fromEulerAnglesXYZ | |
| 133 | Rad = math.rad | |
| 134 | IT = Instance.new | |
| 135 | vt = Vector3.new | |
| 136 | BrickC = BrickColor.new | |
| 137 | Cos = math.cos | |
| 138 | Acos = math.acos | |
| 139 | Sin = math.sin | |
| 140 | Asin = math.asin | |
| 141 | Abs = math.abs | |
| 142 | Mrandom = math.random | |
| 143 | Floor = math.floor | |
| 144 | ------------------------------------------------------- | |
| 145 | --End Good Stuff-- | |
| 146 | ------------------------------------------------------- | |
| 147 | necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
| 148 | RSH, LSH = nil, nil | |
| 149 | RW = Instance.new("Weld")
| |
| 150 | LW = Instance.new("Weld")
| |
| 151 | RH = tors["Right Hip"] | |
| 152 | LH = tors["Left Hip"] | |
| 153 | RSH = tors["Right Shoulder"] | |
| 154 | LSH = tors["Left Shoulder"] | |
| 155 | RSH.Parent = nil | |
| 156 | LSH.Parent = nil | |
| 157 | RW.Name = "RW" | |
| 158 | RW.Part0 = tors | |
| 159 | RW.C0 = CF(1.5, 0.5, 0) | |
| 160 | RW.C1 = CF(0, 0.5, 0) | |
| 161 | RW.Part1 = ra | |
| 162 | it=Instance.new | |
| 163 | RW.Parent = tors | |
| 164 | LW.Name = "LW" | |
| 165 | LW.Part0 = tors | |
| 166 | LW.C0 = CF(-1.5, 0.5, 0) | |
| 167 | LW.C1 = CF(0, 0.5, 0) | |
| 168 | LW.Part1 = la | |
| 169 | LW.Parent = tors | |
| 170 | Effects = {}
| |
| 171 | newWeld = function(wp0, wp1, wc0x, wc0y, wc0z) | |
| 172 | local wld = Instance.new("Weld", wp1)
| |
| 173 | wld.Part0 = wp0 | |
| 174 | wld.Part1 = wp1 | |
| 175 | wld.C0 = CFrame.new(wc0x, wc0y, wc0z) | |
| 176 | end | |
| 177 | newWeld(tors, ll, -0.5, -1, 0) | |
| 178 | ll.Weld.C1 = CFrame.new(0, 1, 0) | |
| 179 | newWeld(tors, rl, 0.5, -1, 0) | |
| 180 | rl.Weld.C1 = CFrame.new(0, 1, 0) | |
| 181 | ------------------------------------------------------- | |
| 182 | --Start HeartBeat-- | |
| 183 | ------------------------------------------------------- | |
| 184 | ArtificialHB = Instance.new("BindableEvent", script)
| |
| 185 | ArtificialHB.Name = "Heartbeat" | |
| 186 | script:WaitForChild("Heartbeat")
| |
| 187 | ||
| 188 | frame = 1 / 60 | |
| 189 | tf = 0 | |
| 190 | allowframeloss = false | |
| 191 | tossremainder = false | |
| 192 | ||
| 193 | ||
| 194 | lastframe = tick() | |
| 195 | script.Heartbeat:Fire() | |
| 196 | ||
| 197 | ||
| 198 | game:GetService("RunService").Heartbeat:connect(function(s, p)
| |
| 199 | tf = tf + s | |
| 200 | if tf >= frame then | |
| 201 | if allowframeloss then | |
| 202 | script.Heartbeat:Fire() | |
| 203 | lastframe = tick() | |
| 204 | else | |
| 205 | for i = 1, math.floor(tf / frame) do | |
| 206 | script.Heartbeat:Fire() | |
| 207 | end | |
| 208 | lastframe = tick() | |
| 209 | end | |
| 210 | if tossremainder then | |
| 211 | tf = 0 | |
| 212 | else | |
| 213 | tf = tf - frame * math.floor(tf / frame) | |
| 214 | end | |
| 215 | end | |
| 216 | end) | |
| 217 | ------------------------------------------------------- | |
| 218 | --End HeartBeat-- | |
| 219 | ------------------------------------------------------- | |
| 220 | ||
| 221 | ------------------------------------------------------- | |
| 222 | --Start Important Functions-- | |
| 223 | ------------------------------------------------------- | |
| 224 | function swait(num) | |
| 225 | if num == 0 or num == nil then | |
| 226 | game:service("RunService").Stepped:wait(0)
| |
| 227 | else | |
| 228 | for i = 0, num do | |
| 229 | game:service("RunService").Stepped:wait(0)
| |
| 230 | end | |
| 231 | end | |
| 232 | end | |
| 233 | function thread(f) | |
| 234 | coroutine.resume(coroutine.create(f)) | |
| 235 | end | |
| 236 | function clerp(a, b, t) | |
| 237 | local qa = {
| |
| 238 | QuaternionFromCFrame(a) | |
| 239 | } | |
| 240 | local qb = {
| |
| 241 | QuaternionFromCFrame(b) | |
| 242 | } | |
| 243 | local ax, ay, az = a.x, a.y, a.z | |
| 244 | local bx, by, bz = b.x, b.y, b.z | |
| 245 | local _t = 1 - t | |
| 246 | return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t)) | |
| 247 | end | |
| 248 | function QuaternionFromCFrame(cf) | |
| 249 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
| 250 | local trace = m00 + m11 + m22 | |
| 251 | if trace > 0 then | |
| 252 | local s = math.sqrt(1 + trace) | |
| 253 | local recip = 0.5 / s | |
| 254 | return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5 | |
| 255 | else | |
| 256 | local i = 0 | |
| 257 | if m00 < m11 then | |
| 258 | i = 1 | |
| 259 | end | |
| 260 | if m22 > (i == 0 and m00 or m11) then | |
| 261 | i = 2 | |
| 262 | end | |
| 263 | if i == 0 then | |
| 264 | local s = math.sqrt(m00 - m11 - m22 + 1) | |
| 265 | local recip = 0.5 / s | |
| 266 | return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip | |
| 267 | elseif i == 1 then | |
| 268 | local s = math.sqrt(m11 - m22 - m00 + 1) | |
| 269 | local recip = 0.5 / s | |
| 270 | return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip | |
| 271 | elseif i == 2 then | |
| 272 | local s = math.sqrt(m22 - m00 - m11 + 1) | |
| 273 | local recip = 0.5 / s | |
| 274 | return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip | |
| 275 | end | |
| 276 | end | |
| 277 | end | |
| 278 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
| 279 | local xs, ys, zs = x + x, y + y, z + z | |
| 280 | local wx, wy, wz = w * xs, w * ys, w * zs | |
| 281 | local xx = x * xs | |
| 282 | local xy = x * ys | |
| 283 | local xz = x * zs | |
| 284 | local yy = y * ys | |
| 285 | local yz = y * zs | |
| 286 | local zz = z * zs | |
| 287 | 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)) | |
| 288 | end | |
| 289 | function QuaternionSlerp(a, b, t) | |
| 290 | local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4] | |
| 291 | local startInterp, finishInterp | |
| 292 | if cosTheta >= 1.0E-4 then | |
| 293 | if 1 - cosTheta > 1.0E-4 then | |
| 294 | local theta = math.acos(cosTheta) | |
| 295 | local invSinTheta = 1 / Sin(theta) | |
| 296 | startInterp = Sin((1 - t) * theta) * invSinTheta | |
| 297 | finishInterp = Sin(t * theta) * invSinTheta | |
| 298 | else | |
| 299 | startInterp = 1 - t | |
| 300 | finishInterp = t | |
| 301 | end | |
| 302 | elseif 1 + cosTheta > 1.0E-4 then | |
| 303 | local theta = math.acos(-cosTheta) | |
| 304 | local invSinTheta = 1 / Sin(theta) | |
| 305 | startInterp = Sin((t - 1) * theta) * invSinTheta | |
| 306 | finishInterp = Sin(t * theta) * invSinTheta | |
| 307 | else | |
| 308 | startInterp = t - 1 | |
| 309 | finishInterp = t | |
| 310 | end | |
| 311 | 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 | |
| 312 | end | |
| 313 | function rayCast(Position, Direction, Range, Ignore) | |
| 314 | return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
| |
| 315 | end | |
| 316 | local RbxUtility = LoadLibrary("RbxUtility")
| |
| 317 | local Create = RbxUtility.Create | |
| 318 | ||
| 319 | ------------------------------------------------------- | |
| 320 | --Start Damage Function-- | |
| 321 | ------------------------------------------------------- | |
| 322 | function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch) | |
| 323 | if hit.Parent == nil then | |
| 324 | return | |
| 325 | end | |
| 326 | local h = hit.Parent:FindFirstChildOfClass("Humanoid")
| |
| 327 | for _, v in pairs(hit.Parent:children()) do | |
| 328 | if v:IsA("Humanoid") then
| |
| 329 | h = v | |
| 330 | end | |
| 331 | end | |
| 332 | if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
| |
| 333 | ||
| 334 | hit.Parent:FindFirstChild("Head"):BreakJoints()
| |
| 335 | end | |
| 336 | ||
| 337 | if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
| |
| 338 | if hit.Parent:findFirstChild("DebounceHit") ~= nil then
| |
| 339 | if hit.Parent.DebounceHit.Value == true then | |
| 340 | return | |
| 341 | end | |
| 342 | end | |
| 343 | if insta == true then | |
| 344 | hit.Parent:FindFirstChild("Head"):BreakJoints()
| |
| 345 | end | |
| 346 | local c = Create("ObjectValue"){
| |
| 347 | Name = "creator", | |
| 348 | Value = game:service("Players").LocalPlayer,
| |
| 349 | Parent = h, | |
| 350 | } | |
| 351 | game:GetService("Debris"):AddItem(c, .5)
| |
| 352 | if HitSound ~= nil and HitPitch ~= nil then | |
| 353 | CFuncs.Sound.Create(HitSound, hit, 1, HitPitch) | |
| 354 | end | |
| 355 | local Damage = math.random(minim, maxim) | |
| 356 | local blocked = false | |
| 357 | local block = hit.Parent:findFirstChild("Block")
| |
| 358 | if block ~= nil then | |
| 359 | if block.className == "IntValue" then | |
| 360 | if block.Value > 0 then | |
| 361 | blocked = true | |
| 362 | block.Value = block.Value - 1 | |
| 363 | print(block.Value) | |
| 364 | end | |
| 365 | end | |
| 366 | end | |
| 367 | if blocked == false then | |
| 368 | h.Health = h.Health - Damage | |
| 369 | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color) | |
| 370 | else | |
| 371 | h.Health = h.Health - (Damage / 2) | |
| 372 | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color) | |
| 373 | end | |
| 374 | if Type == "Knockdown" then | |
| 375 | local hum = hit.Parent.Humanoid | |
| 376 | hum.PlatformStand = true | |
| 377 | coroutine.resume(coroutine.create(function(HHumanoid) | |
| 378 | swait(1) | |
| 379 | HHumanoid.PlatformStand = false | |
| 380 | end), hum) | |
| 381 | local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit | |
| 382 | local bodvol = Create("BodyVelocity"){
| |
| 383 | velocity = angle * knockback, | |
| 384 | P = 5000, | |
| 385 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
| 386 | Parent = hit, | |
| 387 | } | |
| 388 | local rl = Create("BodyAngularVelocity"){
| |
| 389 | P = 3000, | |
| 390 | maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, | |
| 391 | angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), | |
| 392 | Parent = hit, | |
| 393 | } | |
| 394 | game:GetService("Debris"):AddItem(bodvol, .5)
| |
| 395 | game:GetService("Debris"):AddItem(rl, .5)
| |
| 396 | elseif Type == "Normal" then | |
| 397 | local vp = Create("BodyVelocity"){
| |
| 398 | P = 500, | |
| 399 | maxForce = Vector3.new(math.huge, 0, math.huge), | |
| 400 | velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05, | |
| 401 | } | |
| 402 | if knockback > 0 then | |
| 403 | vp.Parent = hit.Parent.Torso | |
| 404 | end | |
| 405 | game:GetService("Debris"):AddItem(vp, .5)
| |
| 406 | elseif Type == "Up" then | |
| 407 | local bodyVelocity = Create("BodyVelocity"){
| |
| 408 | velocity = Vector3.new(0, 20, 0), | |
| 409 | P = 5000, | |
| 410 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
| 411 | Parent = hit, | |
| 412 | } | |
| 413 | game:GetService("Debris"):AddItem(bodyVelocity, .5)
| |
| 414 | elseif Type == "DarkUp" then | |
| 415 | coroutine.resume(coroutine.create(function() | |
| 416 | for i = 0, 1, 0.1 do | |
| 417 | swait() | |
| 418 | Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
| |
| 419 | end | |
| 420 | end)) | |
| 421 | local bodyVelocity = Create("BodyVelocity"){
| |
| 422 | velocity = Vector3.new(0, 20, 0), | |
| 423 | P = 5000, | |
| 424 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
| 425 | Parent = hit, | |
| 426 | } | |
| 427 | game:GetService("Debris"):AddItem(bodyVelocity, 1)
| |
| 428 | elseif Type == "Snare" then | |
| 429 | local bp = Create("BodyPosition"){
| |
| 430 | P = 2000, | |
| 431 | D = 100, | |
| 432 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
| 433 | position = hit.Parent.Torso.Position, | |
| 434 | Parent = hit.Parent.Torso, | |
| 435 | } | |
| 436 | game:GetService("Debris"):AddItem(bp, 1)
| |
| 437 | elseif Type == "Freeze" then | |
| 438 | local BodPos = Create("BodyPosition"){
| |
| 439 | P = 50000, | |
| 440 | D = 1000, | |
| 441 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
| 442 | position = hit.Parent.Torso.Position, | |
| 443 | Parent = hit.Parent.Torso, | |
| 444 | } | |
| 445 | local BodGy = Create("BodyGyro") {
| |
| 446 | maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge , | |
| 447 | P = 20e+003, | |
| 448 | Parent = hit.Parent.Torso, | |
| 449 | cframe = hit.Parent.Torso.CFrame, | |
| 450 | } | |
| 451 | hit.Parent.Torso.Anchored = true | |
| 452 | coroutine.resume(coroutine.create(function(Part) | |
| 453 | swait(1.5) | |
| 454 | Part.Anchored = false | |
| 455 | end), hit.Parent.Torso) | |
| 456 | game:GetService("Debris"):AddItem(BodPos, 3)
| |
| 457 | game:GetService("Debris"):AddItem(BodGy, 3)
| |
| 458 | end | |
| 459 | local debounce = Create("BoolValue"){
| |
| 460 | Name = "DebounceHit", | |
| 461 | Parent = hit.Parent, | |
| 462 | Value = true, | |
| 463 | } | |
| 464 | game:GetService("Debris"):AddItem(debounce, Delay)
| |
| 465 | c = Create("ObjectValue"){
| |
| 466 | Name = "creator", | |
| 467 | Value = Player, | |
| 468 | Parent = h, | |
| 469 | } | |
| 470 | game:GetService("Debris"):AddItem(c, .5)
| |
| 471 | end | |
| 472 | end | |
| 473 | ------------------------------------------------------- | |
| 474 | --End Damage Function-- | |
| 475 | ------------------------------------------------------- | |
| 476 | ||
| 477 | ------------------------------------------------------- | |
| 478 | --Start Damage Function Customization-- | |
| 479 | ------------------------------------------------------- | |
| 480 | function sphere(bonuspeed,type,pos,scale,value,color) | |
| 481 | local type = type | |
| 482 | local rng = Instance.new("Part", char)
| |
| 483 | rng.Anchored = true | |
| 484 | rng.BrickColor = color | |
| 485 | rng.CanCollide = false | |
| 486 | rng.FormFactor = 3 | |
| 487 | rng.Name = "Ring" | |
| 488 | rng.Material = "Neon" | |
| 489 | rng.Size = Vector3.new(1, 1, 1) | |
| 490 | rng.Transparency = 0 | |
| 491 | rng.TopSurface = 0 | |
| 492 | rng.BottomSurface = 0 | |
| 493 | rng.CFrame = pos | |
| 494 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 495 | rngm.MeshType = "Sphere" | |
| 496 | rngm.Scale = scale | |
| 497 | local scaler2 = 1 | |
| 498 | if type == "Add" then | |
| 499 | scaler2 = 1*value | |
| 500 | elseif type == "Divide" then | |
| 501 | scaler2 = 1/value | |
| 502 | end | |
| 503 | coroutine.resume(coroutine.create(function() | |
| 504 | for i = 0,10/bonuspeed,0.1 do | |
| 505 | swait() | |
| 506 | if type == "Add" then | |
| 507 | scaler2 = scaler2 - 0.01*value/bonuspeed | |
| 508 | elseif type == "Divide" then | |
| 509 | scaler2 = scaler2 - 0.01/value*bonuspeed | |
| 510 | end | |
| 511 | rng.Transparency = rng.Transparency + 0.01*bonuspeed | |
| 512 | rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed) | |
| 513 | end | |
| 514 | rng:Destroy() | |
| 515 | end)) | |
| 516 | end | |
| 517 | function ShowDamage(Pos, Text, Time, Color) | |
| 518 | local Rate = (1 / 30) | |
| 519 | local Pos = (Pos or Vector3.new(0, 0, 0)) | |
| 520 | local Text = (Text or "") | |
| 521 | local Time = (Time or 2) | |
| 522 | local Color = (Color or Color3.new(1, 0, 1)) | |
| 523 | local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0)) | |
| 524 | EffectPart.Anchored = true | |
| 525 | local BillboardGui = Create("BillboardGui"){
| |
| 526 | Size = UDim2.new(3, 0, 3, 0), | |
| 527 | Adornee = EffectPart, | |
| 528 | Parent = EffectPart, | |
| 529 | } | |
| 530 | local TextLabel = Create("TextLabel"){
| |
| 531 | BackgroundTransparency = 1, | |
| 532 | Size = UDim2.new(1, 0, 1, 0), | |
| 533 | Text = Text, | |
| 534 | Font = "Bodoni", | |
| 535 | TextColor3 = Color, | |
| 536 | TextScaled = true, | |
| 537 | TextStrokeColor3 = Color3.fromRGB(0,0,0), | |
| 538 | Parent = BillboardGui, | |
| 539 | } | |
| 540 | game.Debris:AddItem(EffectPart, (Time)) | |
| 541 | EffectPart.Parent = game:GetService("Workspace")
| |
| 542 | delay(0, function() | |
| 543 | local Frames = (Time / Rate) | |
| 544 | for Frame = 1, Frames do | |
| 545 | wait(Rate) | |
| 546 | local Percent = (Frame / Frames) | |
| 547 | EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0) | |
| 548 | TextLabel.TextTransparency = Percent | |
| 549 | end | |
| 550 | if EffectPart and EffectPart.Parent then | |
| 551 | EffectPart:Destroy() | |
| 552 | end | |
| 553 | end) | |
| 554 | end | |
| 555 | ------------------------------------------------------- | |
| 556 | --End Damage Function Customization-- | |
| 557 | ------------------------------------------------------- | |
| 558 | ||
| 559 | function MagniDamage(Part, magni, mindam, maxdam, knock, Type) | |
| 560 | for _, c in pairs(workspace:children()) do | |
| 561 | local hum = c:findFirstChild("Humanoid")
| |
| 562 | if hum ~= nil then | |
| 563 | local head = c:findFirstChild("Head")
| |
| 564 | if head ~= nil then | |
| 565 | local targ = head.Position - Part.Position | |
| 566 | local mag = targ.magnitude | |
| 567 | if magni >= mag and c.Name ~= plr.Name then | |
| 568 | Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=0", 1.2) | |
| 569 | end | |
| 570 | end | |
| 571 | end | |
| 572 | end | |
| 573 | end | |
| 574 | ||
| 575 | ||
| 576 | CFuncs = {
| |
| 577 | Part = {
| |
| 578 | Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
| 579 | local Part = Create("Part")({
| |
| 580 | Parent = Parent, | |
| 581 | Reflectance = Reflectance, | |
| 582 | Transparency = Transparency, | |
| 583 | CanCollide = false, | |
| 584 | Locked = true, | |
| 585 | BrickColor = BrickColor.new(tostring(BColor)), | |
| 586 | Name = Name, | |
| 587 | Size = Size, | |
| 588 | Material = Material | |
| 589 | }) | |
| 590 | RemoveOutlines(Part) | |
| 591 | return Part | |
| 592 | end | |
| 593 | }, | |
| 594 | Mesh = {
| |
| 595 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
| 596 | local Msh = Create(Mesh)({
| |
| 597 | Parent = Part, | |
| 598 | Offset = OffSet, | |
| 599 | Scale = Scale | |
| 600 | }) | |
| 601 | if Mesh == "SpecialMesh" then | |
| 602 | Msh.MeshType = MeshType | |
| 603 | Msh.MeshId = MeshId | |
| 604 | end | |
| 605 | return Msh | |
| 606 | end | |
| 607 | }, | |
| 608 | Mesh = {
| |
| 609 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
| 610 | local Msh = Create(Mesh)({
| |
| 611 | Parent = Part, | |
| 612 | Offset = OffSet, | |
| 613 | Scale = Scale | |
| 614 | }) | |
| 615 | if Mesh == "SpecialMesh" then | |
| 616 | Msh.MeshType = MeshType | |
| 617 | Msh.MeshId = MeshId | |
| 618 | end | |
| 619 | return Msh | |
| 620 | end | |
| 621 | }, | |
| 622 | Weld = {
| |
| 623 | Create = function(Parent, Part0, Part1, C0, C1) | |
| 624 | local Weld = Create("Weld")({
| |
| 625 | Parent = Parent, | |
| 626 | Part0 = Part0, | |
| 627 | Part1 = Part1, | |
| 628 | C0 = C0, | |
| 629 | C1 = C1 | |
| 630 | }) | |
| 631 | return Weld | |
| 632 | end | |
| 633 | }, | |
| 634 | Sound = {
| |
| 635 | Create = function(id, par, vol, pit) | |
| 636 | coroutine.resume(coroutine.create(function() | |
| 637 | local S = Create("Sound")({
| |
| 638 | Volume = vol, | |
| 639 | Pitch = pit or 1, | |
| 640 | SoundId = id, | |
| 641 | Parent = par or workspace | |
| 642 | }) | |
| 643 | wait() | |
| 644 | S:play() | |
| 645 | game:GetService("Debris"):AddItem(S, 6)
| |
| 646 | end)) | |
| 647 | end | |
| 648 | }, | |
| 649 | ParticleEmitter = {
| |
| 650 | Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread) | |
| 651 | local fp = Create("ParticleEmitter")({
| |
| 652 | Parent = Parent, | |
| 653 | Color = ColorSequence.new(Color1, Color2), | |
| 654 | LightEmission = LightEmission, | |
| 655 | Size = Size, | |
| 656 | Texture = Texture, | |
| 657 | Transparency = Transparency, | |
| 658 | ZOffset = ZOffset, | |
| 659 | Acceleration = Accel, | |
| 660 | Drag = Drag, | |
| 661 | LockedToPart = LockedToPart, | |
| 662 | VelocityInheritance = VelocityInheritance, | |
| 663 | EmissionDirection = EmissionDirection, | |
| 664 | Enabled = Enabled, | |
| 665 | Lifetime = LifeTime, | |
| 666 | Rate = Rate, | |
| 667 | Rotation = Rotation, | |
| 668 | RotSpeed = RotSpeed, | |
| 669 | Speed = Speed, | |
| 670 | VelocitySpread = VelocitySpread | |
| 671 | }) | |
| 672 | return fp | |
| 673 | end | |
| 674 | } | |
| 675 | } | |
| 676 | function RemoveOutlines(part) | |
| 677 | part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 | |
| 678 | end | |
| 679 | function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
| 680 | local Part = Create("Part")({
| |
| 681 | formFactor = FormFactor, | |
| 682 | Parent = Parent, | |
| 683 | Reflectance = Reflectance, | |
| 684 | Transparency = Transparency, | |
| 685 | CanCollide = false, | |
| 686 | Locked = true, | |
| 687 | BrickColor = BrickColor.new(tostring(BColor)), | |
| 688 | Name = Name, | |
| 689 | Size = Size, | |
| 690 | Material = Material | |
| 691 | }) | |
| 692 | RemoveOutlines(Part) | |
| 693 | return Part | |
| 694 | end | |
| 695 | function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
| 696 | local Msh = Create(Mesh)({
| |
| 697 | Parent = Part, | |
| 698 | Offset = OffSet, | |
| 699 | Scale = Scale | |
| 700 | }) | |
| 701 | if Mesh == "SpecialMesh" then | |
| 702 | Msh.MeshType = MeshType | |
| 703 | Msh.MeshId = MeshId | |
| 704 | end | |
| 705 | return Msh | |
| 706 | end | |
| 707 | function CreateWeld(Parent, Part0, Part1, C0, C1) | |
| 708 | local Weld = Create("Weld")({
| |
| 709 | Parent = Parent, | |
| 710 | Part0 = Part0, | |
| 711 | Part1 = Part1, | |
| 712 | C0 = C0, | |
| 713 | C1 = C1 | |
| 714 | }) | |
| 715 | return Weld | |
| 716 | end | |
| 717 | ||
| 718 | ||
| 719 | ------------------------------------------------------- | |
| 720 | --Start Effect Function-- | |
| 721 | ------------------------------------------------------- | |
| 722 | EffectModel = Instance.new("Model", char)
| |
| 723 | Effects = {
| |
| 724 | Block = {
| |
| 725 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type) | |
| 726 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 727 | prt.Anchored = true | |
| 728 | prt.CFrame = cframe | |
| 729 | local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 730 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 731 | if Type == 1 or Type == nil then | |
| 732 | table.insert(Effects, {
| |
| 733 | prt, | |
| 734 | "Block1", | |
| 735 | delay, | |
| 736 | x3, | |
| 737 | y3, | |
| 738 | z3, | |
| 739 | msh | |
| 740 | }) | |
| 741 | elseif Type == 2 then | |
| 742 | table.insert(Effects, {
| |
| 743 | prt, | |
| 744 | "Block2", | |
| 745 | delay, | |
| 746 | x3, | |
| 747 | y3, | |
| 748 | z3, | |
| 749 | msh | |
| 750 | }) | |
| 751 | else | |
| 752 | table.insert(Effects, {
| |
| 753 | prt, | |
| 754 | "Block3", | |
| 755 | delay, | |
| 756 | x3, | |
| 757 | y3, | |
| 758 | z3, | |
| 759 | msh | |
| 760 | }) | |
| 761 | end | |
| 762 | end | |
| 763 | }, | |
| 764 | Sphere = {
| |
| 765 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 766 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 767 | prt.Anchored = true | |
| 768 | prt.CFrame = cframe | |
| 769 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 770 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 771 | table.insert(Effects, {
| |
| 772 | prt, | |
| 773 | "Cylinder", | |
| 774 | delay, | |
| 775 | x3, | |
| 776 | y3, | |
| 777 | z3, | |
| 778 | msh | |
| 779 | }) | |
| 780 | end | |
| 781 | }, | |
| 782 | Cylinder = {
| |
| 783 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 784 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 785 | prt.Anchored = true | |
| 786 | prt.CFrame = cframe | |
| 787 | local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 788 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 789 | table.insert(Effects, {
| |
| 790 | prt, | |
| 791 | "Cylinder", | |
| 792 | delay, | |
| 793 | x3, | |
| 794 | y3, | |
| 795 | z3, | |
| 796 | msh | |
| 797 | }) | |
| 798 | end | |
| 799 | }, | |
| 800 | Wave = {
| |
| 801 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 802 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 803 | prt.Anchored = true | |
| 804 | prt.CFrame = cframe | |
| 805 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
| |
| 806 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 807 | table.insert(Effects, {
| |
| 808 | prt, | |
| 809 | "Cylinder", | |
| 810 | delay, | |
| 811 | x3 / 60, | |
| 812 | y3 / 60, | |
| 813 | z3 / 60, | |
| 814 | msh | |
| 815 | }) | |
| 816 | end | |
| 817 | }, | |
| 818 | Ring = {
| |
| 819 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 820 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 821 | prt.Anchored = true | |
| 822 | prt.CFrame = cframe | |
| 823 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 824 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 825 | table.insert(Effects, {
| |
| 826 | prt, | |
| 827 | "Cylinder", | |
| 828 | delay, | |
| 829 | x3, | |
| 830 | y3, | |
| 831 | z3, | |
| 832 | msh | |
| 833 | }) | |
| 834 | end | |
| 835 | }, | |
| 836 | Break = {
| |
| 837 | Create = function(brickcolor, cframe, x1, y1, z1) | |
| 838 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
| 839 | prt.Anchored = true | |
| 840 | prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
| 841 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 842 | local num = math.random(10, 50) / 1000 | |
| 843 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 844 | table.insert(Effects, {
| |
| 845 | prt, | |
| 846 | "Shatter", | |
| 847 | num, | |
| 848 | prt.CFrame, | |
| 849 | math.random() - math.random(), | |
| 850 | 0, | |
| 851 | math.random(50, 100) / 100 | |
| 852 | }) | |
| 853 | end | |
| 854 | }, | |
| 855 | Spiral = {
| |
| 856 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 857 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 858 | prt.Anchored = true | |
| 859 | prt.CFrame = cframe | |
| 860 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 861 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 862 | table.insert(Effects, {
| |
| 863 | prt, | |
| 864 | "Cylinder", | |
| 865 | delay, | |
| 866 | x3, | |
| 867 | y3, | |
| 868 | z3, | |
| 869 | msh | |
| 870 | }) | |
| 871 | end | |
| 872 | }, | |
| 873 | Push = {
| |
| 874 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 875 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 876 | prt.Anchored = true | |
| 877 | prt.CFrame = cframe | |
| 878 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 879 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 880 | table.insert(Effects, {
| |
| 881 | prt, | |
| 882 | "Cylinder", | |
| 883 | delay, | |
| 884 | x3, | |
| 885 | y3, | |
| 886 | z3, | |
| 887 | msh | |
| 888 | }) | |
| 889 | end | |
| 890 | } | |
| 891 | } | |
| 892 | function part(formfactor ,parent, reflectance, transparency, brickcolor, name, size) | |
| 893 | local fp = IT("Part")
| |
| 894 | fp.formFactor = formfactor | |
| 895 | fp.Parent = parent | |
| 896 | fp.Reflectance = reflectance | |
| 897 | fp.Transparency = transparency | |
| 898 | fp.CanCollide = false | |
| 899 | fp.Locked = true | |
| 900 | fp.BrickColor = brickcolor | |
| 901 | fp.Name = name | |
| 902 | fp.Size = size | |
| 903 | fp.Position = tors.Position | |
| 904 | RemoveOutlines(fp) | |
| 905 | fp.Material = "SmoothPlastic" | |
| 906 | fp:BreakJoints() | |
| 907 | return fp | |
| 908 | end | |
| 909 | ||
| 910 | function mesh(Mesh,part,meshtype,meshid,offset,scale) | |
| 911 | local mesh = IT(Mesh) | |
| 912 | mesh.Parent = part | |
| 913 | if Mesh == "SpecialMesh" then | |
| 914 | mesh.MeshType = meshtype | |
| 915 | if meshid ~= "nil" then | |
| 916 | mesh.MeshId = "http://www.roblox.com/asset/?id="..meshid | |
| 917 | end | |
| 918 | end | |
| 919 | mesh.Offset = offset | |
| 920 | mesh.Scale = scale | |
| 921 | return mesh | |
| 922 | end | |
| 923 | ||
| 924 | function Magic(bonuspeed, type, pos, scale, value, color, MType) | |
| 925 | local type = type | |
| 926 | local rng = Instance.new("Part", char)
| |
| 927 | rng.Anchored = true | |
| 928 | rng.BrickColor = color | |
| 929 | rng.CanCollide = false | |
| 930 | rng.FormFactor = 3 | |
| 931 | rng.Name = "Ring" | |
| 932 | rng.Material = "Neon" | |
| 933 | rng.Size = Vector3.new(1, 1, 1) | |
| 934 | rng.Transparency = 0 | |
| 935 | rng.TopSurface = 0 | |
| 936 | rng.BottomSurface = 0 | |
| 937 | rng.CFrame = pos | |
| 938 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 939 | rngm.MeshType = MType | |
| 940 | rngm.Scale = scale | |
| 941 | local scaler2 = 1 | |
| 942 | if type == "Add" then | |
| 943 | scaler2 = 1 * value | |
| 944 | elseif type == "Divide" then | |
| 945 | scaler2 = 1 / value | |
| 946 | end | |
| 947 | coroutine.resume(coroutine.create(function() | |
| 948 | for i = 0, 10 / bonuspeed, 0.1 do | |
| 949 | swait() | |
| 950 | if type == "Add" then | |
| 951 | scaler2 = scaler2 - 0.01 * value / bonuspeed | |
| 952 | elseif type == "Divide" then | |
| 953 | scaler2 = scaler2 - 0.01 / value * bonuspeed | |
| 954 | end | |
| 955 | rng.Transparency = rng.Transparency + 0.01 * bonuspeed | |
| 956 | rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, scaler2 * bonuspeed) | |
| 957 | end | |
| 958 | rng:Destroy() | |
| 959 | end)) | |
| 960 | end | |
| 961 | ||
| 962 | ||
| 963 | local joyemoji = Instance.new('ParticleEmitter', tors)
| |
| 964 | joyemoji.VelocitySpread = 2000 | |
| 965 | joyemoji.Lifetime = NumberRange.new(1) | |
| 966 | joyemoji.Speed = NumberRange.new(40) | |
| 967 | joy= {}
| |
| 968 | for i=0, 19 do | |
| 969 | joy[#joy+ 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1)) | |
| 970 | end | |
| 971 | joyemoji.Size = NumberSequence.new(joy) | |
| 972 | joyemoji.Rate = 0 | |
| 973 | joyemoji.LockedToPart = false | |
| 974 | joyemoji.LightEmission = 0 | |
| 975 | joyemoji.Texture = "rbxassetid://1176402123" | |
| 976 | joyemoji.Color = ColorSequence.new(BrickColor.new("Institutional white").Color)
| |
| 977 | ||
| 978 | local LIT = Instance.new('ParticleEmitter', tors)
| |
| 979 | LIT.VelocitySpread = 2000 | |
| 980 | LIT.Lifetime = NumberRange.new(1) | |
| 981 | LIT.Speed = NumberRange.new(45) | |
| 982 | nani= {}
| |
| 983 | for i=0, 19 do | |
| 984 | nani[#nani+ 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1)) | |
| 985 | end | |
| 986 | LIT.Size = NumberSequence.new(nani) | |
| 987 | LIT.Rate = 0 | |
| 988 | LIT.LockedToPart = false | |
| 989 | LIT.LightEmission = 0 | |
| 990 | LIT.Texture = "rbxassetid://1492670151" | |
| 991 | LIT.Color = ColorSequence.new(BrickColor.new("Institutional white").Color)
| |
| 992 | ||
| 993 | local ok = Instance.new('ParticleEmitter', tors)
| |
| 994 | ok.VelocitySpread = 2000 | |
| 995 | ok.Lifetime = NumberRange.new(1) | |
| 996 | ok.Speed = NumberRange.new(50) | |
| 997 | cool= {}
| |
| 998 | for i=0, 19 do | |
| 999 | cool[#cool+ 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1)) | |
| 1000 | end | |
| 1001 | ok.Size = NumberSequence.new(cool) | |
| 1002 | ok.Rate = 0 | |
| 1003 | ok.LockedToPart = false | |
| 1004 | ok.LightEmission = 0 | |
| 1005 | ok.Texture = "rbxassetid://636768448" | |
| 1006 | ok.Color = ColorSequence.new(BrickColor.new("Institutional white").Color)
| |
| 1007 | ||
| 1008 | local toast = Instance.new('ParticleEmitter', tors)
| |
| 1009 | toast.VelocitySpread = 2000 | |
| 1010 | toast.Lifetime = NumberRange.new(1) | |
| 1011 | toast.Speed = NumberRange.new(60) | |
| 1012 | toasterstoasttoast= {}
| |
| 1013 | for i=0, 19 do | |
| 1014 | toasterstoasttoast[#toasterstoasttoast+ 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1)) | |
| 1015 | end | |
| 1016 | toast.Size = NumberSequence.new(toasterstoasttoast) | |
| 1017 | toast.Rate = 0 | |
| 1018 | toast.LockedToPart = false | |
| 1019 | toast.LightEmission = 0 | |
| 1020 | toast.Texture = "rbxassetid://436096230" | |
| 1021 | toast.Color = ColorSequence.new(BrickColor.new("Institutional white").Color)
| |
| 1022 | ||
| 1023 | ||
| 1024 | function Eviscerate(dude) | |
| 1025 | if dude.Name ~= char then | |
| 1026 | local bgf = IT("BodyGyro", dude.Head)
| |
| 1027 | bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0) | |
| 1028 | local val = IT("BoolValue", dude)
| |
| 1029 | val.Name = "IsHit" | |
| 1030 | local ds = coroutine.wrap(function() | |
| 1031 | dude:WaitForChild("Head"):BreakJoints()
| |
| 1032 | wait(0.5) | |
| 1033 | target = nil | |
| 1034 | coroutine.resume(coroutine.create(function() | |
| 1035 | for i, v in pairs(dude:GetChildren()) do | |
| 1036 | if v:IsA("Accessory") then
| |
| 1037 | v:Destroy() | |
| 1038 | end | |
| 1039 | if v:IsA("Humanoid") then
| |
| 1040 | v:Destroy() | |
| 1041 | end | |
| 1042 | if v:IsA("CharacterMesh") then
| |
| 1043 | v:Destroy() | |
| 1044 | end | |
| 1045 | if v:IsA("Model") then
| |
| 1046 | v:Destroy() | |
| 1047 | end | |
| 1048 | if v:IsA("Part") or v:IsA("MeshPart") then
| |
| 1049 | for x, o in pairs(v:GetChildren()) do | |
| 1050 | if o:IsA("Decal") then
| |
| 1051 | o:Destroy() | |
| 1052 | end | |
| 1053 | end | |
| 1054 | coroutine.resume(coroutine.create(function() | |
| 1055 | v.Material = "Neon" | |
| 1056 | v.CanCollide = false | |
| 1057 | local PartEmmit1 = IT("ParticleEmitter", v)
| |
| 1058 | PartEmmit1.LightEmission = 1 | |
| 1059 | PartEmmit1.Texture = "rbxassetid://284205403" | |
| 1060 | PartEmmit1.Color = ColorSequence.new(maincolor.Color) | |
| 1061 | PartEmmit1.Rate = 150 | |
| 1062 | PartEmmit1.Lifetime = NumberRange.new(1) | |
| 1063 | PartEmmit1.Size = NumberSequence.new({
| |
| 1064 | NumberSequenceKeypoint.new(0, 0.75, 0), | |
| 1065 | NumberSequenceKeypoint.new(1, 0, 0) | |
| 1066 | }) | |
| 1067 | PartEmmit1.Transparency = NumberSequence.new({
| |
| 1068 | NumberSequenceKeypoint.new(0, 0, 0), | |
| 1069 | NumberSequenceKeypoint.new(1, 1, 0) | |
| 1070 | }) | |
| 1071 | PartEmmit1.Speed = NumberRange.new(0, 0) | |
| 1072 | PartEmmit1.VelocitySpread = 30000 | |
| 1073 | PartEmmit1.Rotation = NumberRange.new(-500, 500) | |
| 1074 | PartEmmit1.RotSpeed = NumberRange.new(-500, 500) | |
| 1075 | local BodPoss = IT("BodyPosition", v)
| |
| 1076 | BodPoss.P = 3000 | |
| 1077 | BodPoss.D = 1000 | |
| 1078 | BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000) | |
| 1079 | BodPoss.position = v.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15)) | |
| 1080 | v.Color = maincolor.Color | |
| 1081 | coroutine.resume(coroutine.create(function() | |
| 1082 | for i = 0, 49 do | |
| 1083 | swait(1) | |
| 1084 | v.Transparency = v.Transparency + 0.08 | |
| 1085 | end | |
| 1086 | wait(0.5) | |
| 1087 | PartEmmit1.Enabled = false | |
| 1088 | wait(3) | |
| 1089 | v:Destroy() | |
| 1090 | dude:Destroy() | |
| 1091 | end)) | |
| 1092 | end)) | |
| 1093 | end | |
| 1094 | end | |
| 1095 | end)) | |
| 1096 | end) | |
| 1097 | ds() | |
| 1098 | end | |
| 1099 | end | |
| 1100 | ||
| 1101 | function FindNearestHead(Position, Distance, SinglePlayer) | |
| 1102 | if SinglePlayer then | |
| 1103 | return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude | |
| 1104 | end | |
| 1105 | local List = {}
| |
| 1106 | for i, v in pairs(workspace:GetChildren()) do | |
| 1107 | if v:IsA("Model") and v:findFirstChild("Head") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then
| |
| 1108 | table.insert(List, v) | |
| 1109 | end | |
| 1110 | end | |
| 1111 | return List | |
| 1112 | end | |
| 1113 | ||
| 1114 | function Aura(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos, MType) | |
| 1115 | local type = type | |
| 1116 | local rng = Instance.new("Part", char)
| |
| 1117 | rng.Anchored = true | |
| 1118 | rng.BrickColor = color | |
| 1119 | rng.CanCollide = false | |
| 1120 | rng.FormFactor = 3 | |
| 1121 | rng.Name = "Ring" | |
| 1122 | rng.Material = "Neon" | |
| 1123 | rng.Size = Vector3.new(1, 1, 1) | |
| 1124 | rng.Transparency = 0 | |
| 1125 | rng.TopSurface = 0 | |
| 1126 | rng.BottomSurface = 0 | |
| 1127 | rng.CFrame = pos | |
| 1128 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos | |
| 1129 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 1130 | rngm.MeshType = MType | |
| 1131 | rngm.Scale = Vector3.new(x1, y1, z1) | |
| 1132 | local scaler2 = 1 | |
| 1133 | local speeder = FastSpeed | |
| 1134 | if type == "Add" then | |
| 1135 | scaler2 = 1 * value | |
| 1136 | elseif type == "Divide" then | |
| 1137 | scaler2 = 1 / value | |
| 1138 | end | |
| 1139 | coroutine.resume(coroutine.create(function() | |
| 1140 | for i = 0, 10 / bonuspeed, 0.1 do | |
| 1141 | swait() | |
| 1142 | if type == "Add" then | |
| 1143 | scaler2 = scaler2 - 0.01 * value / bonuspeed | |
| 1144 | elseif type == "Divide" then | |
| 1145 | scaler2 = scaler2 - 0.01 / value * bonuspeed | |
| 1146 | end | |
| 1147 | speeder = speeder - 0.01 * FastSpeed * bonuspeed | |
| 1148 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed | |
| 1149 | rng.Transparency = rng.Transparency + 0.01 * bonuspeed | |
| 1150 | rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0) | |
| 1151 | end | |
| 1152 | rng:Destroy() | |
| 1153 | end)) | |
| 1154 | end | |
| 1155 | ||
| 1156 | function SoulSteal(dude) | |
| 1157 | if dude.Name ~= char then | |
| 1158 | local bgf = IT("BodyGyro", dude.Head)
| |
| 1159 | bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0) | |
| 1160 | local val = IT("BoolValue", dude)
| |
| 1161 | val.Name = "IsHit" | |
| 1162 | local torso = (dude:FindFirstChild'Head' or dude:FindFirstChild'Torso' or dude:FindFirstChild'UpperTorso' or dude:FindFirstChild'LowerTorso' or dude:FindFirstChild'HumanoidRootPart') | |
| 1163 | local soulst = coroutine.wrap(function() | |
| 1164 | local soul = Instance.new("Part",dude)
| |
| 1165 | soul.Size = Vector3.new(1,1,1) | |
| 1166 | soul.CanCollide = false | |
| 1167 | soul.Anchored = false | |
| 1168 | soul.Position = torso.Position | |
| 1169 | soul.Transparency = 1 | |
| 1170 | local PartEmmit1 = IT("ParticleEmitter", soul)
| |
| 1171 | PartEmmit1.LightEmission = 1 | |
| 1172 | PartEmmit1.Texture = "rbxassetid://569507414" | |
| 1173 | PartEmmit1.Color = ColorSequence.new(maincolor.Color) | |
| 1174 | PartEmmit1.Rate = 250 | |
| 1175 | PartEmmit1.Lifetime = NumberRange.new(1.6) | |
| 1176 | PartEmmit1.Size = NumberSequence.new({
| |
| 1177 | NumberSequenceKeypoint.new(0, 1, 0), | |
| 1178 | NumberSequenceKeypoint.new(1, 0, 0) | |
| 1179 | }) | |
| 1180 | PartEmmit1.Transparency = NumberSequence.new({
| |
| 1181 | NumberSequenceKeypoint.new(0, 0, 0), | |
| 1182 | NumberSequenceKeypoint.new(1, 1, 0) | |
| 1183 | }) | |
| 1184 | PartEmmit1.Speed = NumberRange.new(0, 0) | |
| 1185 | PartEmmit1.VelocitySpread = 30000 | |
| 1186 | PartEmmit1.Rotation = NumberRange.new(-360, 360) | |
| 1187 | PartEmmit1.RotSpeed = NumberRange.new(-360, 360) | |
| 1188 | local BodPoss = IT("BodyPosition", soul)
| |
| 1189 | BodPoss.P = 3000 | |
| 1190 | BodPoss.D = 1000 | |
| 1191 | BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000) | |
| 1192 | BodPoss.position = torso.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15)) | |
| 1193 | wait(1.6) | |
| 1194 | soul.Touched:connect(function(hit) | |
| 1195 | if hit.Parent == char then | |
| 1196 | soul:Destroy() | |
| 1197 | end | |
| 1198 | end) | |
| 1199 | wait(1.2) | |
| 1200 | while soul do | |
| 1201 | swait() | |
| 1202 | PartEmmit1.Color = ColorSequence.new(maincolor.Color) | |
| 1203 | BodPoss.Position = tors.Position | |
| 1204 | end | |
| 1205 | end) | |
| 1206 | soulst() | |
| 1207 | end | |
| 1208 | end | |
| 1209 | function FaceMouse() | |
| 1210 | local Cam = workspace.CurrentCamera | |
| 1211 | return {
| |
| 1212 | CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)), | |
| 1213 | Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z) | |
| 1214 | } | |
| 1215 | end | |
| 1216 | Effects = {
| |
| 1217 | Block = function(cf,partsize,meshstart,meshadd,matr,colour,spin,inverse,factor) | |
| 1218 | local p = Instance.new("Part",EffectModel)
| |
| 1219 | p.BrickColor = BrickColor.new(colour) | |
| 1220 | p.Size = partsize | |
| 1221 | p.Anchored = true | |
| 1222 | p.CanCollide = false | |
| 1223 | p.Material = matr | |
| 1224 | p.CFrame = cf | |
| 1225 | if inverse == true then | |
| 1226 | p.Transparency = 1 | |
| 1227 | else | |
| 1228 | p.Transparency = 0 | |
| 1229 | end | |
| 1230 | local m = Instance.new("BlockMesh",p)
| |
| 1231 | m.Scale = meshstart | |
| 1232 | coroutine.wrap(function() | |
| 1233 | for i = 0, 1, factor do | |
| 1234 | swait() | |
| 1235 | if inverse == true then | |
| 1236 | p.Transparency = 1-i | |
| 1237 | else | |
| 1238 | p.Transparency = i | |
| 1239 | end | |
| 1240 | m.Scale = m.Scale + meshadd | |
| 1241 | if spin == true then | |
| 1242 | p.CFrame = p.CFrame * CFrame.Angles(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
| 1243 | end | |
| 1244 | end | |
| 1245 | p:Destroy() | |
| 1246 | end)() | |
| 1247 | return p | |
| 1248 | end, | |
| 1249 | Sphere = function(cf,partsize,meshstart,meshadd,matr,colour,inverse,factor) | |
| 1250 | local p = Instance.new("Part",EffectModel)
| |
| 1251 | p.BrickColor = BrickColor.new(colour) | |
| 1252 | p.Size = partsize | |
| 1253 | p.Anchored = true | |
| 1254 | p.CanCollide = false | |
| 1255 | p.Material = matr | |
| 1256 | p.CFrame = cf | |
| 1257 | if inverse == true then | |
| 1258 | p.Transparency = 1 | |
| 1259 | else | |
| 1260 | p.Transparency = 0 | |
| 1261 | end | |
| 1262 | local m = Instance.new("SpecialMesh",p)
| |
| 1263 | m.MeshType = "Sphere" | |
| 1264 | m.Scale = meshstart | |
| 1265 | coroutine.wrap(function() | |
| 1266 | for i=0,1,factor do | |
| 1267 | swait() | |
| 1268 | if inverse == true then | |
| 1269 | p.Transparency = 1-i | |
| 1270 | else | |
| 1271 | p.Transparency = i | |
| 1272 | end | |
| 1273 | m.Scale = m.Scale + meshadd | |
| 1274 | end | |
| 1275 | p:Destroy() | |
| 1276 | end)() | |
| 1277 | return p | |
| 1278 | end, | |
| 1279 | ||
| 1280 | Cylinder = function(cf,partsize,meshstart,meshadd,matr,colour,inverse,factor) | |
| 1281 | local p = Instance.new("Part",EffectModel)
| |
| 1282 | p.BrickColor = BrickColor.new(colour) | |
| 1283 | p.Size = partsize | |
| 1284 | p.Anchored = true | |
| 1285 | p.CanCollide = false | |
| 1286 | p.Material = matr | |
| 1287 | p.CFrame = cf | |
| 1288 | if inverse == true then | |
| 1289 | p.Transparency = 1 | |
| 1290 | else | |
| 1291 | p.Transparency = 0 | |
| 1292 | end | |
| 1293 | local m = Instance.new("CylinderMesh",p)
| |
| 1294 | m.Scale = meshstart | |
| 1295 | coroutine.wrap(function() | |
| 1296 | for i=0,1,factor do | |
| 1297 | swait() | |
| 1298 | if inverse == true then | |
| 1299 | p.Transparency = 1-i | |
| 1300 | else | |
| 1301 | p.Transparency = i | |
| 1302 | end | |
| 1303 | m.Scale = m.Scale + meshadd | |
| 1304 | end | |
| 1305 | p:Destroy() | |
| 1306 | end)() | |
| 1307 | return p | |
| 1308 | end, | |
| 1309 | ||
| 1310 | Wave = function(cf,meshstart,meshadd,colour,spin,inverse,factor) | |
| 1311 | local p = Instance.new("Part",EffectModel)
| |
| 1312 | p.BrickColor = BrickColor.new(colour) | |
| 1313 | p.Size = Vector3.new() | |
| 1314 | p.Anchored = true | |
| 1315 | p.CanCollide = false | |
| 1316 | p.CFrame = cf | |
| 1317 | if inverse == true then | |
| 1318 | p.Transparency = 1 | |
| 1319 | else | |
| 1320 | p.Transparency = 0 | |
| 1321 | end | |
| 1322 | local m = Instance.new("SpecialMesh",p)
| |
| 1323 | m.MeshId = "rbxassetid://20329976" | |
| 1324 | m.Scale = meshstart | |
| 1325 | coroutine.wrap(function() | |
| 1326 | for i=0,1,factor do | |
| 1327 | swait() | |
| 1328 | if inverse == true then | |
| 1329 | p.Transparency = 1-i | |
| 1330 | else | |
| 1331 | p.Transparency = i | |
| 1332 | end | |
| 1333 | m.Scale = m.Scale + meshadd | |
| 1334 | p.CFrame = p.CFrame * CFrame.Angles(0,math.rad(spin),0) | |
| 1335 | end | |
| 1336 | p:Destroy() | |
| 1337 | end)() | |
| 1338 | return p | |
| 1339 | end, | |
| 1340 | ||
| 1341 | Ring = function(cf,meshstart,meshadd,colour,inverse,factor) | |
| 1342 | local p = Instance.new("Part",EffectModel)
| |
| 1343 | p.BrickColor = BrickColor.new(colour) | |
| 1344 | p.Size = Vector3.new() | |
| 1345 | p.Anchored = true | |
| 1346 | p.CanCollide = false | |
| 1347 | p.CFrame = cf | |
| 1348 | if inverse == true then | |
| 1349 | p.Transparency = 1 | |
| 1350 | else | |
| 1351 | p.Transparency = 0 | |
| 1352 | end | |
| 1353 | local m = Instance.new("SpecialMesh",p)
| |
| 1354 | m.MeshId = "rbxassetid://3270017" | |
| 1355 | m.Scale = meshstart | |
| 1356 | coroutine.wrap(function() | |
| 1357 | for i=0,1,factor do | |
| 1358 | swait() | |
| 1359 | if inverse == true then | |
| 1360 | p.Transparency = 1-i | |
| 1361 | else | |
| 1362 | p.Transparency = i | |
| 1363 | end | |
| 1364 | m.Scale = m.Scale + meshadd | |
| 1365 | end | |
| 1366 | p:Destroy() | |
| 1367 | end)() | |
| 1368 | return p | |
| 1369 | end, | |
| 1370 | ||
| 1371 | Meshed = function(cf,meshstart,meshadd,colour,meshid,textid,spin,inverse,factor) | |
| 1372 | local p = Instance.new("Part",EffectModel)
| |
| 1373 | p.BrickColor = BrickColor.new(colour) | |
| 1374 | p.Size = Vector3.new() | |
| 1375 | p.Anchored = true | |
| 1376 | p.CanCollide = false | |
| 1377 | p.CFrame = cf | |
| 1378 | if inverse == true then | |
| 1379 | p.Transparency = 1 | |
| 1380 | else | |
| 1381 | p.Transparency = 0 | |
| 1382 | end | |
| 1383 | local m = Instance.new("SpecialMesh",p)
| |
| 1384 | m.MeshId = meshid | |
| 1385 | m.TextureId = textid | |
| 1386 | m.Scale = meshstart | |
| 1387 | coroutine.wrap(function() | |
| 1388 | for i=0,1,factor do | |
| 1389 | swait() | |
| 1390 | if inverse == true then | |
| 1391 | p.Transparency = 1-i | |
| 1392 | else | |
| 1393 | p.Transparency = i | |
| 1394 | end | |
| 1395 | m.Scale = m.Scale + meshadd | |
| 1396 | p.CFrame = p.CFrame * CFrame.Angles(0,math.rad(spin),0) | |
| 1397 | end | |
| 1398 | p:Destroy() | |
| 1399 | end)() | |
| 1400 | return p | |
| 1401 | end, | |
| 1402 | ||
| 1403 | Explode = function(cf,partsize,meshstart,meshadd,matr,colour,move,inverse,factor) | |
| 1404 | local p = Instance.new("Part",EffectModel)
| |
| 1405 | p.BrickColor = BrickColor.new(colour) | |
| 1406 | p.Size = partsize | |
| 1407 | p.Anchored = true | |
| 1408 | p.CanCollide = false | |
| 1409 | p.Material = matr | |
| 1410 | p.CFrame = cf * CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))) | |
| 1411 | if inverse == true then | |
| 1412 | p.Transparency = 1 | |
| 1413 | else | |
| 1414 | p.Transparency = 0 | |
| 1415 | end | |
| 1416 | local m = Instance.new("SpecialMesh",p)
| |
| 1417 | m.MeshType = "Sphere" | |
| 1418 | m.Scale = meshstart | |
| 1419 | coroutine.wrap(function() | |
| 1420 | for i=0,1,factor do | |
| 1421 | swait() | |
| 1422 | if inverse == true then | |
| 1423 | p.Transparency = 1-i | |
| 1424 | else | |
| 1425 | p.Transparency = i | |
| 1426 | end | |
| 1427 | m.Scale = m.Scale + meshadd | |
| 1428 | p.CFrame = p.CFrame * CFrame.new(0,move,0) | |
| 1429 | end | |
| 1430 | p:Destroy() | |
| 1431 | end)() | |
| 1432 | return p | |
| 1433 | end, | |
| 1434 | ||
| 1435 | } | |
| 1436 | ------------------------------------------------------- | |
| 1437 | --End Effect Function-- | |
| 1438 | ------------------------------------------------------- | |
| 1439 | function Cso(ID, PARENT, VOLUME, PITCH) | |
| 1440 | local NSound = nil | |
| 1441 | coroutine.resume(coroutine.create(function() | |
| 1442 | NSound = IT("Sound", PARENT)
| |
| 1443 | NSound.Volume = VOLUME | |
| 1444 | NSound.Pitch = PITCH | |
| 1445 | NSound.SoundId = "http://www.roblox.com/asset/?id="..ID | |
| 1446 | swait() | |
| 1447 | NSound:play() | |
| 1448 | game:GetService("Debris"):AddItem(NSound, 10)
| |
| 1449 | end)) | |
| 1450 | return NSound | |
| 1451 | end | |
| 1452 | function CamShake(Length, Intensity) | |
| 1453 | coroutine.resume(coroutine.create(function() | |
| 1454 | local intensity = 1 * Intensity | |
| 1455 | local rotM = 0.01 * Intensity | |
| 1456 | for i = 0, Length, 0.1 do | |
| 1457 | swait() | |
| 1458 | intensity = intensity - 0.05 * Intensity / Length | |
| 1459 | rotM = rotM - 5.0E-4 * Intensity / Length | |
| 1460 | hum.CameraOffset = Vector3.new(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity))) | |
| 1461 | cam.CFrame = cam.CFrame * CF(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity))) * Euler(Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM) | |
| 1462 | end | |
| 1463 | hum.CameraOffset = Vector3.new(0, 0, 0) | |
| 1464 | end)) | |
| 1465 | end | |
| 1466 | NewInstance = function(instance,parent,properties) | |
| 1467 | local inst = Instance.new(instance) | |
| 1468 | inst.Parent = parent | |
| 1469 | if(properties)then | |
| 1470 | for i,v in next, properties do | |
| 1471 | pcall(function() inst[i] = v end) | |
| 1472 | end | |
| 1473 | end | |
| 1474 | return inst; | |
| 1475 | end | |
| 1476 | hum.MaxHealth = 1.0E298 | |
| 1477 | hum.Health = 1.0E298 | |
| 1478 | game:GetService("RunService"):BindToRenderStep("HOT", 0, function()
| |
| 1479 | if hum.Health > 0.1 and hum.Health < 1.0E298 then | |
| 1480 | hum.MaxHealth = 1.0E298 | |
| 1481 | hum.Health = 1.0E298 | |
| 1482 | end | |
| 1483 | end) | |
| 1484 | ||
| 1485 | function Magic2(bonuspeed, type, pos, scale, value, color, MType) | |
| 1486 | local type = type | |
| 1487 | local rng = Instance.new("Part", char)
| |
| 1488 | rng.Anchored = true | |
| 1489 | rng.BrickColor = color | |
| 1490 | rng.CanCollide = false | |
| 1491 | rng.FormFactor = 3 | |
| 1492 | rng.Name = "Ring" | |
| 1493 | rng.Material = "Neon" | |
| 1494 | rng.Size = Vector3.new(1, 1, 1) | |
| 1495 | rng.Transparency = 0 | |
| 1496 | rng.TopSurface = 0 | |
| 1497 | rng.BottomSurface = 0 | |
| 1498 | rng.CFrame = pos | |
| 1499 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 1500 | rngm.MeshType = MType | |
| 1501 | rngm.Scale = scale | |
| 1502 | local scaler2 = 1 | |
| 1503 | if type == "Add" then | |
| 1504 | scaler2 = 1 * value | |
| 1505 | elseif type == "Divide" then | |
| 1506 | scaler2 = 1 / value | |
| 1507 | end | |
| 1508 | coroutine.resume(coroutine.create(function() | |
| 1509 | for i = 0, 10 / bonuspeed, 0.1 do | |
| 1510 | swait() | |
| 1511 | if type == "Add" then | |
| 1512 | scaler2 = scaler2 - 0.01 * value / bonuspeed | |
| 1513 | elseif type == "Divide" then | |
| 1514 | scaler2 = scaler2 - 0.01 / value * bonuspeed | |
| 1515 | end | |
| 1516 | rng.Transparency = rng.Transparency + 0.01 * bonuspeed | |
| 1517 | rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, scaler2 * bonuspeed) | |
| 1518 | end | |
| 1519 | rng:Destroy() | |
| 1520 | end)) | |
| 1521 | end | |
| 1522 | ||
| 1523 | function chatfunc(text, color) | |
| 1524 | local chat = coroutine.wrap(function() | |
| 1525 | if char:FindFirstChild("TalkingBillBoard") ~= nil then
| |
| 1526 | char:FindFirstChild("TalkingBillBoard"):destroy()
| |
| 1527 | end | |
| 1528 | local naeeym2 = Instance.new("BillboardGui", char)
| |
| 1529 | naeeym2.Size = UDim2.new(0, 100, 0, 40) | |
| 1530 | naeeym2.StudsOffset = Vector3.new(0, 1.5, 0) | |
| 1531 | naeeym2.Adornee = hed | |
| 1532 | naeeym2.Name = "TalkingBillBoard" | |
| 1533 | local tecks2 = Instance.new("TextLabel", naeeym2)
| |
| 1534 | tecks2.BackgroundTransparency = 1 | |
| 1535 | tecks2.BorderSizePixel = 0 | |
| 1536 | tecks2.Text = "" | |
| 1537 | tecks2.Font = "Fantasy" | |
| 1538 | tecks2.TextSize = 30 | |
| 1539 | tecks2.TextStrokeTransparency = 0 | |
| 1540 | tecks2.TextColor3 = color | |
| 1541 | tecks2.TextStrokeColor3 = Color3.new(0, 0, 0) | |
| 1542 | tecks2.Size = UDim2.new(1, 0, 0.5, 0) | |
| 1543 | for i = 1, string.len(text) do | |
| 1544 | CFuncs.Sound.Create("rbxassetid://2541097920", hed, 10, 1)
| |
| 1545 | tecks2.Text = string.sub(text, 1, i) | |
| 1546 | swait(1) | |
| 1547 | end | |
| 1548 | wait(1) | |
| 1549 | naeeym2:Destroy() | |
| 1550 | end) | |
| 1551 | chat() | |
| 1552 | end | |
| 1553 | function chatfunc2(text, color) | |
| 1554 | local chat = coroutine.wrap(function() | |
| 1555 | if char:FindFirstChild("TalkingBillBoard") ~= nil then
| |
| 1556 | char:FindFirstChild("TalkingBillBoard"):destroy()
| |
| 1557 | end | |
| 1558 | local naeeym2 = Instance.new("BillboardGui", char)
| |
| 1559 | naeeym2.Size = UDim2.new(0, 100, 0, 40) | |
| 1560 | naeeym2.StudsOffset = Vector3.new(0, 1.5, 0) | |
| 1561 | naeeym2.Adornee = hed | |
| 1562 | naeeym2.Name = "TalkingBillBoard" | |
| 1563 | local tecks2 = Instance.new("TextLabel", naeeym2)
| |
| 1564 | tecks2.BackgroundTransparency = 1 | |
| 1565 | tecks2.BorderSizePixel = 0 | |
| 1566 | tecks2.Text = "" | |
| 1567 | tecks2.Font = "Fantasy" | |
| 1568 | tecks2.TextSize = 30 | |
| 1569 | tecks2.TextStrokeTransparency = 0 | |
| 1570 | tecks2.TextColor3 = color | |
| 1571 | tecks2.TextStrokeColor3 = Color3.new(0, 0, 0) | |
| 1572 | tecks2.Size = UDim2.new(1, 0, 0.5, 0) | |
| 1573 | for i = 1, string.len(text) do | |
| 1574 | CFuncs.Sound.Create("rbxassetid://2541097920", hed, 10, 0.7)
| |
| 1575 | tecks2.Text = string.sub(text, 1, i) | |
| 1576 | swait(1) | |
| 1577 | end | |
| 1578 | wait(1) | |
| 1579 | naeeym2:Destroy() | |
| 1580 | end) | |
| 1581 | chat() | |
| 1582 | end | |
| 1583 | function slash(bonuspeed,rotspeed,rotatingop,typeofshape,type,typeoftrans,pos,scale,value,color) | |
| 1584 | local type = type | |
| 1585 | local rotenable = rotatingop | |
| 1586 | local rng = Instance.new("Part", char)
| |
| 1587 | rng.Anchored = true | |
| 1588 | rng.BrickColor = color | |
| 1589 | rng.CanCollide = false | |
| 1590 | rng.FormFactor = 3 | |
| 1591 | rng.Name = "Ring" | |
| 1592 | rng.Material = "Neon" | |
| 1593 | rng.Size = Vector3.new(1, 1, 1) | |
| 1594 | rng.Transparency = 0 | |
| 1595 | if typeoftrans == "In" then | |
| 1596 | rng.Transparency = 1 | |
| 1597 | end | |
| 1598 | rng.TopSurface = 0 | |
| 1599 | rng.BottomSurface = 0 | |
| 1600 | rng.CFrame = pos | |
| 1601 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 1602 | rngm.MeshType = "FileMesh" | |
| 1603 | if typeofshape == "Normal" then | |
| 1604 | rngm.MeshId = "rbxassetid://662586858" | |
| 1605 | elseif typeofshape == "Round" then | |
| 1606 | rngm.MeshId = "rbxassetid://662585058" | |
| 1607 | end | |
| 1608 | rngm.Scale = scale | |
| 1609 | local scaler2 = 1/10 | |
| 1610 | if type == "Add" then | |
| 1611 | scaler2 = 1*value/10 | |
| 1612 | elseif type == "Divide" then | |
| 1613 | scaler2 = 1/value/10 | |
| 1614 | end | |
| 1615 | local randomrot = math.random(1,2) | |
| 1616 | coroutine.resume(coroutine.create(function() | |
| 1617 | for i = 0,10/bonuspeed,0.1 do | |
| 1618 | swait() | |
| 1619 | if type == "Add" then | |
| 1620 | scaler2 = scaler2 - 0.01*value/bonuspeed/10 | |
| 1621 | elseif type == "Divide" then | |
| 1622 | scaler2 = scaler2 - 0.01/value*bonuspeed/10 | |
| 1623 | end | |
| 1624 | if rotenable == true then | |
| 1625 | if randomrot == 1 then | |
| 1626 | rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(rotspeed*bonuspeed/2),0) | |
| 1627 | elseif randomrot == 2 then | |
| 1628 | rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(-rotspeed*bonuspeed/2),0) | |
| 1629 | end | |
| 1630 | end | |
| 1631 | if typeoftrans == "Out" then | |
| 1632 | rng.Transparency = rng.Transparency + 0.01*bonuspeed | |
| 1633 | elseif typeoftrans == "In" then | |
| 1634 | rng.Transparency = rng.Transparency - 0.01*bonuspeed | |
| 1635 | end | |
| 1636 | rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed/10, 0, scaler2*bonuspeed/10) | |
| 1637 | end | |
| 1638 | rng:Destroy() | |
| 1639 | end)) | |
| 1640 | end | |
| 1641 | function chatfunc3(text, color) | |
| 1642 | local chat = coroutine.wrap(function() | |
| 1643 | if char:FindFirstChild("TalkingBillBoard") ~= nil then
| |
| 1644 | char:FindFirstChild("TalkingBillBoard"):destroy()
| |
| 1645 | end | |
| 1646 | local naeeym2 = Instance.new("BillboardGui", char)
| |
| 1647 | naeeym2.Size = UDim2.new(0, 550, 0, 40) | |
| 1648 | naeeym2.StudsOffset = Vector3.new(0, 3.1, 0) | |
| 1649 | naeeym2.Adornee = hed | |
| 1650 | naeeym2.Name = "TalkingBillBoard" | |
| 1651 | local tecks2 = Instance.new("TextLabel", naeeym2)
| |
| 1652 | tecks2.BackgroundTransparency = 1 | |
| 1653 | tecks2.BorderSizePixel = 0 | |
| 1654 | tecks2.Text = "" | |
| 1655 | tecks2.Font = "Arcade" | |
| 1656 | tecks2.TextSize = 30 | |
| 1657 | tecks2.TextStrokeTransparency = 0 | |
| 1658 | tecks2.TextColor3 = color | |
| 1659 | tecks2.TextStrokeColor3 = Color3.new(1,1,0.5) | |
| 1660 | tecks2.Size = UDim2.new(1, 0, 0.5, 0) | |
| 1661 | for i = 1, string.len(text) do | |
| 1662 | CFuncs.Sound.Create("rbxassetid://1897665684", hed, 10, 1)
| |
| 1663 | tecks2.Text = string.sub(text, 1, i) | |
| 1664 | swait(1) | |
| 1665 | end | |
| 1666 | wait(1) | |
| 1667 | naeeym2:Destroy() | |
| 1668 | end) | |
| 1669 | chat() | |
| 1670 | end | |
| 1671 | ||
| 1672 | New = function(Object, Parent, Name, Data) | |
| 1673 | local Object = Instance.new(Object) | |
| 1674 | for Index, Value in pairs(Data or {}) do
| |
| 1675 | Object[Index] = Value | |
| 1676 | end | |
| 1677 | Object.Parent = Parent | |
| 1678 | Object.Name = Name | |
| 1679 | return Object | |
| 1680 | end | |
| 1681 | ||
| 1682 | ||
| 1683 | function sphere(bonuspeed,type,pos,scale,value,color) | |
| 1684 | local type = type | |
| 1685 | local rng = Instance.new("Part", char)
| |
| 1686 | rng.Anchored = true | |
| 1687 | rng.BrickColor = color | |
| 1688 | rng.CanCollide = false | |
| 1689 | rng.FormFactor = 3 | |
| 1690 | rng.Name = "Ring" | |
| 1691 | rng.Material = "Neon" | |
| 1692 | rng.Size = Vector3.new(1, 1, 1) | |
| 1693 | rng.Transparency = 0 | |
| 1694 | rng.TopSurface = 0 | |
| 1695 | rng.BottomSurface = 0 | |
| 1696 | rng.CFrame = pos | |
| 1697 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 1698 | rngm.MeshType = "Sphere" | |
| 1699 | rngm.Scale = scale | |
| 1700 | local scaler2 = 1 | |
| 1701 | if type == "Add" then | |
| 1702 | scaler2 = 1*value | |
| 1703 | elseif type == "Divide" then | |
| 1704 | scaler2 = 1/value | |
| 1705 | end | |
| 1706 | coroutine.resume(coroutine.create(function() | |
| 1707 | for i = 0,10/bonuspeed,0.1 do | |
| 1708 | swait() | |
| 1709 | if type == "Add" then | |
| 1710 | scaler2 = scaler2 - 0.01*value/bonuspeed | |
| 1711 | elseif type == "Divide" then | |
| 1712 | scaler2 = scaler2 - 0.01/value*bonuspeed | |
| 1713 | end | |
| 1714 | rng.Transparency = rng.Transparency + 0.01*bonuspeed | |
| 1715 | rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed) | |
| 1716 | end | |
| 1717 | rng:Destroy() | |
| 1718 | end)) | |
| 1719 | end | |
| 1720 | ||
| 1721 | function sphere2(bonuspeed,type,pos,scale,value,value2,value3,color,color3) | |
| 1722 | local type = type | |
| 1723 | local rng = Instance.new("Part", char)
| |
| 1724 | rng.Anchored = true | |
| 1725 | rng.BrickColor = color | |
| 1726 | rng.Color = color3 | |
| 1727 | rng.CanCollide = false | |
| 1728 | rng.FormFactor = 3 | |
| 1729 | rng.Name = "Ring" | |
| 1730 | rng.Material = "Neon" | |
| 1731 | rng.Size = Vector3.new(1, 1, 1) | |
| 1732 | rng.Transparency = 0 | |
| 1733 | rng.TopSurface = 0 | |
| 1734 | rng.BottomSurface = 0 | |
| 1735 | rng.CFrame = pos | |
| 1736 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 1737 | rngm.MeshType = "Sphere" | |
| 1738 | rngm.Scale = scale | |
| 1739 | local scaler2 = 1 | |
| 1740 | local scaler2b = 1 | |
| 1741 | local scaler2c = 1 | |
| 1742 | if type == "Add" then | |
| 1743 | scaler2 = 1*value | |
| 1744 | scaler2b = 1*value2 | |
| 1745 | scaler2c = 1*value3 | |
| 1746 | elseif type == "Divide" then | |
| 1747 | scaler2 = 1/value | |
| 1748 | scaler2b = 1/value2 | |
| 1749 | scaler2c = 1/value3 | |
| 1750 | end | |
| 1751 | coroutine.resume(coroutine.create(function() | |
| 1752 | for i = 0,10/bonuspeed,0.1 do | |
| 1753 | swait() | |
| 1754 | if type == "Add" then | |
| 1755 | scaler2 = scaler2 - 0.01*value/bonuspeed | |
| 1756 | scaler2b = scaler2b - 0.01*value/bonuspeed | |
| 1757 | scaler2c = scaler2c - 0.01*value/bonuspeed | |
| 1758 | elseif type == "Divide" then | |
| 1759 | scaler2 = scaler2 - 0.01/value*bonuspeed | |
| 1760 | scaler2b = scaler2b - 0.01/value*bonuspeed | |
| 1761 | scaler2c = scaler2c - 0.01/value*bonuspeed | |
| 1762 | end | |
| 1763 | rng.Transparency = rng.Transparency + 0.01*bonuspeed | |
| 1764 | rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed) | |
| 1765 | end | |
| 1766 | rng:Destroy() | |
| 1767 | end)) | |
| 1768 | end | |
| 1769 | ||
| 1770 | ||
| 1771 | local bilguit = Instance.new("BillboardGui", hed)
| |
| 1772 | bilguit.Adornee = nil | |
| 1773 | bilguit.Name = "ModeName" | |
| 1774 | bilguit.Size = UDim2.new(4, 0, 0.8, 0) | |
| 1775 | bilguit.StudsOffset = Vector3.new(-8, 8/1.5, 0) | |
| 1776 | local Text2 = Instance.new("TextLabel", bilguit)
| |
| 1777 | Text2.Size = UDim2.new(10/2, 2, 7/2, 0) | |
| 1778 | Text2.FontSize = "Size8" | |
| 1779 | Text2.TextScaled = true | |
| 1780 | Text2.TextTransparency = 0 | |
| 1781 | Text2.BackgroundTransparency = 1 | |
| 1782 | Text2.TextTransparency = 0 | |
| 1783 | Text2.TextStrokeTransparency = 0 | |
| 1784 | Text2.Font = "Antique" | |
| 1785 | Text2.TextStrokeColor3 = Color3.new(0.8,1,0.5) | |
| 1786 | Text2.TextColor3 = Color3.new(0,1,0) | |
| 1787 | Text2.Text = ("Normal LittlePlayer")
| |
| 1788 | ||
| 1789 | local ned = Instance.new("TextLabel",fullscreenz)
| |
| 1790 | ned.ZIndex = 2 | |
| 1791 | ned.Font = "Arcade" | |
| 1792 | ned.BackgroundTransparency = 1 | |
| 1793 | ned.BorderSizePixel = 0.65 | |
| 1794 | ned.Size = UDim2.new(0.3,0,0.2,0) | |
| 1795 | ned.Position = UDim2.new(0.7,0,0.8,0) | |
| 1796 | ned.TextColor3 = BrickColor.new("Bright green").Color
| |
| 1797 | ned.TextStrokeColor3 = BrickColor.new("Bright green").Color
| |
| 1798 | ned.TextScaled = true | |
| 1799 | ned.TextStrokeTransparency = 0 | |
| 1800 | ned.Text = "SlowxxLittleplayerxx" | |
| 1801 | ned.TextSize = 24 | |
| 1802 | ned.Rotation = 1 | |
| 1803 | ned.TextXAlignment = "Right" | |
| 1804 | ned.TextYAlignment = "Bottom" | |
| 1805 | ||
| 1806 | function RecolorTextAndRename(name,col1,col2,font) | |
| 1807 | Text2.TextStrokeColor3 = col2 | |
| 1808 | Text2.TextColor3 = col1 | |
| 1809 | Text2.Font = font | |
| 1810 | Text2.Text = name | |
| 1811 | ned.Text = name | |
| 1812 | ned.TextColor3 = col1 | |
| 1813 | ned.TextStrokeColor3 = col2 | |
| 1814 | end | |
| 1815 | ||
| 1816 | Cupo = New("Model",char,"Cupo",{})
| |
| 1817 | Handle = New("Part",Cupo,"Handle",{BrickColor = BrickColor.new("Bright green"),Reflectance = 0.10000000149012,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1, 1, 1),CFrame = CFrame.new(-132.232986, 1.05098712, -175.132965, -2.66358597e-06, 0.50003612, -0.866004288, 0.999999762, 3.72325388e-08, -3.4009206e-06, -2.13981866e-06, -0.866004527, -0.500036418),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
| |
| 1818 | Mesh = New("SpecialMesh",Handle,"Mesh",{Scale = Vector3.new(0.600000024, 0.600000024, 1),MeshId = "http://www.roblox.com/asset/?id=3270017",MeshType = Enum.MeshType.FileMesh,})
| |
| 1819 | Part = New("Part",Cupo,"Part",{BrickColor = BrickColor.new("Bright green"),Reflectance = 0.10000000149012,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1, 1, 1),CFrame = CFrame.new(-132.482986, 1.05098701, -174.699982, 0.866004169, -0.500036061, 4.80877497e-06, 3.40900579e-06, -4.61425361e-06, -0.999999642, 0.500036597, 0.866004586, -1.59157071e-06),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
| |
| 1820 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 6),MeshId = "http://www.roblox.com/asset/?id=3270017",MeshType = Enum.MeshType.FileMesh,})
| |
| 1821 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.866004348, 3.3928352e-06, 0.500036359, -0.500036299, -4.34130516e-06, 0.866004407, 4.95926542e-06, -0.999999881, -1.81985979e-06),C1 = CFrame.new(-1.1920929e-07, -0.499977112, 0, -2.81334178e-06, 1, -1.89662967e-06, 0.50003624, -2.4825286e-07, -0.866004586, -0.866004467, -3.39283588e-06, -0.500036418),})
| |
| 1822 | Part = New("Part",Cupo,"Part",{BrickColor = BrickColor.new("Bright green"),Reflectance = 0.10000000149012,FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(1, 0.400000006, 1),CFrame = CFrame.new(-132.482986, 0.75998807, -174.699982, 0.500036061, -4.80877497e-06, 0.866004169, 4.61425361e-06, 0.999999642, 3.40900579e-06, -0.866004586, 1.59157071e-06, 0.500036597),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
| |
| 1823 | Mesh = New("CylinderMesh",Part,"Mesh",{Offset = Vector3.new(0, -0.200000003, 0),Scale = Vector3.new(1, 0.100000001, 1),})
| |
| 1824 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.500036299, 4.34130516e-06, -0.866004407, -4.95926542e-06, 0.999999881, 1.81985979e-06, 0.866004348, 3.3928352e-06, 0.500036359),C1 = CFrame.new(-0.290999115, -0.499977112, 0, -2.81334178e-06, 1, -1.89662967e-06, 0.50003624, -2.4825286e-07, -0.866004586, -0.866004467, -3.39283588e-06, -0.500036418),})
| |
| 1825 | Coffee = New("Part",Cupo,"Coffee",{BrickColor = BrickColor.new("Reddish brown"),FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(1, 0.400000006, 1),CFrame = CFrame.new(-132.482986, 1.15998101, -174.699982, 0.500036299, -4.95926542e-06, 0.866004348, 4.34130516e-06, 0.999999881, 3.3928352e-06, -0.866004407, 1.81985979e-06, 0.500036359),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.411765, 0.25098, 0.156863),})
| |
| 1826 | Mesh = New("CylinderMesh",Coffee,"Mesh",{Scale = Vector3.new(1, 1.20000005, 1),})
| |
| 1827 | mot = New("Motor",Coffee,"mot",{Part0 = Coffee,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.500036299, 4.34130516e-06, -0.866004407, -4.95926542e-06, 0.999999881, 1.81985979e-06, 0.866004348, 3.3928352e-06, 0.500036359),C1 = CFrame.new(0.108993888, -0.499977112, -1.52587891e-05, -2.81334178e-06, 1, -1.89662967e-06, 0.50003624, -2.4825286e-07, -0.866004586, -0.866004467, -3.39283588e-06, -0.500036418),})
| |
| 1828 | ||
| 1829 | local HW = NewInstance('Weld',char,{Part0 = ra, Part1 = Handle, C0 = CFrame.new(0, -1.1, -0.1) * CFrame.Angles(Rad(0), Rad(90), Rad(0))})
| |
| 1830 | ||
| 1831 | Gaunty = New("Model",char,"Gaunty",{})
| |
| 1832 | Handle = New("Part",Gaunty,"Handle",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1, 1.26999998, 1),CFrame = CFrame.new(-5.67319345, 3.02064276, -77.6615906, 0.999894261, 0.010924357, 0.00963267777, -0.0110270018, 0.999882579, 0.0106679145, -0.00951499958, -0.0107729975, 0.999897003),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 1833 | Mesh = New("BlockMesh",Handle,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),})
| |
| 1834 | NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = MRC_B,Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.13999987, 0.109999999, 0.109999999),CFrame = CFrame.new(-5.82765579, 3.62595344, -77.6579285, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
| |
| 1835 | mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(-0.161155701, 0.603512526, 0.00862884521, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
| |
| 1836 | NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = MRC_B,Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.13999987, 0.109999999, 0.109999999),CFrame = CFrame.new(-6.13765526, 3.62595367, -77.6579285, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
| |
| 1837 | mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(-0.471122265, 0.600126028, 0.00564575195, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
| |
| 1838 | NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = MRC_B,Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.13999987, 0.109999999, 0.109999999),CFrame = CFrame.new(-5.5176549, 3.62595415, -77.6579285, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
| |
| 1839 | mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(0.148812294, 0.606899738, 0.0116195679, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
| |
| 1840 | NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = MRC_B,Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.13999987, 0.109999999, 0.109999999),CFrame = CFrame.new(-5.21765471, 3.62595463, -77.6579285, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
| |
| 1841 | mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(0.448780537, 0.610177517, 0.014503479, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
| |
| 1842 | NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = MRC_B,Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.13999987, 0.109999999, 0.109999999),CFrame = CFrame.new(-6.13765526, 2.53595448, -77.6579285, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
| |
| 1843 | mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(-0.459102631, -0.489744425, -0.00598144531, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
| |
| 1844 | NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = MRC_B,Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.13999987, 0.109999999, 0.109999999),CFrame = CFrame.new(-5.82765627, 2.53595448, -77.6579285, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
| |
| 1845 | mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(-0.149136543, -0.486357927, -0.00299835205, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
| |
| 1846 | NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = MRC_B,Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.13999987, 0.109999999, 0.109999999),CFrame = CFrame.new(-5.51765537, 2.53595448, -77.6579361, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
| |
| 1847 | mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(0.160831451, -0.48297143, -1.52587891e-05, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
| |
| 1848 | NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = MRC_B,Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.13999987, 0.109999999, 0.109999999),CFrame = CFrame.new(-5.21765566, 2.53595424, -77.6579361, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
| |
| 1849 | mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(0.460799217, -0.479694128, 0.00286865234, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
| |
| 1850 | Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1.07999992, 0.279999971, 1.06999993),CFrame = CFrame.new(-5.66865063, 3.64553881, -77.6613617, 0.999894857, 0.0109243635, 0.00963268708, -0.0110270083, 0.999883175, 0.0106679257, -0.00951500144, -0.0107729994, 0.999897599),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 1851 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),})
| |
| 1852 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),C1 = CFrame.new(-0.00235080719, 0.624869347, 0.00694274902, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
| |
| 1853 | NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = MRC_B,Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1.08999991, 0.0599999577, 1.07999992),CFrame = CFrame.new(-5.66490126, 3.73544312, -77.6652145, 0.999894857, 0.0109243635, 0.00963268708, -0.0110270083, 0.999883175, 0.0106679257, -0.00951500144, -0.0107729994, 0.999897599),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
| |
| 1854 | Mesh = New("BlockMesh",NeonPart,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),})
| |
| 1855 | mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),C1 = CFrame.new(0.000443935394, 0.714845657, 0.00408172607, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
| |
| 1856 | NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = MRC_B,Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1.08999991, 0.0599999577, 1.07999992),CFrame = CFrame.new(-5.66480446, 3.52554965, -77.65522, 0.999894857, 0.0109243635, 0.00963268708, -0.0110270083, 0.999883175, 0.0106679257, -0.00951500144, -0.0107729994, 0.999897599),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
| |
| 1857 | Mesh = New("BlockMesh",NeonPart,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),})
| |
| 1858 | mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),C1 = CFrame.new(0.00275993347, 0.504870415, 0.0118331909, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
| |
| 1859 | Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1.07999992, 0.279999971, 1.06999993),CFrame = CFrame.new(-5.6686511, 2.55553746, -77.6613541, 0.999894857, 0.0109243635, 0.00963268708, -0.0110270083, 0.999883175, 0.0106679257, -0.00951500144, -0.0107729994, 0.999897599),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 1860 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),})
| |
| 1861 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),C1 = CFrame.new(0.00966835022, -0.465003252, -0.00468444824, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
| |
| 1862 | NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = MRC_B,Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1.08999991, 0.0599999577, 1.07999992),CFrame = CFrame.new(-5.66490126, 2.64544272, -77.6652145, 0.999894857, 0.0109243635, 0.00963268708, -0.0110270083, 0.999883175, 0.0106679257, -0.00951500144, -0.0107729994, 0.999897599),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
| |
| 1863 | Mesh = New("BlockMesh",NeonPart,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),})
| |
| 1864 | mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),C1 = CFrame.new(0.0124630928, -0.375026226, -0.00754547119, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
| |
| 1865 | NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = MRC_B,Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1.08999991, 0.0599999577, 1.07999992),CFrame = CFrame.new(-5.66480494, 2.43554902, -77.65522, 0.999894857, 0.0109243635, 0.00963268708, -0.0110270083, 0.999883175, 0.0106679257, -0.00951500144, -0.0107729994, 0.999897599),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
| |
| 1866 | Mesh = New("BlockMesh",NeonPart,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),})
| |
| 1867 | mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),C1 = CFrame.new(0.0147790909, -0.585001707, 0.000205993652, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
| |
| 1868 | NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = MRC_B,Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.12999988, 0.109999999, 0.109999999),CFrame = CFrame.new(-5.67265606, 3.62595463, -78.1079407, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
| |
| 1869 | mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C1 = CFrame.new(-0.0018901825, 0.61005497, -0.439842224, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
| |
| 1870 | NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = MRC_B,Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.12999988, 0.109999999, 0.109999999),CFrame = CFrame.new(-5.67265606, 3.62595558, -77.8179321, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
| |
| 1871 | mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C1 = CFrame.new(-0.00464963913, 0.606931448, -0.149864197, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
| |
| 1872 | NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = MRC_B,Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.13999987, 0.109999999, 0.109999999),CFrame = CFrame.new(-5.66765547, 3.62595606, -77.4879303, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
| |
| 1873 | mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C1 = CFrame.new(-0.00278997421, 0.603431463, 0.180152893, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
| |
| 1874 | NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = MRC_B,Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.13999987, 0.109999999, 0.109999999),CFrame = CFrame.new(-5.66765547, 3.62595654, -77.1979294, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
| |
| 1875 | mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C1 = CFrame.new(-0.00554895401, 0.600307703, 0.470123291, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
| |
| 1876 | NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = MRC_B,Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.13999987, 0.109999999, 0.109999999),CFrame = CFrame.new(-5.66765547, 2.53595638, -77.1979294, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
| |
| 1877 | mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C1 = CFrame.new(0.0064702034, -0.489563704, 0.458496094, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
| |
| 1878 | NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = MRC_B,Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.13999987, 0.109999999, 0.109999999),CFrame = CFrame.new(-5.66765547, 2.53595614, -77.4879303, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
| |
| 1879 | mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C1 = CFrame.new(0.00922966003, -0.486439705, 0.168525696, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
| |
| 1880 | NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = MRC_B,Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.12999988, 0.109999999, 0.109999999),CFrame = CFrame.new(-5.67265558, 2.53595638, -77.8179245, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
| |
| 1881 | mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C1 = CFrame.new(0.00736999512, -0.482939243, -0.161483765, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
| |
| 1882 | NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = MRC_B,Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.12999988, 0.109999999, 0.109999999),CFrame = CFrame.new(-5.67265606, 2.53595614, -78.1079254, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
| |
| 1883 | mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C1 = CFrame.new(0.0101289749, -0.479815245, -0.451454163, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
| |
| 1884 | Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-5.66765547, 3.62595677, -77.1979218, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 1885 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(-0.00554943085, 0.600307941, 0.47013092, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
| |
| 1886 | Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-5.66765499, 3.62595701, -77.4879303, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 1887 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(-0.00278949738, 0.603432655, 0.180152893, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
| |
| 1888 | Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-5.66765451, 3.62595749, -77.8179321, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 1889 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(0.000350952148, 0.606987953, -0.149810791, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
| |
| 1890 | Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-5.66765451, 3.62595749, -78.107933, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 1891 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(0.00311040878, 0.61011219, -0.439788818, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
| |
| 1892 | Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-5.66765499, 2.53595734, -78.107933, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 1893 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(0.0151295662, -0.479759216, -0.451416016, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
| |
| 1894 | Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-5.66765499, 2.5359571, -77.8179245, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 1895 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(0.0123701096, -0.482883692, -0.161437988, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
| |
| 1896 | Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-5.66765499, 2.5359571, -77.4879227, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 1897 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(0.00923013687, -0.48643899, 0.168533325, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
| |
| 1898 | Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-5.66765499, 2.53595686, -77.1979218, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 1899 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(0.00647068024, -0.489563227, 0.458503723, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
| |
| 1900 | Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-6.13765478, 3.62595701, -77.6579132, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 1901 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(-0.471121788, 0.600129128, 0.00566101074, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
| |
| 1902 | Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-5.82765484, 3.62595725, -77.6579132, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 1903 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(-0.161154747, 0.603516102, 0.008644104, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
| |
| 1904 | Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-5.51765442, 3.62595773, -77.6579132, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 1905 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(0.148812771, 0.606903076, 0.0116348267, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
| |
| 1906 | Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-5.21765375, 3.6259582, -77.6579132, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 1907 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(0.44878149, 0.610180855, 0.0145187378, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
| |
| 1908 | Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-5.21765327, 2.53595781, -77.6579132, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 1909 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(0.460801125, -0.47969079, 0.00289154053, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
| |
| 1910 | Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-5.51765299, 2.53595757, -77.6579208, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 1911 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(0.160833359, -0.48296833, 0, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
| |
| 1912 | Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-5.82765341, 2.53595734, -77.6579208, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 1913 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(-0.149133682, -0.486355066, -0.00299072266, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
| |
| 1914 | Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-6.13765383, 2.53595734, -77.6579208, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 1915 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(-0.4591012, -0.489741802, -0.00597381592, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
| |
| 1916 | NeonPart = New("WedgePart",Gaunty,"NeonPart",{BrickColor = MRC_B,Material = Enum.Material.Neon,Size = Vector3.new(1.14999998, 0.640000045, 0.25000003),CFrame = CFrame.new(-5.66203499, 3.4509573, -77.7865677, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
| |
| 1917 | mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C1 = CFrame.new(0.00760126114, 0.431732178, -0.120269775, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
| |
| 1918 | NeonPart = New("WedgePart",Gaunty,"NeonPart",{BrickColor = MRC_B,Material = Enum.Material.Neon,Size = Vector3.new(1.14999998, 0.640000045, 0.280000031),CFrame = CFrame.new(-5.66203451, 3.45095778, -77.5215683, -1.0000006, -6.18456397e-10, -9.12696123e-08, 6.18456397e-10, 1.0000006, -4.65661287e-09, 8.38190317e-08, 4.65661287e-09, -1.0000006),BottomSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
| |
| 1919 | mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1, 0, 8.74227766e-08, 0, 1, 0, -8.74227766e-08, 0, -1),C1 = CFrame.new(0.00508022308, 0.428877592, 0.144706726, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
| |
| 1920 | NeonPart = New("WedgePart",Gaunty,"NeonPart",{BrickColor = MRC_B,Material = Enum.Material.Neon,Size = Vector3.new(1.14999998, 0.640000045, 0.25000003),CFrame = CFrame.new(-5.66203403, 2.81095791, -77.7865601, -1.0000006, 8.81700544e-08, 3.7252903e-09, -8.69331416e-08, -1.0000006, 4.65661287e-09, -3.7252903e-09, -4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
| |
| 1921 | mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1, -8.74227766e-08, 0, 8.74227766e-08, -1, 0, 0, 0, 1),C1 = CFrame.new(0.0146594048, -0.208191872, -0.127082825, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
| |
| 1922 | NeonPart = New("WedgePart",Gaunty,"NeonPart",{BrickColor = MRC_B,Material = Enum.Material.Neon,Size = Vector3.new(1.14999998, 0.640000045, 0.280000031),CFrame = CFrame.new(-5.66203356, 2.8209579, -77.5215607, 1.0000006, -8.69331416e-08, 8.38190317e-08, -8.81700544e-08, -1.0000006, -4.65661287e-09, 9.12696123e-08, -4.65661287e-09, -1.0000006),BottomSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
| |
| 1923 | mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, -8.74227766e-08, 8.74227766e-08, -8.74227766e-08, -1, -7.64274186e-15, 8.74227766e-08, 0, -1),C1 = CFrame.new(0.0120282173, -0.201047897, 0.137992859, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
| |
| 1924 | Wedge = New("WedgePart",Gaunty,"Wedge",{BrickColor = BrickColor.new("Black"),Size = Vector3.new(1.1099999, 0.569999993, 1.13),CFrame = CFrame.new(-5.6508193, 4.06113148, -77.6620178, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 1925 | mot = New("Motor",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(0.0109024048, 1.04061508, 0.010887146, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
| |
| 1926 | ||
| 1927 | ||
| 1928 | ||
| 1929 | NewInstance = function(instance,parent,properties) | |
| 1930 | local inst = Instance.new(instance,parent) | |
| 1931 | if(properties)then | |
| 1932 | for i,v in next, properties do | |
| 1933 | pcall(function() inst[i] = v end) | |
| 1934 | end | |
| 1935 | end | |
| 1936 | return inst; | |
| 1937 | end | |
| 1938 | local HW = NewInstance('Motor', char, {Part0 = ra, Part1 = Handle, C0 = CF(0,-.51,0)})
| |
| 1939 | ||
| 1940 | ||
| 1941 | ||
| 1942 | local all, last = {}, nil
| |
| 1943 | ArmourParts = {}
| |
| 1944 | NeonParts = {}
| |
| 1945 | function scan(p) | |
| 1946 | for _, v in pairs(p:GetChildren()) do | |
| 1947 | if v:IsA("BasePart") then
| |
| 1948 | if v.BrickColor == BrickColor.new("Black") then
| |
| 1949 | table.insert(ArmourParts, v) | |
| 1950 | end | |
| 1951 | if v.BrickColor == BrickColor.new("Bright green") then
| |
| 1952 | table.insert(NeonParts, v) | |
| 1953 | end | |
| 1954 | if last then | |
| 1955 | local w = Instance.new("Weld")
| |
| 1956 | w.Part0, w.Part1 = last, v | |
| 1957 | w.C0 = v.CFrame:toObjectSpace(last.CFrame):inverse() | |
| 1958 | w.Parent = last | |
| 1959 | end | |
| 1960 | table.insert(all, v) | |
| 1961 | last = v | |
| 1962 | end | |
| 1963 | scan(v) | |
| 1964 | end | |
| 1965 | end | |
| 1966 | scan(Gaunty) | |
| 1967 | local all2, last2 = {}, nil
| |
| 1968 | ArmourParts2 = {}
| |
| 1969 | NeonParts2 = {}
| |
| 1970 | function scan2(p) | |
| 1971 | for _, v in pairs(p:GetChildren()) do | |
| 1972 | if v:IsA("BasePart") then
| |
| 1973 | if v.BrickColor == BrickColor.new("Black") then
| |
| 1974 | table.insert(ArmourParts2, v) | |
| 1975 | end | |
| 1976 | if v.BrickColor == BrickColor.new("Bright green") then
| |
| 1977 | table.insert(NeonParts2, v) | |
| 1978 | end | |
| 1979 | if last2 then | |
| 1980 | local w = Instance.new("Weld")
| |
| 1981 | w.Part0, w.Part1 = last2, v | |
| 1982 | w.C0 = v.CFrame:toObjectSpace(last2.CFrame):inverse() | |
| 1983 | w.Parent = last2 | |
| 1984 | end | |
| 1985 | table.insert(all2, v) | |
| 1986 | last2 = v | |
| 1987 | end | |
| 1988 | scan2(v) | |
| 1989 | end | |
| 1990 | end | |
| 1991 | ||
| 1992 | ||
| 1993 | ||
| 1994 | gui = function(GuiType, parent, text, backtrans, backcol, pos, size) | |
| 1995 | local gui = it(GuiType) | |
| 1996 | gui.Parent = parent | |
| 1997 | gui.Text = text | |
| 1998 | gui.BackgroundTransparency = backtrans | |
| 1999 | gui.BackgroundColor3 = backcol | |
| 2000 | gui.SizeConstraint = "RelativeXY" | |
| 2001 | gui.TextXAlignment = "Center" | |
| 2002 | gui.TextYAlignment = "Center" | |
| 2003 | gui.Position = pos | |
| 2004 | gui.Size = size | |
| 2005 | gui.Font = "SourceSans" | |
| 2006 | gui.FontSize = "Size14" | |
| 2007 | gui.TextWrapped = false | |
| 2008 | gui.TextStrokeTransparency = 0 | |
| 2009 | gui.TextColor = BrickColor.new("White")
| |
| 2010 | return gui | |
| 2011 | end | |
| 2012 | --------------------------- GUI STUFF | |
| 2013 | local basgui = it("GuiMain")
| |
| 2014 | basgui.Parent = plr.PlayerGui | |
| 2015 | basgui.Name = "VISgui" | |
| 2016 | local fullscreenz = it("Frame")
| |
| 2017 | fullscreenz.Parent = basgui | |
| 2018 | fullscreenz.BackgroundColor3 = Color3.new(255, 255, 255) | |
| 2019 | fullscreenz.BackgroundTransparency = 1 | |
| 2020 | fullscreenz.BorderColor3 = Color3.new(17, 17, 17) | |
| 2021 | fullscreenz.Size = UDim2.new(1, 0, 1, 0) | |
| 2022 | fullscreenz.Position = UDim2.new(0, 0, 0, 0) | |
| 2023 | local imgl2 = Instance.new("ImageLabel",fullscreenz)
| |
| 2024 | imgl2.BackgroundTransparency = 1 | |
| 2025 | imgl2.BorderSizePixel = 0 | |
| 2026 | imgl2.ImageTransparency = 0.5 | |
| 2027 | imgl2.ImageColor3 = Color3.new(1,1,1) | |
| 2028 | imgl2.Position = UDim2.new(0.75,-200,0.55,-200) | |
| 2029 | imgl2.Size = UDim2.new(0,1000,0,1000) | |
| 2030 | imgl2.Image = "rbxassetid://0" | |
| 2031 | local techc = imgl2:Clone() | |
| 2032 | techc.Parent = fullscreenz | |
| 2033 | techc.ImageTransparency = 0 | |
| 2034 | techc.Size = UDim2.new(0,900,0,900) | |
| 2035 | techc.Position = UDim2.new(0.75,-150,0.55,-150) | |
| 2036 | techc.ImageColor3 = Color3.new(0.5,0.5,0.5) | |
| 2037 | techc.Image = "rbxassetid://0" | |
| 2038 | local circl = imgl2:Clone() | |
| 2039 | circl.Parent = fullscreenz | |
| 2040 | circl.ImageTransparency = 0 | |
| 2041 | circl.Size = UDim2.new(0,550,0,550) | |
| 2042 | circl.Position = UDim2.new(0.75,25,0.55,25) | |
| 2043 | circl.ImageColor3 = Color3.new(0,0,0) | |
| 2044 | circl.Image = "rbxassetid://0" | |
| 2045 | local circl2 = imgl2:Clone() | |
| 2046 | circl2.Parent = fullscreenz | |
| 2047 | circl2.ImageTransparency = 0 | |
| 2048 | circl2.Size = UDim2.new(0,700,0,700) | |
| 2049 | circl2.Position = UDim2.new(0.75,-50,0.55,-50) | |
| 2050 | circl2.ImageColor3 = Color3.new(1,1,1) | |
| 2051 | circl2.Image = "rbxassetid://0" | |
| 2052 | local imgl2b = imgl2:Clone() | |
| 2053 | imgl2b.Parent = fullscreenz | |
| 2054 | imgl2b.ImageTransparency = 0 | |
| 2055 | imgl2b.Size = UDim2.new(0,800,0,800) | |
| 2056 | imgl2b.Position = UDim2.new(0.75,-100,0.55,-100) | |
| 2057 | imgl2b.ImageColor3 = Color3.new(0,0,0) | |
| 2058 | ||
| 2059 | ||
| 2060 | ||
| 2061 | function Damagefunc(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch) | |
| 2062 | if hit.Parent == nil then | |
| 2063 | return | |
| 2064 | end | |
| 2065 | local h = hit.Parent:FindFirstChildOfClass("Humanoid")
| |
| 2066 | for _, v in pairs(hit.Parent:children()) do | |
| 2067 | if v:IsA("Humanoid") then
| |
| 2068 | h = v | |
| 2069 | end | |
| 2070 | end | |
| 2071 | if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Head") ~= nil then
| |
| 2072 | if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
| |
| 2073 | return | |
| 2074 | end | |
| 2075 | local c = Create("ObjectValue")({
| |
| 2076 | Name = "creator", | |
| 2077 | Value = RealGame:service("Players")[owner.Name],
| |
| 2078 | Parent = h | |
| 2079 | }) | |
| 2080 | game:GetService("Debris"):AddItem(c, 0.5)
| |
| 2081 | if HitSound ~= nil and HitPitch ~= nil then | |
| 2082 | CFuncs.Sound.Create(HitSound, hit, 1, HitPitch) | |
| 2083 | end | |
| 2084 | local Damage = math.random(minim, maxim) | |
| 2085 | local blocked = false | |
| 2086 | local block = hit.Parent:findFirstChild("Block")
| |
| 2087 | if block ~= nil and block.className == "IntValue" and block.Value > 0 then | |
| 2088 | blocked = true | |
| 2089 | block.Value = block.Value - 1 | |
| 2090 | print(block.Value) | |
| 2091 | end | |
| 2092 | if blocked == false then | |
| 2093 | HitHealth = h.Health | |
| 2094 | h.Health = h.Health - Damage | |
| 2095 | if HitHealth ~= h.Health and HitHealth ~= 0 and 0 >= h.Health and h.Parent.Name ~= "Hologram" then | |
| 2096 | ||
| 2097 | end | |
| 2098 | ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color) | |
| 2099 | else | |
| 2100 | h.Health = h.Health - Damage / 2 | |
| 2101 | ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color) | |
| 2102 | end | |
| 2103 | if Type == "Knockdown" then | |
| 2104 | local hum = hit.Parent.Humanoid | |
| 2105 | hum.PlatformStand = true | |
| 2106 | coroutine.resume(coroutine.create(function(HHumanoid) | |
| 2107 | swait(1) | |
| 2108 | HHumanoid.PlatformStand = false | |
| 2109 | end), hum) | |
| 2110 | local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit | |
| 2111 | local bodvol = Create("BodyVelocity")({
| |
| 2112 | velocity = angle * knockback, | |
| 2113 | P = 5000, | |
| 2114 | maxForce = Vector3.new(8000, 8000, 8000), | |
| 2115 | Parent = hit | |
| 2116 | }) | |
| 2117 | local rl = Create("BodyAngularVelocity")({
| |
| 2118 | P = 3000, | |
| 2119 | maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, | |
| 2120 | angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), | |
| 2121 | Parent = hit | |
| 2122 | }) | |
| 2123 | game:GetService("Debris"):AddItem(bodvol, 0.5)
| |
| 2124 | game:GetService("Debris"):AddItem(rl, 0.5)
| |
| 2125 | elseif Type == "Normal" then | |
| 2126 | local vp = Create("BodyVelocity")({
| |
| 2127 | P = 500, | |
| 2128 | maxForce = Vector3.new(math.huge, 0, math.huge), | |
| 2129 | velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05 | |
| 2130 | }) | |
| 2131 | if knockback > 0 then | |
| 2132 | vp.Parent = hit.Parent.Head | |
| 2133 | end | |
| 2134 | game:GetService("Debris"):AddItem(vp, 0.5)
| |
| 2135 | elseif Type == "Up" then | |
| 2136 | local bodyVelocity = Create("BodyVelocity")({
| |
| 2137 | velocity = Vector3.new(0, 20, 0), | |
| 2138 | P = 5000, | |
| 2139 | maxForce = Vector3.new(8000, 8000, 8000), | |
| 2140 | Parent = hit | |
| 2141 | }) | |
| 2142 | game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
| |
| 2143 | local bodyVelocity = Create("BodyVelocity")({
| |
| 2144 | velocity = Vector3.new(0, 20, 0), | |
| 2145 | P = 5000, | |
| 2146 | maxForce = Vector3.new(8000, 8000, 8000), | |
| 2147 | Parent = hit | |
| 2148 | }) | |
| 2149 | game:GetService("Debris"):AddItem(bodyVelocity, 1)
| |
| 2150 | elseif Type == "Leech" then | |
| 2151 | local hum = hit.Parent.Humanoid | |
| 2152 | if hum ~= nil then | |
| 2153 | for i = 0, 2 do | |
| 2154 | Effects.Sphere.Create(BrickColor.new("Bright red"), hit.Parent.Torso.CFrame * cn(0, 0, 0) * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 15, 1, 0, 5, 0, 0.02)
| |
| 2155 | end | |
| 2156 | Humanoid.Health = Humanoid.Health + 10 | |
| 2157 | end | |
| 2158 | elseif Type == "UpKnock" then | |
| 2159 | local hum = hit.Parent.Humanoid | |
| 2160 | hum.PlatformStand = true | |
| 2161 | if hum ~= nil then | |
| 2162 | hitr = true | |
| 2163 | end | |
| 2164 | coroutine.resume(coroutine.create(function(HHumanoid) | |
| 2165 | swait(5) | |
| 2166 | HHumanoid.PlatformStand = false | |
| 2167 | hitr = false | |
| 2168 | end), hum) | |
| 2169 | local bodyVelocity = Create("BodyVelocity")({
| |
| 2170 | velocity = Vector3.new(0, 20, 0), | |
| 2171 | P = 5000, | |
| 2172 | maxForce = Vector3.new(8000, 8000, 8000), | |
| 2173 | Parent = hit | |
| 2174 | }) | |
| 2175 | game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
| |
| 2176 | local bodyVelocity = Create("BodyVelocity")({
| |
| 2177 | velocity = Vector3.new(0, 20, 0), | |
| 2178 | P = 5000, | |
| 2179 | maxForce = Vector3.new(8000, 8000, 8000), | |
| 2180 | Parent = hit | |
| 2181 | }) | |
| 2182 | game:GetService("Debris"):AddItem(bodyVelocity, 1)
| |
| 2183 | elseif Type == "Snare" then | |
| 2184 | local bp = Create("BodyPosition")({
| |
| 2185 | P = 2000, | |
| 2186 | D = 100, | |
| 2187 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
| 2188 | position = hit.Parent.Torso.Position, | |
| 2189 | Parent = hit.Parent.Torso | |
| 2190 | }) | |
| 2191 | game:GetService("Debris"):AddItem(bp, 1)
| |
| 2192 | elseif Type == "Slashnare" then | |
| 2193 | Effects.Block.Create(BrickColor.new("Pastel Blue"), hit.Parent.Torso.CFrame * cn(0, 0, 0), 60, 60, 60, 12, 12, 12, 0.07)
| |
| 2194 | for i = 1, math.random(4, 5) do | |
| 2195 | Effects.Sphere.Create(BrickColor.new("Teal"), hit.Parent.Torso.CFrame * cn(math.random(-5, 5), math.random(-5, 5), math.random(-5, 5)) * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 15, 1, 0, 5, 0, 0.02)
| |
| 2196 | end | |
| 2197 | local bp = Create("BodyPosition")({
| |
| 2198 | P = 2000, | |
| 2199 | D = 100, | |
| 2200 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
| 2201 | position = hit.Parent.Torso.Position, | |
| 2202 | Parent = hit.Parent.Torso | |
| 2203 | }) | |
| 2204 | game:GetService("Debris"):AddItem(bp, 1)
| |
| 2205 | elseif Type == "Spike" then | |
| 2206 | CreateBigIceSword(hit.Parent.Torso.CFrame) | |
| 2207 | local bp = Create("BodyPosition")({
| |
| 2208 | P = 2000, | |
| 2209 | D = 100, | |
| 2210 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
| 2211 | position = hit.Parent.Torso.Position, | |
| 2212 | Parent = hit.Parent.Torso | |
| 2213 | }) | |
| 2214 | game:GetService("Debris"):AddItem(bp, 1)
| |
| 2215 | elseif Type == "Freeze" then | |
| 2216 | local BodPos = Create("BodyPosition")({
| |
| 2217 | P = 50000, | |
| 2218 | D = 1000, | |
| 2219 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
| 2220 | position = hit.Parent.Torso.Position, | |
| 2221 | Parent = hit.Parent.Torso | |
| 2222 | }) | |
| 2223 | local BodGy = Create("BodyGyro")({
| |
| 2224 | maxTorque = Vector3.new(400000, 400000, 400000) * math.huge, | |
| 2225 | P = 20000, | |
| 2226 | Parent = hit.Parent.Torso, | |
| 2227 | cframe = hit.Parent.Torso.CFrame | |
| 2228 | }) | |
| 2229 | hit.Parent.Torso.Anchored = true | |
| 2230 | coroutine.resume(coroutine.create(function(Part) | |
| 2231 | swait(1.5) | |
| 2232 | Part.Anchored = false | |
| 2233 | end), hit.Parent.Torso) | |
| 2234 | game:GetService("Debris"):AddItem(BodPos, 3)
| |
| 2235 | game:GetService("Debris"):AddItem(BodGy, 3)
| |
| 2236 | end | |
| 2237 | local debounce = Create("BoolValue")({
| |
| 2238 | Name = "DebounceHit", | |
| 2239 | Parent = hit.Parent, | |
| 2240 | Value = true | |
| 2241 | }) | |
| 2242 | game:GetService("Debris"):AddItem(debounce, Delay)
| |
| 2243 | c = Instance.new("ObjectValue")
| |
| 2244 | c.Name = "creator" | |
| 2245 | c.Value = RealGame:service("Players")[owner.Name];
| |
| 2246 | c.Parent = h | |
| 2247 | game:GetService("Debris"):AddItem(c, 0.5)
| |
| 2248 | end | |
| 2249 | end | |
| 2250 | function ShowDamage(Pos, Text, Time, Color) | |
| 2251 | local Rate = 0.03333333333333333 | |
| 2252 | local Pos = Pos or Vector3.new(0, 0, 0) | |
| 2253 | local Text = Text or "" | |
| 2254 | local Time = Time or 2 | |
| 2255 | local Color = Color or Color3.new(1, 0, 1) | |
| 2256 | local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0)) | |
| 2257 | EffectPart.Anchored = true | |
| 2258 | local BillboardGui = Create("BillboardGui")({
| |
| 2259 | Size = UDim2.new(3, 0, 3, 0), | |
| 2260 | Adornee = EffectPart, | |
| 2261 | Parent = EffectPart | |
| 2262 | }) | |
| 2263 | local TextLabel = Create("TextLabel")({
| |
| 2264 | BackgroundTransparency = 1, | |
| 2265 | Size = UDim2.new(1, 0, 1, 0), | |
| 2266 | Text = Text, | |
| 2267 | TextColor3 = Color, | |
| 2268 | TextScaled = true, | |
| 2269 | Font = Enum.Font.ArialBold, | |
| 2270 | Parent = BillboardGui | |
| 2271 | }) | |
| 2272 | game.Debris:AddItem(EffectPart, Time + 0.1) | |
| 2273 | EffectPart.Parent = game:GetService("Workspace")
| |
| 2274 | delay(0, function() | |
| 2275 | local Frames = Time / Rate | |
| 2276 | for Frame = 1, Frames do | |
| 2277 | wait(Rate) | |
| 2278 | local Percent = Frame / Frames | |
| 2279 | EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0) | |
| 2280 | TextLabel.TextTransparency = Percent | |
| 2281 | end | |
| 2282 | if EffectPart and EffectPart.Parent then | |
| 2283 | EffectPart:Destroy() | |
| 2284 | end | |
| 2285 | end) | |
| 2286 | end | |
| 2287 | function MagniDamage(Part, magni, mindam, maxdam, knock, Type) | |
| 2288 | for _, c in pairs(workspace:children()) do | |
| 2289 | local hum = c:findFirstChildOfClass("Humanoid")
| |
| 2290 | if hum ~= nil then | |
| 2291 | local head = c:findFirstChild("Head")
| |
| 2292 | if head ~= nil then | |
| 2293 | local targ = head.Position - Part.Position | |
| 2294 | local mag = targ.magnitude | |
| 2295 | if magni >= mag and c.Name ~= Player.Name then | |
| 2296 | Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1) | |
| 2297 | end | |
| 2298 | end | |
| 2299 | end | |
| 2300 | end | |
| 2301 | end | |
| 2302 | ||
| 2303 | ------------------------------------------------------- | |
| 2304 | --End Important Functions-- | |
| 2305 | ------------------------------------------------------- | |
| 2306 | ||
| 2307 | ||
| 2308 | ------------------------------------------------------- | |
| 2309 | --Start Customization-- | |
| 2310 | ------------------------------------------------------- | |
| 2311 | local Player_Size = 1 | |
| 2312 | if Player_Size ~= 1 then | |
| 2313 | root.Size = root.Size * Player_Size | |
| 2314 | tors.Size = tors.Size * Player_Size | |
| 2315 | hed.Size = hed.Size * Player_Size | |
| 2316 | ra.Size = ra.Size * Player_Size | |
| 2317 | la.Size = la.Size * Player_Size | |
| 2318 | rl.Size = rl.Size * Player_Size | |
| 2319 | ll.Size = ll.Size * Player_Size | |
| 2320 | ---------------------------------------------------------------------------------- | |
| 2321 | rootj.Parent = root | |
| 2322 | neck.Parent = tors | |
| 2323 | RW.Parent = tors | |
| 2324 | LW.Parent = tors | |
| 2325 | RH.Parent = tors | |
| 2326 | LH.Parent = tors | |
| 2327 | ---------------------------------------------------------------------------------- | |
| 2328 | rootj.C0 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) | |
| 2329 | rootj.C1 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) | |
| 2330 | neck.C0 = necko * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0)) | |
| 2331 | neck.C1 = CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * angles(Rad(-90), Rad(0), Rad(180)) | |
| 2332 | RW.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* RIGHTSHOULDERC0 | |
| 2333 | LW.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* LEFTSHOULDERC0 | |
| 2334 | ---------------------------------------------------------------------------------- | |
| 2335 | RH.C0 = CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0)) | |
| 2336 | LH.C0 = CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0)) | |
| 2337 | RH.C1 = CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0)) | |
| 2338 | LH.C1 = CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0)) | |
| 2339 | --hat.Parent = Character | |
| 2340 | end | |
| 2341 | ---------------------------------------------------------------------------------- | |
| 2342 | local kan = Instance.new("Sound")
| |
| 2343 | kan.Volume = 5 | |
| 2344 | kan.SoundId = "rbxassetid://492150168" | |
| 2345 | kan.Looped = true | |
| 2346 | kan.Parent = owner.Character.Torso | |
| 2347 | kan:Play() | |
| 2348 | ||
| 2349 | function newTheme(ID,timepos,pitch,vol) | |
| 2350 | local kanz = kan | |
| 2351 | kanz:Stop() | |
| 2352 | kanz.Volume = vol | |
| 2353 | kanz.TimePosition = timepos | |
| 2354 | kanz.PlaybackSpeed = pitch | |
| 2355 | kanz.Pitch = pitch | |
| 2356 | kanz.SoundId = ID | |
| 2357 | kanz.Name = "wrecked" | |
| 2358 | kanz.Looped = true | |
| 2359 | currentThemePlaying = kanz.SoundId | |
| 2360 | currentVol = kanz.Volume | |
| 2361 | currentPitch = kanz.Pitch | |
| 2362 | kanz:Play() | |
| 2363 | --coroutine.resume(coroutine.create(function() | |
| 2364 | --wait(0.05) | |
| 2365 | --end)) | |
| 2366 | end | |
| 2367 | ||
| 2368 | function newThemeCust(ID,timepos,pitch,vol) | |
| 2369 | local kanz = kan | |
| 2370 | kanz:Stop() | |
| 2371 | kanz.Volume = vol | |
| 2372 | kanz.TimePosition = timepos | |
| 2373 | kanz.PlaybackSpeed = pitch | |
| 2374 | kanz.Pitch = pitch | |
| 2375 | kanz.SoundId = ID | |
| 2376 | kanz.Name = "wrecked" | |
| 2377 | kanz.Looped = true | |
| 2378 | currentThemePlaying = kanz.SoundId | |
| 2379 | currentVol = kanz.Volume | |
| 2380 | currentPitch = kanz.Pitch | |
| 2381 | kanz:Play() | |
| 2382 | coroutine.resume(coroutine.create(function() | |
| 2383 | wait(0.05) | |
| 2384 | end)) | |
| 2385 | end | |
| 2386 | ---------------------------------------------------------------------------------- | |
| 2387 | local equipped = false | |
| 2388 | local idle = 0 | |
| 2389 | local change = 1 | |
| 2390 | local val = 0 | |
| 2391 | local toim = 0 | |
| 2392 | local idleanim = 0.4 | |
| 2393 | local sine = 0 | |
| 2394 | local Sit = 1 | |
| 2395 | local WasAir = false | |
| 2396 | local InAir = false | |
| 2397 | local LandTick = 0 | |
| 2398 | local movelegs = false | |
| 2399 | local FF = Instance.new("ForceField",char)
| |
| 2400 | FF.Visible = false | |
| 2401 | local Speed = 16 | |
| 2402 | local Sitt = false | |
| 2403 | local VALUE1 = false | |
| 2404 | ---------------------------------------------------------------------------------- | |
| 2405 | hum.JumpPower = 55 | |
| 2406 | hum.Animator.Parent = nil | |
| 2407 | ------------------------------------------------------- | |
| 2408 | --End Customization-- | |
| 2409 | ------------------------------------------------------- | |
| 2410 | ||
| 2411 | local Hair = Instance.new("Part")
| |
| 2412 | Hair.Parent = char | |
| 2413 | Hair.Name = "GreenTopHat" | |
| 2414 | Hair.Size = Vector3.new(0.1, 0.1, 0.1) | |
| 2415 | Hair.CFrame = char.Head.CFrame | |
| 2416 | Hair:BreakJoints() | |
| 2417 | Hair.CanCollide = false | |
| 2418 | Hair.BrickColor = BrickColor.new("Medium Stone")
| |
| 2419 | Hair.TopSurface = "Smooth" | |
| 2420 | Hair.BottomSurface = "Smooth" | |
| 2421 | Weld = Instance.new("Weld")
| |
| 2422 | Weld.Name = "Weld" | |
| 2423 | Weld.Part0 = char.Head | |
| 2424 | Weld.Part1 = Hair | |
| 2425 | Weld.Parent = char.Head | |
| 2426 | Weld.C0 = CFrame.new(0, 0.77, 0)*CFrame.fromEulerAnglesXYZ(0.1, 0, 0) | |
| 2427 | Mesh = Instance.new("SpecialMesh")
| |
| 2428 | Mesh.Parent = Hair | |
| 2429 | Mesh.MeshId = "http://www.roblox.com/asset/?id=0" | |
| 2430 | Mesh.TextureId = "http://www.roblox.com/asset/?id=0" | |
| 2431 | Mesh.Scale = Vector3.new(1, 1, 1) | |
| 2432 | ||
| 2433 | ------------------------------------------------------- | |
| 2434 | --Start Attacks N Stuff-- | |
| 2435 | ------------------------------------------------------- | |
| 2436 | function AttackTemplate() | |
| 2437 | attack = true | |
| 2438 | for i = 0, 2, 0.1 do | |
| 2439 | swait() | |
| 2440 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.1) | |
| 2441 | neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(0 - 5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.1) | |
| 2442 | rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-10), Rad(0)) * angles(Rad(0), Rad(0), Rad(5)), 0.1) | |
| 2443 | ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(10), Rad(0)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1) | |
| 2444 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0 + 5 * Sin(sine / 20)), Rad(10 + 5 * Sin(sine / 20))), 0.1) | |
| 2445 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0 - 5 * Sin(sine / 20)), Rad(-10 - 5 * Sin(sine / 20))), 0.1) | |
| 2446 | end | |
| 2447 | attack = false | |
| 2448 | end | |
| 2449 | function Taunt() | |
| 2450 | attack = true | |
| 2451 | movelegs = true | |
| 2452 | Speed = 12 | |
| 2453 | local Chatty = Mrandom(1,5) | |
| 2454 | if Chatty == 1 then | |
| 2455 | chatfunc("Need More Sugar", maincolor.Color)
| |
| 2456 | elseif Chatty == 2 then | |
| 2457 | chatfunc("Oh God I'll Become Addicted to this", maincolor.Color)
| |
| 2458 | elseif Chatty == 3 then | |
| 2459 | chatfunc("The Taste is Strange", maincolor.Color)
| |
| 2460 | elseif Chatty == 4 then | |
| 2461 | chatfunc2("Ugh.", maincolor.Color)
| |
| 2462 | elseif Chatty == 5 then | |
| 2463 | chatfunc2("...", maincolor.Color)
| |
| 2464 | end | |
| 2465 | if Chatty ~= 5 then | |
| 2466 | for i = 0, 9, 0.1 do | |
| 2467 | swait() | |
| 2468 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-10)), 0.1) | |
| 2469 | neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(25), Rad(0), Rad(10 - 5 * Cos(sine / 3))), 0.1) | |
| 2470 | rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0), Rad(0)) * angles(Rad(0), Rad(0), Rad(5)), 0.1) | |
| 2471 | ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0), Rad(0)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1) | |
| 2472 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(70), Rad(0 + 5 * Sin(sine / 20)), Rad(-30 + 5 * Sin(sine / 20))), 0.1) | |
| 2473 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0 - 5 * Sin(sine / 20)), Rad(-10 - 5 * Sin(sine / 20))), 0.1) | |
| 2474 | end | |
| 2475 | else | |
| 2476 | for i = 0, 9, 0.1 do | |
| 2477 | swait() | |
| 2478 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 24) * Player_Size) * angles(Rad(0 - 4 * Sin(sine / 24)), Rad(0 + 1 * Cos(sine / 24)), Rad(-10)), 0.1) | |
| 2479 | neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-15 - 2 * Sin(sine / 20)), Rad(0), Rad(10)), 0.1) | |
| 2480 | rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.9 * Player_Size - 0.1 * Cos(sine / 24) - Rad(0 + 1 * Cos(sine / 24)) * Player_Size, 0* Player_Size) * angles(Rad(0 - 6 * Sin(sine / 24)), Rad(0 + 1 * Cos(sine / 24)), Rad(0)) * angles(Rad(0 + 1 * Cos(sine / 24)), Rad(0), Rad(5)), 0.1) | |
| 2481 | ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.9 * Player_Size - 0.1 * Cos(sine / 24) + Rad(0 + 1 * Cos(sine / 24)) * Player_Size, 0* Player_Size) * angles(Rad(0 - 6 * Sin(sine / 24)), Rad(-0 + 1 * Cos(sine / 24)), Rad(0)) * angles(Rad(0 - 1 * Cos(sine / 24)), Rad(0), Rad(-5)), 0.1) | |
| 2482 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(70), Rad(0 + 5 * Sin(sine / 20)), Rad(-30 + 5 * Sin(sine / 20))), 0.1) | |
| 2483 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0 - 5 * Sin(sine / 20)), Rad(-10 - 5 * Sin(sine / 20))), 0.1) | |
| 2484 | end | |
| 2485 | end | |
| 2486 | movelegs = false | |
| 2487 | attack = false | |
| 2488 | Speed = 16 | |
| 2489 | end | |
| 2490 | function Taunt2() | |
| 2491 | attack = true | |
| 2492 | movelegs = true | |
| 2493 | Speed = 12 | |
| 2494 | local Chatty = Mrandom(1,5) | |
| 2495 | if Chatty == 1 then | |
| 2496 | chatfunc("Anybody Wunt Coffee?", maincolor.Color)
| |
| 2497 | Cso("2504503263", hed, 6, 1)
| |
| 2498 | elseif Chatty == 2 then | |
| 2499 | chatfunc("Anybody Wunt Coffee?", maincolor.Color)
| |
| 2500 | Cso("2504503263", hed, 6, 1)
| |
| 2501 | elseif Chatty == 3 then | |
| 2502 | chatfunc("Anybody Wunt Coffee?", maincolor.Color)
| |
| 2503 | Cso("2504503263", hed, 6, 1)
| |
| 2504 | elseif Chatty == 4 then | |
| 2505 | chatfunc("Anybody Wunt Coffee?", maincolor.Color)
| |
| 2506 | Cso("2504503263", hed, 6, 1)
| |
| 2507 | elseif Chatty == 5 then | |
| 2508 | chatfunc("Anybody Wunt Coffee?", maincolor.Color)
| |
| 2509 | Cso("2504503263", hed, 6, 1)
| |
| 2510 | elseif Chatty == 6 then | |
| 2511 | chatfunc("Anybody Wunt Coffee?", maincolor.Color)
| |
| 2512 | Cso("1208437140", hed, 6, 1)
| |
| 2513 | end | |
| 2514 | if Chatty ~= 5 then | |
| 2515 | for i = 0, 9, 0.1 do | |
| 2516 | swait() | |
| 2517 | local killsky = Instance.new('Sky', game:GetService'Lighting')
| |
| 2518 | killsky.SkyboxBk = "http://www.roblox.com/asset/?id=167001143" | |
| 2519 | killsky.SkyboxDn = "http://www.roblox.com/asset/?id=167001152" | |
| 2520 | killsky.SkyboxFt = "http://www.roblox.com/asset/?id=167001169" | |
| 2521 | killsky.SkyboxLf = "http://www.roblox.com/asset/?id=167001192" | |
| 2522 | killsky.SkyboxRt = "http://www.roblox.com/asset/?id=167001162" | |
| 2523 | killsky.SkyboxUp = "http://www.roblox.com/asset/?id=167001183" | |
| 2524 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-10)), 0.1) | |
| 2525 | neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(25), Rad(0), Rad(10 - 5 * Cos(sine / 3))), 0.1) | |
| 2526 | rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0), Rad(0)) * angles(Rad(0), Rad(0), Rad(5)), 0.1) | |
| 2527 | ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0), Rad(0)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1) | |
| 2528 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(70), Rad(0 + 5 * Sin(sine / 20)), Rad(-30 + 5 * Sin(sine / 20))), 0.1) | |
| 2529 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0 - 5 * Sin(sine / 20)), Rad(-10 - 5 * Sin(sine / 20))), 0.1) | |
| 2530 | end | |
| 2531 | else | |
| 2532 | for i = 0, 9, 0.1 do | |
| 2533 | swait() | |
| 2534 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 24) * Player_Size) * angles(Rad(0 - 4 * Sin(sine / 24)), Rad(0 + 1 * Cos(sine / 24)), Rad(-10)), 0.1) | |
| 2535 | neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-15 - 2 * Sin(sine / 20)), Rad(0), Rad(10)), 0.1) | |
| 2536 | rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.9 * Player_Size - 0.1 * Cos(sine / 24) - Rad(0 + 1 * Cos(sine / 24)) * Player_Size, 0* Player_Size) * angles(Rad(0 - 6 * Sin(sine / 24)), Rad(0 + 1 * Cos(sine / 24)), Rad(0)) * angles(Rad(0 + 1 * Cos(sine / 24)), Rad(0), Rad(5)), 0.1) | |
| 2537 | ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.9 * Player_Size - 0.1 * Cos(sine / 24) + Rad(0 + 1 * Cos(sine / 24)) * Player_Size, 0* Player_Size) * angles(Rad(0 - 6 * Sin(sine / 24)), Rad(-0 + 1 * Cos(sine / 24)), Rad(0)) * angles(Rad(0 - 1 * Cos(sine / 24)), Rad(0), Rad(-5)), 0.1) | |
| 2538 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(70), Rad(0 + 5 * Sin(sine / 20)), Rad(-30 + 5 * Sin(sine / 20))), 0.1) | |
| 2539 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0 - 5 * Sin(sine / 20)), Rad(-10 - 5 * Sin(sine / 20))), 0.1) | |
| 2540 | end | |
| 2541 | end | |
| 2542 | movelegs = false | |
| 2543 | attack = false | |
| 2544 | Speed = 16 | |
| 2545 | end | |
| 2546 | ||
| 2547 | function Taunt3() | |
| 2548 | attack = true | |
| 2549 | movelegs = true | |
| 2550 | Speed = 12 | |
| 2551 | local Chatty = Mrandom(1,5) | |
| 2552 | if Chatty == 1 then | |
| 2553 | chatfunc3("I LIKE COFFEE :>", maincolor.Color)
| |
| 2554 | elseif Chatty == 2 then | |
| 2555 | chatfunc3("AM HUNGRY", maincolor.Color)
| |
| 2556 | elseif Chatty == 3 then | |
| 2557 | chatfunc3("U HAVE FOOD?", maincolor.Color)
| |
| 2558 | elseif Chatty == 4 then | |
| 2559 | chatfunc3("U HAVE MORE COFFEE??", maincolor.Color)
| |
| 2560 | elseif Chatty == 5 then | |
| 2561 | chatfunc3("YEY", maincolor.Color)
| |
| 2562 | end | |
| 2563 | if Chatty ~= 5 then | |
| 2564 | for i = 0, 9, 0.1 do | |
| 2565 | swait() | |
| 2566 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-10)), 0.1) | |
| 2567 | neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(25), Rad(0), Rad(10 - 5 * Cos(sine / 3))), 0.1) | |
| 2568 | rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0), Rad(0)) * angles(Rad(0), Rad(0), Rad(5)), 0.1) | |
| 2569 | ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0), Rad(0)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1) | |
| 2570 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(70), Rad(0 + 5 * Sin(sine / 20)), Rad(-30 + 5 * Sin(sine / 20))), 0.1) | |
| 2571 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0 - 5 * Sin(sine / 20)), Rad(-10 - 5 * Sin(sine / 20))), 0.1) | |
| 2572 | end | |
| 2573 | else | |
| 2574 | for i = 0, 9, 0.1 do | |
| 2575 | swait() | |
| 2576 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 24) * Player_Size) * angles(Rad(0 - 4 * Sin(sine / 24)), Rad(0 + 1 * Cos(sine / 24)), Rad(-10)), 0.1) | |
| 2577 | neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-15 - 2 * Sin(sine / 20)), Rad(0), Rad(10)), 0.1) | |
| 2578 | rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.9 * Player_Size - 0.1 * Cos(sine / 24) - Rad(0 + 1 * Cos(sine / 24)) * Player_Size, 0* Player_Size) * angles(Rad(0 - 6 * Sin(sine / 24)), Rad(0 + 1 * Cos(sine / 24)), Rad(0)) * angles(Rad(0 + 1 * Cos(sine / 24)), Rad(0), Rad(5)), 0.1) | |
| 2579 | ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.9 * Player_Size - 0.1 * Cos(sine / 24) + Rad(0 + 1 * Cos(sine / 24)) * Player_Size, 0* Player_Size) * angles(Rad(0 - 6 * Sin(sine / 24)), Rad(-0 + 1 * Cos(sine / 24)), Rad(0)) * angles(Rad(0 - 1 * Cos(sine / 24)), Rad(0), Rad(-5)), 0.1) | |
| 2580 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(70), Rad(0 + 5 * Sin(sine / 20)), Rad(-30 + 5 * Sin(sine / 20))), 0.1) | |
| 2581 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0 - 5 * Sin(sine / 20)), Rad(-10 - 5 * Sin(sine / 20))), 0.1) | |
| 2582 | end | |
| 2583 | end | |
| 2584 | movelegs = false | |
| 2585 | attack = false | |
| 2586 | Speed = 16 | |
| 2587 | end | |
| 2588 | ||
| 2589 | ||
| 2590 | function Sippy() | |
| 2591 | attack = true | |
| 2592 | Speed = 0 | |
| 2593 | local Sip = Cso("1208437140", hed, 5, 1)
| |
| 2594 | swait() | |
| 2595 | repeat | |
| 2596 | swait() | |
| 2597 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-10)), 0.1) | |
| 2598 | neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-10 - 5 * Sin(sine / 20)), Rad(0), Rad(10)), 0.1) | |
| 2599 | rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0), Rad(0)) * angles(Rad(0), Rad(0), Rad(5)), 0.1) | |
| 2600 | ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0), Rad(0)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1) | |
| 2601 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.4 + 0.05 * Sin(sine / 20)* Player_Size, 0.1* Player_Size) * angles(Rad(125), Rad(0), Rad(-45)), 0.1) | |
| 2602 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0 - 5 * Sin(sine / 20)), Rad(10 - 5 * Sin(sine / 20))), 0.1) | |
| 2603 | until Sip.Playing == false | |
| 2604 | Speed = 16 | |
| 2605 | attack = false | |
| 2606 | end | |
| 2607 | function Sippy2() | |
| 2608 | attack = true | |
| 2609 | Speed = 0 | |
| 2610 | local Sip = Cso("2663611707", hed, 7, 1)
| |
| 2611 | swait() | |
| 2612 | repeat | |
| 2613 | swait() | |
| 2614 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-10)), 0.1) | |
| 2615 | neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-10 - 5 * Sin(sine / 20)), Rad(0), Rad(10)), 0.1) | |
| 2616 | rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0), Rad(0)) * angles(Rad(0), Rad(0), Rad(5)), 0.1) | |
| 2617 | ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0), Rad(0)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1) | |
| 2618 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.4 + 0.05 * Sin(sine / 20)* Player_Size, 0.1* Player_Size) * angles(Rad(125), Rad(0), Rad(-45)), 0.1) | |
| 2619 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0 - 5 * Sin(sine / 20)), Rad(10 - 5 * Sin(sine / 20))), 0.1) | |
| 2620 | until Sip.Playing == false | |
| 2621 | Speed = 16 | |
| 2622 | attack = false | |
| 2623 | end | |
| 2624 | function SittyBoi() | |
| 2625 | attack = true | |
| 2626 | Sitt = true | |
| 2627 | Speed = 0 | |
| 2628 | repeat | |
| 2629 | swait() | |
| 2630 | for i = 0, 1, 0.1 do | |
| 2631 | swait() | |
| 2632 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -1.6 + 0.1 * Player_Size * Cos(sine / 20)) * angles(Rad(-15), Rad(0), Rad(0)), 0.1) | |
| 2633 | neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(25 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.1) | |
| 2634 | rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-10), Rad(0)) * angles(Rad(75), Rad(0), Rad(5)), 0.1) | |
| 2635 | ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(10), Rad(0)) * angles(Rad(75), Rad(0), Rad(-5)), 0.1) | |
| 2636 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(70), Rad(0 + 5 * Sin(sine / 20)), Rad(-30 + 5 * Sin(sine / 20))), 0.1) | |
| 2637 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.2 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-15), Rad(20), Rad(-15)), 0.1) | |
| 2638 | end | |
| 2639 | until Sitt == false | |
| 2640 | attack = false | |
| 2641 | Speed = 16 | |
| 2642 | end | |
| 2643 | ||
| 2644 | function mode2() | |
| 2645 | Mode = 2 | |
| 2646 | maincolor = BrickColor.new("Bright yellow")
| |
| 2647 | - | RecolorTextAndRename("N҉o҉O҉b҉",BrickColor.new("Bright yellow").Color,BrickColor.new("Bright yellow").Color,"Antique")
|
| 2647 | + | RecolorTextAndRename(nub",BrickColor.new("Bright yellow").Color,BrickColor.new("Bright yellow").Color,"Antique")
|
| 2648 | CFuncs.Sound.Create("rbxassetid://1611430326", hed, 10, 0.7)
| |
| 2649 | - | newThemeCust("rbxassetid://2586219879",0,1.01,5)
|
| 2649 | + | newThemeCust("rbxassetid://2436316281",0,1.01,5)
|
| 2650 | sphere2(5,"Add",root.CFrame,vt(5,5,5),0.25,0.25,0.25,BrickColor.new("Bright yellow"),BrickColor.new("Bright yellow").Color)
| |
| 2651 | sphere2(6,"Add",root.CFrame,vt(5,5,5),0.25,0.25,0.25,BrickColor.new("Bright yellow"),BrickColor.new("Bright yellow").Color)
| |
| 2652 | Mesh.Parent = Hair | |
| 2653 | Mesh.MeshId = "http://www.roblox.com/asset/?id=1047997" | |
| 2654 | Mesh.TextureId = "http://www.roblox.com/asset/?id=1047998" | |
| 2655 | Mesh.Scale = Vector3.new(1.8, 1.8, 1.8) | |
| 2656 | end | |
| 2657 | function mode1() | |
| 2658 | Mode = 1 | |
| 2659 | maincolor = BrickColor.new("Bright green")
| |
| 2660 | RecolorTextAndRename("Normal LittlePlayer",BrickColor.new("Bright green").Color,BrickColor.new("Bright green").Color,"Antique")
| |
| 2661 | CFuncs.Sound.Create("rbxassetid://296102734", hed, 10, 0.7)
| |
| 2662 | newThemeCust("rbxassetid://492150168",0,1.01,5)
| |
| 2663 | sphere2(5,"Add",root.CFrame,vt(5,5,5),0.25,0.25,0.25,BrickColor.new("Bright green"),BrickColor.new("Bright green").Color)
| |
| 2664 | sphere2(6,"Add",root.CFrame,vt(5,5,5),0.25,0.25,0.25,BrickColor.new("Bright green"),BrickColor.new("Bright green").Color)
| |
| 2665 | Mesh.Parent = Hair | |
| 2666 | Mesh.MeshId = "http://www.roblox.com/asset/?id=0" | |
| 2667 | Mesh.TextureId = "http://www.roblox.com/asset/?id=0" | |
| 2668 | Mesh.Scale = Vector3.new(1, 1, 1) | |
| 2669 | end | |
| 2670 | function mode3() | |
| 2671 | Mode = 3 | |
| 2672 | maincolor = BrickColor.new("Pastel pink")
| |
| 2673 | - | RecolorTextAndRename("SlaV",BrickColor.new("Dark Blue").Color,BrickColor.new("Toothpaste").Color,"Antique")
|
| 2673 | + | RecolorTextAndRename("Ƴℴu'ѵҿ ßƏƏƝ ƮƦ☉ᏝᏝƎƊ",BrickColor.new("Dark Blue").Color,BrickColor.new("Toothpaste").Color,"Antique")
|
| 2674 | CFuncs.Sound.Create("rbxassetid://296102734", hed, 10, 0.7)
| |
| 2675 | - | newThemeCust("rbxassetid://2230375223",0,1.01,8)
|
| 2675 | + | newThemeCust("rbxassetid://142633540",0,1.01,8)
|
| 2676 | sphere2(5,"Add",root.CFrame,vt(5,5,5),0.25,0.25,0.25,BrickColor.new("Really red"),BrickColor.new("Really red").Color)
| |
| 2677 | sphere2(6,"Add",root.CFrame,vt(5,5,5),0.25,0.25,0.25,BrickColor.new("Really red"),BrickColor.new("Really red").Color)
| |
| 2678 | sphere2(6,"Add",root.CFrame,vt(6,6,6),2.25,2.25,2.25,BrickColor.new("Really red"),BrickColor.new("Really red").Color)
| |
| 2679 | Mesh.Parent = Hair | |
| 2680 | Mesh.MeshId = "http://www.roblox.com/asset/?id=0" | |
| 2681 | Mesh.TextureId = "http://www.roblox.com/asset/?id=0" | |
| 2682 | Mesh.Scale = Vector3.new(1, 1, 1) | |
| 2683 | end | |
| 2684 | ||
| 2685 | function WavedOut() | |
| 2686 | attack = true | |
| 2687 | Speed = 0 | |
| 2688 | for i = 0, 6, 0.1 do | |
| 2689 | swait() | |
| 2690 | end | |
| 2691 | Magic2(5, "Add", mouse.Hit * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 1, maincolor, "Sphere") | |
| 2692 | Magic2(10, "Add", mouse.Hit * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 2, maincolor, "Sphere") | |
| 2693 | Magic2(1, "Add", mouse.Hit, Vector3.new(1, 100000, 1), 0.5, maincolor, "Sphere") | |
| 2694 | Magic2(1, "Add", mouse.Hit, Vector3.new(1, 1, 1), 0.75, maincolor, "Sphere") | |
| 2695 | --CamShakeAll(4, 25,Torso) | |
| 2696 | for i, v in pairs(FindNearestHead(mouse.Hit.p, 14.5)) do | |
| 2697 | if v:FindFirstChild("Head") then
| |
| 2698 | Eviscerate(v) | |
| 2699 | end | |
| 2700 | end | |
| 2701 | for i = 0, 6, 0.1 do | |
| 2702 | swait() | |
| 2703 | end | |
| 2704 | attack = false | |
| 2705 | Speed = 16 | |
| 2706 | end | |
| 2707 | ||
| 2708 | function PlaguedJump() | |
| 2709 | attack = true | |
| 2710 | CFuncs["Sound"].Create("rbxassetid://1295446488", root, 10, 1)
| |
| 2711 | for i = 0, 5 do | |
| 2712 | swait() | |
| 2713 | slash(math.random(10,100)/10,3,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-360,360)),math.rad(math.random(-10,10))),vt(0.01,0.01,0.01),math.random(50,500)/250,BrickColor.new("White"))
| |
| 2714 | end | |
| 2715 | --CamShakeAll(50,50,char) | |
| 2716 | root.Velocity = vt(0,250,0) | |
| 2717 | wait(0.3) | |
| 2718 | repeat | |
| 2719 | --CamShakeAll(30,30,char) | |
| 2720 | CFuncs["Sound"].Create("rbxassetid://200633196", rarmor, 1, 1.05)
| |
| 2721 | CFuncs["Sound"].Create("rbxassetid://200633108", rarmor, 1.5, 1.025)
| |
| 2722 | CFuncs["Sound"].Create("rbxassetid://234365549", rarmor, 1, 1)
| |
| 2723 | hum.JumpPower = 350 | |
| 2724 | hum.Jump = true | |
| 2725 | swait() | |
| 2726 | for i = 0, 1, 0.6 do | |
| 2727 | swait() | |
| 2728 | end | |
| 2729 | for i = 0, 1, 0.6 do | |
| 2730 | swait() | |
| 2731 | end | |
| 2732 | for i = 0, 1, 0.6 do | |
| 2733 | swait() | |
| 2734 | end | |
| 2735 | for i = 0, 1, 0.6 do | |
| 2736 | swait() | |
| 2737 | end | |
| 2738 | hfr,pfr=rayCast(root.Position,(CFrame.new(root.Position,root.Position - vt(0,1,0))).lookVector,4,char) | |
| 2739 | until hfr ~= nil | |
| 2740 | if hfr ~= nil then | |
| 2741 | local locat = Instance.new("Part", char)
| |
| 2742 | locat.CanCollide = false | |
| 2743 | locat.FormFactor = 3 | |
| 2744 | locat.Name = "Ring" | |
| 2745 | locat.Material = "Neon" | |
| 2746 | locat.Size = Vector3.new(1, 1, 1) | |
| 2747 | locat.Transparency = 1 | |
| 2748 | locat.TopSurface = 0 | |
| 2749 | locat.BottomSurface = 0 | |
| 2750 | locat.Anchored = true | |
| 2751 | locat.CFrame = root.CFrame*CFrame.new(0,-3,0) | |
| 2752 | local poste = 0 | |
| 2753 | local rotation = 0 | |
| 2754 | local upperpos = 0 | |
| 2755 | local rate = 0 | |
| 2756 | local x = locat | |
| 2757 | CFuncs["Sound"].Create("rbxassetid://438666141", root, 10, 1)
| |
| 2758 | CFuncs["Sound"].Create("rbxassetid://1208650519", root, 10, 1)
| |
| 2759 | --CamShakeAll(100,100,char) | |
| 2760 | for i, v in pairs(FindNearestHead(tors.CFrame.p, 52.5)) do | |
| 2761 | if v:FindFirstChild("Head") then
| |
| 2762 | Eviscerate(v) | |
| 2763 | end | |
| 2764 | end | |
| 2765 | sphere(5, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(0, 0, 0), 1, BrickColor.new("Alder"))
| |
| 2766 | sphere(10, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(0, 0, 0), 2, BrickColor.new("Alder"))
| |
| 2767 | sphere(1, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(100, 0.1, 100), 0.01, BrickColor.new("Alder"))
| |
| 2768 | end | |
| 2769 | attack = false | |
| 2770 | end | |
| 2771 | ||
| 2772 | function Attack() | |
| 2773 | if attack == false then | |
| 2774 | attack = true | |
| 2775 | Speed = 3.01 | |
| 2776 | for i = 0, 1.6, 0.1 do | |
| 2777 | swait() | |
| 2778 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-45)), 0.2) | |
| 2779 | neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(0 - 5 * Sin(sine / 20)), Rad(0), Rad(45)), 0.2) | |
| 2780 | rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-45), Rad(0)) * angles(Rad(0), Rad(0), Rad(15)), 0.2) | |
| 2781 | ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(10), Rad(0)) * angles(Rad(0), Rad(0), Rad(-15)), 0.2) | |
| 2782 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(180), Rad(0 + 5 * Sin(sine / 20)), Rad(25 + 5 * Sin(sine / 20))), 0.2) | |
| 2783 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-20), Rad(0 - 5 * Sin(sine / 20)), Rad(-10 - 5 * Sin(sine / 20))), 0.2) | |
| 2784 | end | |
| 2785 | CFuncs["Sound"].Create("rbxassetid://138097048", ra, 10, 1)
| |
| 2786 | for i, v in pairs(FindNearestHead(ra.CFrame.p, 7)) do | |
| 2787 | if v:FindFirstChild("Head") then
| |
| 2788 | Eviscerate(v) | |
| 2789 | end | |
| 2790 | end | |
| 2791 | for i = 0, 1.2, 0.1 do | |
| 2792 | swait() | |
| 2793 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(20), Rad(0), Rad(45)), 0.3) | |
| 2794 | neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(20 - 5 * Sin(sine / 20)), Rad(0), Rad(-45)), 0.3) | |
| 2795 | rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(20), Rad(-10), Rad(0)) * angles(Rad(0), Rad(0), Rad(15)), 0.3) | |
| 2796 | ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-20), Rad(45), Rad(0)) * angles(Rad(0), Rad(0), Rad(-15)), 0.3) | |
| 2797 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(85), Rad(0 + 5 * Sin(sine / 20)), Rad(45 + 5 * Sin(sine / 20))), 0.3) | |
| 2798 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-45), Rad(0 - 5 * Sin(sine / 20)), Rad(-25 - 5 * Sin(sine / 20))), 0.3) | |
| 2799 | end | |
| 2800 | end | |
| 2801 | Speed = 16 | |
| 2802 | wait2 = false | |
| 2803 | attack = false | |
| 2804 | end | |
| 2805 | ------------------------------------------------------- | |
| 2806 | --End Attacks N Stuff-- | |
| 2807 | ------------------------------------------------------- | |
| 2808 | mouse.Button1Down:connect(function(key) | |
| 2809 | if attack == false and Mode == 1 then | |
| 2810 | Sippy() | |
| 2811 | end | |
| 2812 | if attack == false and Mode == 2 then | |
| 2813 | Sippy2() | |
| 2814 | end | |
| 2815 | end) | |
| 2816 | mouse.KeyDown:connect(function(key) | |
| 2817 | if (VALUE1 == false and attack == false) or Sitt == true then | |
| 2818 | if key == "q" then | |
| 2819 | if Sitt == false then | |
| 2820 | SittyBoi() | |
| 2821 | elseif Sitt == true then | |
| 2822 | Sitt = false | |
| 2823 | end | |
| 2824 | end | |
| 2825 | end | |
| 2826 | if attack == false and Mode == 1 then | |
| 2827 | if key == "t" then | |
| 2828 | Taunt() | |
| 2829 | end | |
| 2830 | end | |
| 2831 | if attack == false and Mode == 2 then | |
| 2832 | if key == "t" then | |
| 2833 | Taunt3() | |
| 2834 | end | |
| 2835 | end | |
| 2836 | if attack == false then | |
| 2837 | if key == "f" then | |
| 2838 | WavedOut() | |
| 2839 | end | |
| 2840 | end | |
| 2841 | if attack == false then | |
| 2842 | if key == "r" then | |
| 2843 | PlaguedJump() | |
| 2844 | end | |
| 2845 | end | |
| 2846 | if attack == false then | |
| 2847 | if key == "z" then | |
| 2848 | mode1() | |
| 2849 | end | |
| 2850 | end | |
| 2851 | if attack == false then | |
| 2852 | if key == "e" then | |
| 2853 | Attack() | |
| 2854 | end | |
| 2855 | end | |
| 2856 | if attack == false then | |
| 2857 | if key == "x" then | |
| 2858 | mode2() | |
| 2859 | end | |
| 2860 | end | |
| 2861 | if attack == false then | |
| 2862 | if key == "c" then | |
| 2863 | mode3() | |
| 2864 | end | |
| 2865 | end | |
| 2866 | if attack == false and Mode == 1 then | |
| 2867 | if key == "y" then | |
| 2868 | Taunt2() | |
| 2869 | end | |
| 2870 | end | |
| 2871 | end) | |
| 2872 | ||
| 2873 | ||
| 2874 | ||
| 2875 | ||
| 2876 | ||
| 2877 | ||
| 2878 | ||
| 2879 | ------------------------------------------------------- | |
| 2880 | --Start Animations-- | |
| 2881 | ------------------------------------------------------- | |
| 2882 | print("By Makhail07")
| |
| 2883 | while true do | |
| 2884 | swait() | |
| 2885 | sine = sine + change | |
| 2886 | local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude | |
| 2887 | local velderp = root.Velocity.y | |
| 2888 | hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4* Player_Size, char) | |
| 2889 | if equipped == true or equipped == false then | |
| 2890 | if attack == false then | |
| 2891 | idle = idle + 1 | |
| 2892 | else | |
| 2893 | idle = 0 | |
| 2894 | end | |
| 2895 | local Landed = false | |
| 2896 | if(hitfloor)then | |
| 2897 | WasAir = false | |
| 2898 | else | |
| 2899 | WasAir = true | |
| 2900 | end | |
| 2901 | if(WasAir == false)then | |
| 2902 | if(InAir == true)then | |
| 2903 | LandTick = time() | |
| 2904 | Landed = true | |
| 2905 | end | |
| 2906 | end | |
| 2907 | if(time()-LandTick < .3)then | |
| 2908 | Landed = true | |
| 2909 | end | |
| 2910 | if(hitfloor)then | |
| 2911 | InAir = false | |
| 2912 | else | |
| 2913 | InAir = true | |
| 2914 | end | |
| 2915 | local Walking = (math.abs(root.Velocity.x) > 1 or math.abs(root.Velocity.z) > 1) | |
| 2916 | local State = (hum.PlatformStand and 'Paralyzed' or hum.Sit and 'Sit' or Landed and 'Land' or not hitfloor and root.Velocity.y < -1 and "Fall" or not hitfloor and root.Velocity.y > 1 and "Jump" or hitfloor and Walking and "Walk" or hitfloor and "Idle") | |
| 2917 | local WALKSPEEDVALUE = 6 / (hum.WalkSpeed / 16) | |
| 2918 | if(State == 'Jump')then | |
| 2919 | hum.JumpPower = 55 | |
| 2920 | if attack == false then | |
| 2921 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(-16), Rad(0), Rad(0)), 0.1) | |
| 2922 | neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(10 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3) | |
| 2923 | rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -.2 - 0.1 * Cos(sine / 20), -.3* Player_Size) * angles(Rad(0), Rad(-10), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(0)), 0.1) | |
| 2924 | ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -.9 - 0.1 * Cos(sine / 20), -.5* Player_Size) * angles(Rad(0), Rad(10), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(0)), 0.1) | |
| 2925 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(-.6), Rad(13 + 4.5 * Sin(sine / 20))), 0.1) | |
| 2926 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(-.6), Rad(-13 - 4.5 * Sin(sine / 20))), 0.1) | |
| 2927 | end | |
| 2928 | elseif(State == 'Fall')then | |
| 2929 | if attack == false then | |
| 2930 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(25), Rad(0), Rad(0)), 0.1) | |
| 2931 | neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(10 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3) | |
| 2932 | rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * angles(Rad(0), Rad(-10), Rad(0)) * angles(Rad(25), Rad(0), Rad(0)), 0.1) | |
| 2933 | ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -.8 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * angles(Rad(0), Rad(10), Rad(0)) * angles(Rad(25), Rad(0), Rad(0)), 0.1) | |
| 2934 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(165), Rad(-.6), Rad(45 + 4.5 * Sin(sine / 20))), 0.1) | |
| 2935 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(165), Rad(-.6), Rad(-45 - 4.5 * Sin(sine / 20))), 0.1) | |
| 2936 | end | |
| 2937 | elseif(State == 'Land')then | |
| 2938 | hum.JumpPower = 0 | |
| 2939 | if attack == false then | |
| 2940 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(10), Rad(0), Rad(0)), 0.15) | |
| 2941 | neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(35 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3) | |
| 2942 | rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, 0.1 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * angles(Rad(0), Rad(-10), Rad(0)) * angles(Rad(-3.5), Rad(0), Rad(5)), 0.15) | |
| 2943 | ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, 0.1 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * angles(Rad(0), Rad(10), Rad(0)) * angles(Rad(-3.5), Rad(0), Rad(-5)), 0.15) | |
| 2944 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(65), Rad(0), Rad(25 + 4.5 * Sin(sine / 20))), 0.1) | |
| 2945 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(55), Rad(0), Rad(-25 - 4.5 * Sin(sine / 20))), 0.1) | |
| 2946 | end | |
| 2947 | elseif(State == 'Idle')then | |
| 2948 | change = 0.90 | |
| 2949 | if attack == false then | |
| 2950 | - | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 24) * Player_Size) * angles(Rad(0 - 4 * Sin(sine / 24)), Rad(0 + 1 * Cos(sine / 24)), Rad(-10)), 0.1) |
| 2950 | + | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0 - 5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.1) |
| 2951 | - | neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(7 - 2 * Sin(sine / 20)), Rad(0), Rad(10)), 0.1) |
| 2951 | + | neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(0 - 5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.1) |
| 2952 | - | rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.9 * Player_Size - 0.1 * Cos(sine / 24) - Rad(0 + 1 * Cos(sine / 24)) * Player_Size, 0* Player_Size) * angles(Rad(0 - 6 * Sin(sine / 24)), Rad(0 + 1 * Cos(sine / 24)), Rad(0)) * angles(Rad(0 + 1 * Cos(sine / 24)), Rad(0), Rad(5)), 0.1) |
| 2952 | + | rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0 - 5 * Sin(sine / 20)), Rad(-10), Rad(0)) * angles(Rad(0), Rad(0), Rad(5)), 0.1) |
| 2953 | - | ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.9 * Player_Size - 0.1 * Cos(sine / 24) + Rad(0 + 1 * Cos(sine / 24)) * Player_Size, 0* Player_Size) * angles(Rad(0 - 6 * Sin(sine / 24)), Rad(-0 + 1 * Cos(sine / 24)), Rad(0)) * angles(Rad(0 - 1 * Cos(sine / 24)), Rad(0), Rad(-5)), 0.1) |
| 2953 | + | ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0 - 5 * Sin(sine / 20)), Rad(10), Rad(0)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1) |
| 2954 | - | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(70), Rad(0 + 5 * Sin(sine / 20)), Rad(-30 + 5 * Sin(sine / 20))), 0.1) |
| 2954 | + | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0 + 15 * Sin(sine / 20)), Rad(0 + 5 * Sin(sine / 20)), Rad(10 + 5 * Sin(sine / 20))), 0.1) |
| 2955 | - | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0 - 5 * Sin(sine / 20)), Rad(10 - 5 * Sin(sine / 20))), 0.1) |
| 2955 | + | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0 + 15 * Sin(sine / 20)), Rad(0 - 5 * Sin(sine / 20)), Rad(-10 - 5 * Sin(sine / 20))), 0.1) |
| 2956 | end | |
| 2957 | elseif(State == 'Walk')then | |
| 2958 | change = 0.76 | |
| 2959 | hum.JumpPower = 55 | |
| 2960 | if attack == false then | |
| 2961 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.3 - 0.15 * Cos(sine / (WALKSPEEDVALUE / 2))) * angles(Rad(10), Rad(0), Rad(0 - 0.75 * Cos(sine / WALKSPEEDVALUE)) + root.RotVelocity.Y / 75), 0.1) | |
| 2962 | neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(0 + 5 * Sin(sine / (WALKSPEEDVALUE / 2))), Rad(0), Rad(0 - 0.75 * Cos(sine / WALKSPEEDVALUE)) + root.RotVelocity.Y / 13), 0.1) | |
| 2963 | rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.8 - 0.5 * Cos(sine / WALKSPEEDVALUE) / 2* Player_Size, 0.6 * Cos(sine / WALKSPEEDVALUE) / 2* Player_Size) * angles(Rad(-10 - 25 * Sin(sine / WALKSPEEDVALUE)) - root.RotVelocity.Y / 75 + -Sin(sine / WALKSPEEDVALUE) / 2.5, Rad(0 - 10 * Cos(sine / WALKSPEEDVALUE)), Rad(0)) * angles(Rad(0 + 2 * Cos(sine / WALKSPEEDVALUE)), Rad(0), Rad(0)), 0.3) | |
| 2964 | ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.8 + 0.5 * Cos(sine / WALKSPEEDVALUE) / 2* Player_Size, -0.6 * Cos(sine / WALKSPEEDVALUE) / 2* Player_Size) * angles(Rad(-10 + 25 * Sin(sine / WALKSPEEDVALUE)) + root.RotVelocity.Y / -75 + Sin(sine / WALKSPEEDVALUE) / 2.5, Rad(0 - 10 * Cos(sine / WALKSPEEDVALUE)), Rad(0)) * angles(Rad(0 - 2 * Cos(sine / WALKSPEEDVALUE)), Rad(0), Rad(0)), 0.3) | |
| 2965 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / WALKSPEEDVALUE)* Player_Size, 0* Player_Size) * angles(Rad(70), Rad(0 + 5 * Sin(sine / WALKSPEEDVALUE)), Rad(-30 + 5 * Sin(sine / WALKSPEEDVALUE))), 0.1) | |
| 2966 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.05 * Sin(sine / WALKSPEEDVALUE)* Player_Size, 0 + 0.5 * Sin(sine / WALKSPEEDVALUE)* Player_Size) * angles(Rad(-45 * Sin(sine / WALKSPEEDVALUE)) + root.RotVelocity.Y / 75, Rad(10 * Cos(sine / WALKSPEEDVALUE)), Rad(-10) + root.RotVelocity.Y / -75), 0.1) | |
| 2967 | elseif attack == true and movelegs == true then | |
| 2968 | rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.8 - 0.5 * Cos(sine / WALKSPEEDVALUE) / 2* Player_Size, 0.6 * Cos(sine / WALKSPEEDVALUE) / 2* Player_Size) * angles(Rad(-10 - 25 * Sin(sine / WALKSPEEDVALUE)) - root.RotVelocity.Y / 75 + -Sin(sine / WALKSPEEDVALUE) / 2.5, Rad(0 - 10 * Cos(sine / WALKSPEEDVALUE)), Rad(0)) * angles(Rad(0 + 2 * Cos(sine / WALKSPEEDVALUE)), Rad(0), Rad(0)), 0.3) | |
| 2969 | ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.8 + 0.5 * Cos(sine / WALKSPEEDVALUE) / 2* Player_Size, -0.6 * Cos(sine / WALKSPEEDVALUE) / 2* Player_Size) * angles(Rad(-10 + 25 * Sin(sine / WALKSPEEDVALUE)) + root.RotVelocity.Y / -75 + Sin(sine / WALKSPEEDVALUE) / 2.5, Rad(0 - 10 * Cos(sine / WALKSPEEDVALUE)), Rad(0)) * angles(Rad(0 - 2 * Cos(sine / WALKSPEEDVALUE)), Rad(0), Rad(0)), 0.3) | |
| 2970 | end | |
| 2971 | end | |
| 2972 | end | |
| 2973 | hum.Name = "HUM" | |
| 2974 | hum.WalkSpeed = Speed | |
| 2975 | if 0 < #Effects then | |
| 2976 | for e = 1, #Effects do | |
| 2977 | if Effects[e] ~= nil then | |
| 2978 | local Thing = Effects[e] | |
| 2979 | if Thing ~= nil then | |
| 2980 | local Part = Thing[1] | |
| 2981 | local Mode = Thing[2] | |
| 2982 | local Delay = Thing[3] | |
| 2983 | local IncX = Thing[4] | |
| 2984 | local IncY = Thing[5] | |
| 2985 | local IncZ = Thing[6] | |
| 2986 | if 1 >= Thing[1].Transparency then | |
| 2987 | if Thing[2] == "Block1" then | |
| 2988 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
| 2989 | local Mesh = Thing[1].Mesh | |
| 2990 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 2991 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 2992 | elseif Thing[2] == "Block2" then | |
| 2993 | Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0) | |
| 2994 | local Mesh = Thing[7] | |
| 2995 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 2996 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 2997 | elseif Thing[2] == "Block3" then | |
| 2998 | 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) | |
| 2999 | local Mesh = Thing[7] | |
| 3000 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 3001 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 3002 | elseif Thing[2] == "Cylinder" then | |
| 3003 | local Mesh = Thing[1].Mesh | |
| 3004 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 3005 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 3006 | elseif Thing[2] == "Blood" then | |
| 3007 | local Mesh = Thing[7] | |
| 3008 | Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0) | |
| 3009 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 3010 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 3011 | elseif Thing[2] == "Elec" then | |
| 3012 | local Mesh = Thing[1].Mesh | |
| 3013 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9]) | |
| 3014 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 3015 | elseif Thing[2] == "Disappear" then | |
| 3016 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 3017 | elseif Thing[2] == "Shatter" then | |
| 3018 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 3019 | Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0) | |
| 3020 | Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0) | |
| 3021 | Thing[6] = Thing[6] + Thing[5] | |
| 3022 | end | |
| 3023 | else | |
| 3024 | Part.Parent = nil | |
| 3025 | table.remove(Effects, e) | |
| 3026 | end | |
| 3027 | end | |
| 3028 | end | |
| 3029 | end | |
| 3030 | end | |
| 3031 | end | |
| 3032 | ------------------------------------------------------- | |
| 3033 | --End Animations And Script-- | |
| 3034 | ------------------------------------------------------- |