Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Farewell Infortality.
- -- Version: 2.82
- -- Instances:
- local tehepiknubscriptz = Instance.new("ScreenGui")
- local MainFrame = Instance.new("Frame")
- local title = Instance.new("TextLabel")
- local NoobSword = Instance.new("TextButton")
- local NoobCannon = Instance.new("TextButton")
- local NoobSmash = Instance.new("TextButton")
- local NoobExplode = Instance.new("TextButton")
- --Properties:
- tehepiknubscriptz.Name = "teh epik nub scriptz"
- tehepiknubscriptz.Parent = game.Workspace
- tehepiknubscriptz.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- MainFrame.Name = "MainFrame"
- MainFrame.Parent = tehepiknubscriptz
- MainFrame.BackgroundColor3 = Color3.new(0.305882, 0.305882, 1)
- MainFrame.Position = UDim2.new(0, 0, 0.212121218, 0)
- MainFrame.Size = UDim2.new(0, 311, 0, 319)
- title.Name = "title"
- title.Parent = MainFrame
- title.BackgroundColor3 = Color3.new(1, 1, 0)
- title.Position = UDim2.new(-0.00204962865, 0, -0.194958612, 0)
- title.Size = UDim2.new(0, 311, 0, 62)
- title.Font = Enum.Font.SourceSans
- title.Text = "teh epik nub scriptz"
- title.TextColor3 = Color3.new(0, 0, 0)
- title.TextScaled = true
- title.TextSize = 14
- title.TextWrapped = true
- NoobSword.Name = "NoobSword"
- NoobSword.Parent = MainFrame
- NoobSword.BackgroundColor3 = Color3.new(0.333333, 1, 0)
- NoobSword.Position = UDim2.new(0.0353697762, 0, 0.115987465, 0)
- NoobSword.Size = UDim2.new(0, 121, 0, 50)
- NoobSword.Font = Enum.Font.SourceSans
- NoobSword.Text = "noob sword"
- NoobSword.TextColor3 = Color3.new(0, 0, 0)
- NoobSword.TextScaled = true
- NoobSword.TextSize = 14
- NoobSword.TextWrapped = true
- NoobCannon.Name = "NoobCannon"
- NoobCannon.Parent = MainFrame
- NoobCannon.BackgroundColor3 = Color3.new(0.333333, 1, 0)
- NoobCannon.Position = UDim2.new(0.527331173, 0, 0.115987465, 0)
- NoobCannon.Size = UDim2.new(0, 121, 0, 50)
- NoobCannon.Font = Enum.Font.SourceSans
- NoobCannon.Text = "summon giant noob cannon"
- NoobCannon.TextColor3 = Color3.new(0, 0, 0)
- NoobCannon.TextScaled = true
- NoobCannon.TextSize = 14
- NoobCannon.TextWrapped = true
- NoobSmash.Name = "NoobSmash"
- NoobSmash.Parent = MainFrame
- NoobSmash.BackgroundColor3 = Color3.new(0.333333, 1, 0)
- NoobSmash.Position = UDim2.new(0.0353697762, 0, 0.338558018, 0)
- NoobSmash.Size = UDim2.new(0, 121, 0, 50)
- NoobSmash.Font = Enum.Font.SourceSans
- NoobSmash.Text = "noob smashers power"
- NoobSmash.TextColor3 = Color3.new(0, 0, 0)
- NoobSmash.TextScaled = true
- NoobSmash.TextSize = 14
- NoobSmash.TextWrapped = true
- NoobExplode.Name = "NoobExplode"
- NoobExplode.Parent = MainFrame
- NoobExplode.BackgroundColor3 = Color3.new(0.333333, 1, 0)
- NoobExplode.Position = UDim2.new(0.527331173, 0, 0.338558018, 0)
- NoobExplode.Size = UDim2.new(0, 121, 0, 50)
- NoobExplode.Font = Enum.Font.SourceSans
- NoobExplode.Text = "noob explosion"
- NoobExplode.TextColor3 = Color3.new(0, 0, 0)
- NoobExplode.TextScaled = true
- NoobExplode.TextSize = 14
- NoobExplode.TextWrapped = true
- -- Scripts:
- function SCRIPT_HLNT87_FAKESCRIPT() -- NoobSword.LocalScript
- local script = Instance.new('LocalScript')
- script.Parent = NoobSword
- script.Parent.MouseButton1Click:Connect(function()
- script.Noob_Sword:Clone().Parent = game.Players.LocalPlayer.Backpack
- end)
- end
- coroutine.resume(coroutine.create(SCRIPT_HLNT87_FAKESCRIPT))
- function SCRIPT_XHJQ69_FAKESCRIPT() -- NoobCannon.LocalScript
- local script = Instance.new('LocalScript')
- script.Parent = NoobCannon
- script.Parent.MouseButton1Click:Connect(function()
- --Noob & Cannon Gifted by machontz, Regular Script!
- function Part(Par, Anc, Colli, Tran, Ref, Col, Siz)
- local p = Instance.new("Part")
- p.formFactor = "Custom"
- p.TopSurface = 0
- p.BottomSurface = 0
- p.Transparency = Tran
- p.Reflectance = Ref
- p.Anchored = Anc
- p.CanCollide = Colli
- p.BrickColor = Col
- p.Size = Siz
- p.Locked = true
- p.Parent = Par
- p:BreakJoints()
- return p
- end
- function Weld(P0, P1, C0, C1)
- local w = Instance.new("Weld")
- w.Part0 = P0
- w.Part1 = P1
- if C0 then
- w.C0 = C0
- end
- if C1 then
- w.C1 = C1
- end
- w.Parent = P0
- return w
- end
- V3 = Vector3.new
- C3 = Color3.new
- BN = BrickColor.new
- CN = CFrame.new
- CA = CFrame.Angles
- MR = math.rad
- MRA = math.random
- MP = math.pi
- MH = math.huge
- UD = UDim2.new
- Asset = "http://www.roblox.com/asset/?id="
- Noob = nil
- function MakeMotor(torso, p1, c0, c1)
- local mot = Instance.new("Motor6D")
- mot.C0 = c0
- mot.C1 = c1
- mot.Part0 = torso
- mot.Part1 = p1
- mot.Parent = torso
- return mot
- end
- function Set(tab)
- for _,v in pairs(tab) do
- local motor = v[1]
- local vel = v[2]
- local des = v[3]
- motor.MaxVelocity = vel
- motor.DesiredAngle = des
- end
- end
- function Animate(Hum, RSH, LSH, RH, LH)
- local pose = "Standing"
- local function sit()
- pose = "Seated"
- end
- local function jump()
- pose = "Jumping"
- end
- local function died()
- pose = "Dead"
- end
- local function falling()
- pose = "Falling"
- end
- local function climbing()
- pose = "Climbing"
- end
- local function run(speed)
- if speed > 0.5 then
- pose = "Running"
- else
- pose = "Standing"
- end
- end
- local function move()
- if pose == "Seated" then
- Set({{RSH, 0.15, math.pi/2}, {LSH, 0.15, -math.pi/2}, {LH, 0.15, math.pi/2}, {RH, 0.15, -math.pi/2}})
- return
- end
- if pose == "Jumping" then
- Set({{RSH, 0.3, math.pi}, {LSH, 0.3, -math.pi}, {LH, 0.3, 0}, {RH, 0.3, 0}})
- return
- end
- if pose == "Standing" then
- Set({{RSH, 0.25, 0}, {LSH, 0.25, 0}, {LH, 0.25, 0}, {RH, 0.25, 0}})
- return
- end
- if pose == "Falling" then
- Set({{RSH, 0.35, math.pi}, {LSH, 0.35, -math.pi}, {LH, 0.35, 0}, {RH, 0.35, 0}})
- return
- end
- if pose == "Running" then
- Set({{RSH, 0.2, -0.8}, {LSH, 0.2, 0.8}, {LH, 0.2, 0}, {RH, 0.2, 0}})
- elseif pose == "Climbing" then
- Set({{RSH, 0.35, 2.8}, {LSH, 0.35, -2.8}, {LH, 0.35, 0.1}, {RH, 0.35, 0.1}})
- end
- end
- Hum.Jumping:connect(jump)
- Hum.Running:connect(run)
- Hum.Seated:connect(sit)
- Hum.Died:connect(died)
- Hum.FreeFalling:connect(falling)
- Hum.Climbing:connect(climbing)
- coroutine.resume(coroutine.create(function()
- while pose ~= "Dead" do
- wait(0.04)
- move()
- end
- end))
- end
- function MakeNoob(pos, scale)
- local Nub = Instance.new("Model")
- Nub.Name = "Cannoneer nub"
- local Torso = Part(Nub, false, false, 0, 0, BN("Bright blue"), V3(2*scale, 2*scale, 1*scale))
- Torso.Name = "Torso"
- local Head = Part(Nub, false, false, 0, 0, BN("Bright yellow"), V3(2*scale, 1*scale, 1*scale))
- Head.Name = "Head"
- local Neck = MakeMotor(Torso, Head, CN(0, 1*scale, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0), CN(0, -0.5*scale, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0))
- local HeadMesh = Instance.new("SpecialMesh",Head)
- HeadMesh.Scale = V3(1.25, 1.25, 1.25)
- local Face = Instance.new("Decal",Head)
- Face.Face = "Front"
- Face.Texture = Asset..(13038247)
- local Rarm = Part(Nub, false, false, 0, 0, BN("Bright yellow"), V3(1*scale, 2*scale, 1*scale))
- Rarm.Name = "Right Arm"
- local Larm = Part(Nub, false, false, 0, 0, BN("Bright yellow"), V3(1*scale, 2*scale, 1*scale))
- Larm.Name = "Left Arm"
- local Rleg = Part(Nub, false, false, 0, 0, BN("Br. yellowish green"), V3(1*scale, 2*scale, 1*scale))
- Rleg.Name = "Right Leg"
- local Lleg = Part(Nub, false, false, 0, 0, BN("Br. yellowish green"), V3(1*scale, 2*scale, 1*scale))
- Lleg.Name = "Left Leg"
- local RSH = MakeMotor(Torso, Rarm, CN(1*scale, 0.5*scale, 0) * CA(0, MR(90), 0), CN(-0.5*scale, 0.5*scale, 0) * CA(0, MR(90), 0))
- local LSH = MakeMotor(Torso, Larm, CN(-1*scale, 0.5*scale, 0) * CA(0, MR(-90), 0), CN(0.5*scale, 0.5*scale, 0) * CA(0, MR(-90), 0))
- local RH = MakeMotor(Torso, Rleg, CN(0.5*scale, -1*scale, 0) * CA(0, MR(-90), 0), CN(0, 1*scale, 0) * CA(0, MR(-90), 0))
- local LH = MakeMotor(Torso, Lleg, CN(-0.5*scale, -1*scale, 0) * CA(0, MR(90), 0), CN(0, 1*scale, 0) * CA(0, MR(90), 0))
- local Hum = Instance.new("Humanoid")
- local Speed = 14+(2*scale)
- Hum.Parent = Nub
- Hum.Died:connect(function()
- wait(6)
- Nub:remove()
- wait(5)
- MakeNoob(pos, scale)
- end)
- Nub.Parent = workspace
- Nub:MakeJoints()
- Hum.MaxHealth = 50+(scale*70)
- Hum.Health = 50+(scale*70)
- Nub:MoveTo(pos)
- coroutine.resume(coroutine.create(function()
- repeat wait()
- Hum.Health = Hum.MaxHealth
- until Hum.Health >= Hum.MaxHealth-1
- end))
- Animate(Hum,RSH,LSH,RH,LH)
- local Char = Nub
- local necko = CN(0, 1*scale, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
- local ShootColors = {"Bright yellow", "New Yeller", "Bright orange", "Neon orange", "Really red", "Bright red"}
- local Attacking = false
- local Accuracy = 5
- local Debounce = true
- local Hurt = false
- local Damage = {15,42}
- local Selected = false
- local ContentProvider = game:GetService("ContentProvider")
- local function RC(Pos, Dir, Max, Ignore)
- return workspace:FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999)), Ignore)
- end
- local function RayC(Start, En, MaxDist, Ignore)
- return RC(Start, (En - Start), MaxDist, Ignore)
- end
- local function ComputePos(pos1, pos2)
- return CN(pos1, V3(pos2.x, pos1.y, pos2.z))
- end
- local function DetectSurface(pos, part)
- local surface = nil
- local pospos = part.CFrame
- local pos2 = pospos:pointToObjectSpace(pos)
- local siz = part.Size
- local shaep = part.Shape
- if shaep == Enum.PartType.Ball or shaep == Enum.PartType.Cylinder then
- surface = {"Anything", CN(pospos.p, pos)*CN(0, 0, -(pospos.p - pos).magnitude)*CA(MR(-90), 0, 0)}
- else
- if pos2.Y > ((siz.Y/2)-0.04) then
- surface = {"Top", CA(0, 0, 0)}
- elseif pos2.Y < -((siz.Y/2)-0.04) then
- surface = {"Bottom", CA(-MP, 0, 0)}
- elseif pos2.X > ((siz.X/2)-0.04) then
- surface = {"Right", CA(0, 0, MR(-90))}
- elseif pos2.X < -((siz.X/2)-0.04) then
- surface = {"Left", CA(0, 0, MR(90))}
- elseif pos2.Z > ((siz.Z/2)-0.04) then
- surface = {"Back", CA(MR(90), 0, 0)}
- elseif pos2.Z < -((siz.Z/2)-0.04) then
- surface = {"Front", CA(MR(-90), 0, 0)}
- end
- end
- return surface
- end
- local function waitChild(n, p)
- local c = p:findFirstChild(n)
- if c then return c end
- while true do
- c = p.ChildAdded:wait()
- if c.Name == n then return c end
- end
- end
- local function Notime(func)
- coroutine.resume(coroutine.create(function()
- func()
- end))
- end
- RSH.Part0 = Torso
- LSH.Part0 = Torso
- RH.Part0 = Torso
- LH.Part0 = Torso
- local Add = {
- Mesh = function(P, ID, Scale, Tex)
- local m = Instance.new("SpecialMesh")
- m.MeshType = "FileMesh"
- m.MeshId = ID or ""
- m.Scale = Scale or V3(1, 1, 1)
- m.TextureId = Tex or ""
- m.Parent = P
- return m
- end,
- Sphere = function(P, Scale)
- local m = Instance.new("SpecialMesh")
- m.MeshType = "Sphere"
- m.Scale = Scale or V3(1, 1, 1)
- m.Parent = P
- return m
- end
- }
- local Sounds = {
- Shoot = {Id = "http://www.roblox.com/asset/?id=2697431", Pitch = 0.3, Volume = 0.5},
- Boom = {Id = "http://www.roblox.com/asset/?id=2692806", Pitch = 0.55, Volume = 0.4},
- Slash = {Id = "rbxasset://sounds//swordslash.wav", Pitch = 0.5, Volume = 0.5},
- Hit = {Id = "http://www.roblox.com/asset/?id=2801263", Pitch = 0.85, Volume = 0.35},
- Reload = {Id = "rbxasset://sounds\\metal.ogg", Pitch = 1, Volume = 0.45},
- }
- for _,v in pairs(Sounds) do
- ContentProvider:Preload(v.Id)
- end
- local function PlaySound(Sound, bool)
- local s = Instance.new("Sound")
- s.Looped = false
- s.Volume = Sound.Volume
- s.SoundId = Sound.Id
- if bool then
- s.Pitch = MRA((Sound.Pitch*0.75)*1000, (Sound.Pitch*1.15)*1000)/1000
- else
- s.Pitch = Sound.Pitch
- end
- s.Parent = Torso
- s:play()
- Notime(function()
- wait(0.5)
- s:remove()
- end)
- end
- local function GetParts(pos, dist)
- local parts = {}
- local function o(p)
- for _,v in pairs(p:children()) do
- if v:IsA("BasePart") then
- if (pos - v.Position).magnitude <= dist then
- table.insert(parts, {v, (pos - v.Position).magnitude, v.Anchored})
- end
- end
- o(v)
- end
- end
- o(workspace)
- return parts
- end
- local function GetHum(P)
- for _,v in pairs(P:children()) do
- if v:IsA("Humanoid") then
- if v.Health > 0 then
- return v
- end
- end
- end
- end
- local function GetGroup(Pos, Distance, Hit)
- local tab = {}
- for _,v in pairs(workspace:children()) do
- local h = GetHum(v)
- local t = v:findFirstChild("Torso")
- if h and t and v ~= Hit.Parent then
- if (t.Position - Pos).magnitude <= Distance then
- table.insert(tab, {h, v, (t.Position - Pos).magnitude})
- end
- end
- end
- if Hit then
- local h = GetHum(Hit.Parent)
- if h then
- table.insert(tab, {h, Hit.Parent, 0})
- end
- end
- return tab
- end
- local Model = Instance.new("Model")
- Model.Name = "Hand Cannon"
- local FTorso = Part(Model, false, false, 1, 0, Torso.BrickColor, V3(2*scale, 2*scale, 1*scale))
- local FW = Weld(Torso, FTorso)
- local RAB = Part(Model, false, false, 1, 0, BN("White"), V3(0.2, 0.2, 0.2))
- local LAB = Part(Model, false, false, 1, 0, BN("White"), V3(0.2, 0.2, 0.2))
- local RLB = Part(Model, false, false, 1, 0, BN("White"), V3(0.2, 0.2, 0.2))
- local LLB = Part(Model, false, false, 1, 0, BN("White"), V3(0.2, 0.2, 0.2))
- local RABW = Weld(Torso, RAB, CN(), CN(-1.5*scale, -0.5*scale, 0))
- local LABW = Weld(Torso, LAB, CN(), CN(1.5*scale, -0.5*scale, 0))
- local RLBW = Weld(Torso, RLB, CN(), CN(-0.5*scale, 1*scale, 0))
- local LLBW = Weld(Torso, LLB, CN(), CN(0.5*scale, 1*scale, 0))
- local RAW = Weld(RAB, nil, CN(), CN(0, 0.5*scale, 0))
- local LAW = Weld(LAB, nil, CN(), CN(0, 0.5*scale, 0))
- local RLW = Weld(RLB, nil, CN(), CN(0, 1*scale, 0))
- local LLW = Weld(LLB, nil, CN(), CN(0, 1*scale, 0))
- local TW = Weld(Torso, nil, CN(0.7*scale, 0.8*scale, 1.2*scale), CA(0, MR(180), MR(55)))
- local Weapon = Instance.new("Model")
- Weapon.Name = "Cannon"
- local HB = Part(Weapon, false, false, 1, 0, BN("White"), V3(0.2, 0.2, 0.2))
- local HBW = Weld(Rarm, HB, CN(0, -0.7*scale, 0), CA(0, MR(90), MR(90)))
- local HW = Weld(HB, nil)
- local Handle = Part(Weapon, false, false, 0, 0, BN("Dark grey"), V3(0.5*scale, 0.5*scale, 0.3*scale))
- Add.Mesh(Handle, "http://www.roblox.com/asset/?id=3270017", V3(1*scale, 0.7*scale, 2.2*scale), "")
- TW.Part1 = Handle
- local Main = Part(Weapon, false, false, 0, 0, BN("Dark grey"), V3(1.5*scale, 1.5*scale, 3*scale))
- Add.Mesh(Main, "http://www.roblox.com/asset/?id=3270017", V3(1.6*scale, 1.6*scale, 15*scale), "")
- Weld(Handle, Main, CA(0, MR(90), MR(90)), CN(1*scale, 0, 0.2*scale))
- local Main2 = Part(Weapon, false, false, 0, 0, BN("Gun metallic"), V3(1*scale, 1*scale, 1.5*scale))
- Add.Mesh(Main2, "http://www.roblox.com/asset/?id=3270017", V3(1.2*scale, 1.2*scale, 8*scale), "")
- Weld(Main, Main2, CN(), CN(0, 0, 1.7*scale))
- local Handle2 = Part(Weapon, false, false, 0, 0, BN("Dark grey"), V3(0.5*scale, 0.5*scale, 0.3*scale))
- Add.Mesh(Handle2, "http://www.roblox.com/asset/?id=3270017", V3(0.7*scale, 0.8*scale, 2.2*scale), "")
- Weld(Main2, Handle2, CA(0, MR(90), MR(90)), CN(-0.65*scale, 0, 0))
- local Tip = Part(Weapon, false, false, 0, 0, BN("Earth yellow"), V3(1.6*scale, 1.6*scale, 0.6*scale))
- Add.Sphere(Tip, V3(1.05, 1.05, 1))
- Weld(Main, Tip, CN(), CN(0, 0, -1.15*scale))
- local Tip4 = Part(Weapon, false, false, 0, 0, BN("Black"), V3(1.2*scale, 1.2*scale, 0.3*scale))
- Add.Mesh(Tip4, "http://www.roblox.com/asset/?id=3270017", V3(1.7*scale, 1.7*scale, 10*scale), "")
- Weld(Main, Tip4, CN(), CN(0, 0, -0.15*scale))
- for i = 1.3, 1.45, 0.1 do
- local Tip3 = Part(Weapon, false, false, 0, 0, BN("Dark grey"), V3(1.2*scale, 1.2*scale, 0.3*scale))
- Add.Mesh(Tip3, "http://www.roblox.com/asset/?id=3270017", V3(i*scale, i*scale, 2*scale), "")
- Weld(Main2, Tip3, CN(), CN(0, 0, 0.6*scale))
- end
- for i = -0.95, 0.66, 1.55 do
- local Tip3 = Part(Weapon, false, false, 0, 0, BN("Dark Curry"), V3(1.2*scale, 1.2*scale, 0.3*scale))
- Add.Mesh(Tip3, "http://www.roblox.com/asset/?id=3270017", V3(1.65*scale, 1.65*scale, 3*scale), "")
- Weld(Main, Tip3, CN(), CN(0, 0, i*scale))
- end
- for i = 1.3, 1.5, 0.1 do
- local Tip2 = Part(Weapon, false, false, 0, 0, BN("Earth yellow"), V3(1.6*scale, 1.6*scale, 0.6*scale))
- Add.Mesh(Tip2, "http://www.roblox.com/asset/?id=3270017", V3(i*scale, i*scale, 2*scale), "")
- Weld(Main, Tip2, CN(), CN(0, 0, 1.1*scale))
- end
- for i = -0.3, 1, 0.15 do
- local p = Part(Weapon, false, false, 0.7, 0, BN("Black"), V3(0.2, 0.2, 0.2))
- Add.Sphere(p, V3(6*scale, 6*scale, 2*scale))
- Weld(Main2, p, CN(0, 0, i*scale))
- end
- Weapon.Parent = Model
- Model.Parent = Char
- local function Show_Damage(P, D)
- local mo = Instance.new("Model")
- mo.Name = "- "..D
- local p = Part(mo, false, false, 0, 0, BN("Bright red"), V3(0.2, 0.2, 0.2))
- p.Name = "Head"
- local m = Instance.new("SpecialMesh")
- m.MeshType = "Brick"
- m.Scale = Vector3.new(4.5, 2.3, 4.5)
- m.Parent = p
- local bp = Instance.new("BodyPosition", p)
- bp.maxForce = V3(MH, MH, MH)
- bp.P = 9001
- bp.position = CN(P) * CN(0, 1.5, 0).p
- local h = Instance.new("Humanoid")
- h.Health = 0
- h.MaxHealth = 0
- h.Name = "asd"
- h.Parent = mo
- local nah = true
- mo.Parent = workspace
- p.CFrame = CN(P)
- Notime(function()
- wait(1.5)
- for i = 0, 1, 0.05 do
- p.Transparency = i
- if nah then mo.Name = "" nah = false else mo.Name = "- "..D nah = true end
- wait()
- end
- mo:remove()
- end)
- end
- local function Kill(hit)
- if Debounce and Hurt then
- local Hu = GetHum(hit.Parent)
- if Hu then
- Debounce = false
- local Dmg = MRA(Damage[1], Damage[2])
- Hu.Health = Hu.Health - Dmg
- pcall(function() Show_Damage(Tip.Position, Dmg) end)
- PlaySound(Sounds.Hit, true)
- local chance = MRA(1, 10)
- if chance >=5 then
- Hu.PlatformStand = true
- wait(0.1)
- hit.Velocity = (CN(Torso.CFrame * CN(0, 0.5, 0).p, hit.Position).lookVector * 45)
- hit.RotVelocity = V3(MRA(-10, 10), MRA(-10, 10), MRA(-10, 10))
- wait(0.3)
- Hu.PlatformStand = false
- end
- end
- end
- end
- Main.Touched:connect(Kill)
- local function Attach(t)
- RSH.Part0 = t
- LSH.Part0 = t
- RH.Part0 = t
- LH.Part0 = t
- RABW.Part0 = t
- LABW.Part0 = t
- LLBW.Part0 = t
- RLBW.Part0 = t
- if t == Torso then
- FTorso.Transparency = 1
- else
- Torso.Transparency = 1
- end
- t.Transparency = 0
- end
- local function SelectAnim()
- RAW.Part1 = Rarm
- for i = 0.25, 1, 0.25 do
- RAW.C0 = CA(MR(-10*i), 0, MR(-5*i))
- wait()
- end
- for i = 0.1, 1, 0.1 do
- RAW.C0 = CA(MR(-10-90*i), 0, MR(-5-30*i))
- wait()
- end
- for i = 0.5, 1, 0.5 do
- RAW.C0 = CA(MR(-100-5*i), 0, MR(-35))
- wait()
- end
- HW.Part1 = Handle
- HW.C0 = CA(MR(50), 0, MR(-37))
- TW.Part1 = nil
- Attach(FTorso)
- LAW.Part1 = Larm
- for i = 0.25, 1, 0.25 do
- RAW.C0 = CA(MR(-105+10*i), 0, MR(-35+5*i))
- LAW.C0 = CA(MR(15*i), 0, MR(5*i))
- FW.C0 = CA(0, MR(-5*i), 0)
- HW.C0 = CA(MR(50-5*i), 0, MR(-37))
- wait()
- end
- for i = 0.06, 1, 0.06 do
- RAW.C0 = CA(MR(-95+95*i), MR(35*i), MR(-30+50*i))
- LAW.C0 = CA(MR(15+25*i), 0, MR(5+15*i)) * CN(0, (-0.4*scale)*i, 0)
- FW.C0 = CA(0, MR(-5-30*i), 0)
- HW.C0 = CA(MR(45), 0, MR(-37+15*i))
- wait()
- end
- Hum.WalkSpeed = Speed-3
- for i = 0.1, 1, 0.1 do
- RAW.C0 = CA(MR(15*i), MR(35+10*i), MR(20+8*i))
- LAW.C0 = CA(MR(40+7*i), 0, MR(20+6*i)) * CN(0, (-0.4*scale)-(0.2*scale)*i, 0)
- FW.C0 = CA(0, MR(-35-10*i), 0)
- HW.C0 = CA(MR(45-11*i), 0, MR(-22+15*i))
- wait()
- end
- for i = 0.25, 1, 0.25 do
- RAW.C0 = CA(MR(15+5*i), MR(45+5*i), MR(28+2*i))
- LAW.C0 = CA(MR(47+3*i), 0, MR(26+4*i)) * CN(0, -0.6*scale, 0)
- FW.C0 = CA(0, MR(-45-5*i), 0)
- HW.C0 = CA(MR(34-4*i), 0, MR(-7+7*i))
- wait()
- end
- end
- local function DeselAnim()
- for i = 0.25, 1, 0.25 do
- RAW.C0 = CA(MR(20-5*i), MR(50-5*i), MR(30-5*i))
- LAW.C0 = CA(MR(50-5*i), 0, MR(30-5*i)) * CN(0, -((0.6+0.1)*scale)*i, 0)
- FW.C0 = CA(0, MR(-50+5*i), 0)
- HW.C0 = CA(MR(30+5*i), 0, MR(-10*i))
- wait()
- end
- for i = 0.15, 1, 0.15 do
- RAW.C0 = CA(MR(15-30*i), MR(45-10*i), MR(25-5*i))
- LAW.C0 = CA(MR(45-20*i), 0, MR(25-15*i)) * CN(0, -0.5+0.2*i, 0)
- FW.C0 = CA(0, MR(-45+10*i), 0)
- HW.C0 = CA(MR(35+10*i), 0, MR(-10-15*i))
- wait()
- end
- for i = 0.12, 1, 0.12 do
- RAW.C0 = CA(MR(-15-70*i), MR(35-30*i), MR(20-30*i))
- LAW.C0 = CA(MR(25-25*i), 0, MR(10-10*i)) * CN(0, -0.3+0.3*i, 0)
- FW.C0 = CA(0, MR(-35+20*i), 0)
- HW.C0 = CA(MR(45+5*i), 0, MR(-25-12*i))
- wait()
- end
- LAW.Part1 = nil
- HW.C0 = CA(MR(50), 0, MR(-37))
- for i = 0.25, 1, 0.25 do
- RAW.C0 = CA(MR(-85-20*i), MR(5-5*i), MR(-10-25*i))
- FW.C0 = CA(0, MR(-15+15*i), 0)
- wait()
- end
- Attach(Torso)
- HW.Part1 = nil
- TW.Part1 = Handle
- Hum.WalkSpeed = 16
- for i = 0.15, 1, 0.15 do
- RAW.C0 = CA(MR(-105+95*i), 0, MR(-35+30*i))
- wait()
- end
- for i = 0.33, 1, 0.33 do
- RAW.C0 = CA(MR(-10+10*i), 0, MR(-5+5*i))
- wait()
- end
- RAW.Part1 = nil
- end
- local function Explode(Par, Pos, surface)
- Notime(function()
- local cf = CN(Pos) * CA(Par.CFrame:toEulerAnglesXYZ()) * surface[2] * CN(0, 1, 0)
- local col = Par.BrickColor.Color
- local r, g, b = col.r, col.g, col.b
- local col1, col2, col3 = C3(MRA(r*60, r*100)/100, MRA(g*60, g*100)/100, MRA(b*60, b*100)/100), C3(MRA(r*60, r*100)/100, MRA(g*60, g*100)/100, MRA(b*60, b*100)/100), C3(MRA(r*60, r*100)/100, MRA(g*60, g*100)/100, MRA(b*60, b*100)/100)
- local p = Part(workspace, true, false, 0, 0, BN(col1.r, col1.g, col1.b), V3(0.2, 0.2, 0.2))
- local p2 = Part(workspace, true, false, 0, 0, BN(col2.r, col2.g, col2.b), V3(0.2, 0.2, 0.2))
- local p3 = Part(workspace, true, false, 0, 0, BN(col3.r, col3.g, col3.b), V3(0.2, 0.2, 0.2))
- p.CFrame = cf
- p2.CFrame = cf
- p3.CFrame = cf
- local m = Add.Mesh(p, "http://www.roblox.com/asset/?id=20329976", V3(1, 1, 1))
- local m2 = Add.Mesh(p2, "http://www.roblox.com/asset/?id=20329976", V3(1, 1, 1))
- local m3 = Add.Mesh(p3, "http://www.roblox.com/asset/?id=20329976", V3(1, 1, 1))
- for i = -0.2, 1, 0.12 do
- p2.Transparency = i+0.1
- p.Transparency = i
- p3.Transparency = i+0.2
- m.Scale = V3(scale+(2.5*scale)*i, (1.4*scale)+scale*i, scale+(2.5*scale)*i)
- m2.Scale = V3((0.8*scale)+(2*scale)*i, (1.2*scale)+scale*i, (0.8*scale)+(2*scale)*i)
- m3.Scale = V3((0.5*scale)+scale*i, scale+scale*i, (0.5*scale)+scale*i)
- wait()
- end
- p2:remove()
- p3:remove()
- p:remove()
- end)
- end
- local function Shoot(Pos)
- coroutine.resume(coroutine.create(function()
- local acc = Accuracy*100
- local Start = Main2.CFrame * CN(0, 0, -0.5).p
- local Face = CN(Start, Pos) * CA(MR(MRA(-acc, acc))/100, MR(MRA(-acc, acc))/100, MR(MRA(-acc, acc))/100)
- local Cannonball = Part(Model, true, false, 0, 0, BN("Black"), V3(1.3*scale, 1.3*scale, 1.3*scale))
- Add.Sphere(Cannonball)
- Cannonball.CFrame = Face
- local Go = 3*scale
- local Drop = 0.55/(Go*3)
- local Dist = 500*scale
- local lastP = Start
- local omg = 0
- for i = Go, Dist, Go do
- Drop = Drop + 1/(Go*3)
- omg = omg + Drop
- local dropping = CA(MR(-Drop), 0, 0)
- if omg > 130 then
- dropping = CN()
- end
- Face = Face * dropping * CN(0, 0, -Go)
- Cannonball.CFrame = Face
- local Magn = (Face.p - lastP).magnitude
- local T = Part(Model, true, false, 0.1, 0, BN("Mid gray"), V3(0.2, 1, 0.2))
- local M = Instance.new("SpecialMesh",T)
- M.MeshType = "Head"
- M.Scale = V3(4.5*scale, Magn, 4.5*scale)
- T.CFrame = CN(lastP, Face.p) * CA(MR(-90), 0, 0) * CN(0, Magn/2, 0)
- Notime(function()
- wait(0.1)
- for i = 0.1, 1, 0.1 do
- T.Transparency = i+0.1
- M.Scale = V3(5-5*i, Magn+0.5, 5-5*i)
- wait()
- end
- T:remove()
- end)
- local Hit, Hitpos = RayC(lastP, Face.p, Go*2, Char)
- lastP = Face.p
- if Hit then
- PlaySound(Sounds.Boom, true)
- local s = DetectSurface(Hitpos, Hit)
- Explode(Hit, Hitpos, s)
- Cannonball.CFrame = CN(Hitpos)
- local hu = GetHum(Hit.Parent)
- if hu == nil and Hit.Parent.className ~= "Hat" and Hit.Anchored then
- coroutine.resume(coroutine.create(function()
- wait(10)
- for i = 0, 1, 0.04 do
- Cannonball.Transparency = i
- wait()
- end
- Cannonball:remove()
- end))
- else
- Cannonball:remove()
- end
- local Noobs = GetGroup(Hitpos, 5*scale, Hit)
- for _,v in pairs(Noobs) do
- local dm = 60/((v[3]+3)/3)
- local multi = (scale+10)/10
- dm = MRA(dm*0.9, dm*1.04)*multi
- v[1].Health = v[1].Health - dm
- local t = v[2]:findFirstChild("Head")
- if t then
- Show_Damage(t.Position, dm)
- end
- end
- local Parts = GetParts(Hitpos, 6*scale)
- for _,v in pairs(Parts) do
- if v[3] == false then
- Notime(function()
- if v[1].Name == "Brick wall" then
- v[1]:BreakJoints()
- v[1].Velocity = (CN(Hitpos, v[1].Position).lookVector * (110/((v[2]+2)/3)))
- wait(0.1)
- v[1].Velocity = (CN(Hitpos, v[1].Position).lookVector * (110/((v[2]+2)/3)))
- else
- v[1].Velocity = (CN(Hitpos, v[1].Position).lookVector * (80/((v[2]+2)/3)))
- end
- end)
- end
- end
- break
- end
- wait()
- end
- end))
- end
- local function ShootAnim(pos)
- RLW.Part1 = Rleg
- LLW.Part1 = Lleg
- local cf = ComputePos(Torso.Position, pos)
- local bp = Instance.new("BodyPosition",Torso)
- bp.maxForce = V3(MH, 0, MH)
- bp.P = 11000
- PlaySound(Sounds.Shoot, true)
- local effect = Part(Model, false, false, 0, 0, BN(ShootColors[MRA(1,#ShootColors)]), V3(0.2, 0.2, 0.2))
- local effect2 = Part(Model, false, false, 0, 0, BN(ShootColors[MRA(1,#ShootColors)]), V3(0.2, 0.2, 0.2))
- local m1 = Add.Mesh(effect, "http://www.roblox.com/asset/?id=20329976", V3(1,1,1))
- local m2 = Add.Mesh(effect2, "http://www.roblox.com/asset/?id=20329976", V3(1,1,1))
- local w1 = Weld(Main2, effect, CA(MR(-90), 0, 0), CN(0, -1, 0))
- local w2 = Weld(Main2, effect2, CA(MR(-90), 0, 0), CN(0, -1, 0))
- for i = 0, 1, 0.5 do
- RAW.C0 = CA(MR(20-50*i), MR(50-25*i), MR(30+45*i))
- LAW.C0 = CA(MR(50-10*i), 0, MR(30+20*i)) * CN(0, (-0.6*scale)-(0.3*scale)*i, 0)
- RLW.C0 = CA(MR(30*i), 0, MR(-15*i))
- LLW.C0 = CA(MR(10*i), 0, MR(-35*i))
- FW.C0 = CA(MR(5*i), MR(-50-15*i), 0)
- HW.C0 = CA(MR(30), MR(35*i), MR(-25*i))
- Neck.C0 = necko * CA(MR(10*i), 0, 0)
- bp.position = cf * CN(0, 0, (3*scale)*i).p
- m1.Scale = V3((0.5*scale)+(0.6*scale)*i, (0.4*scale)+(0.2*scale)*i, (0.5*scale)+(0.6*scale)*i)
- m2.Scale = V3((0.3*scale)+(0.5*scale)*i, (0.5*scale)+scale*i, (0.3*scale)+(0.5*scale)*i)
- w1.C1 = CN(0, -scale-(0.2*scale)*i, 0)
- w2.C1 = CN(0, -scale-(0.5*scale)*i, 0)
- effect.Transparency = 0.2*i
- effect2.Transparency = 0.2*i
- wait()
- end
- for i = 0.2, 1, 0.2 do
- RAW.C0 = CA(MR(-30-10*i), MR(25-5*i), MR(75+5*i))
- LAW.C0 = CA(MR(40-5*i), 0, MR(50+5*i)) * CN(0, (-0.9*scale)-(0.05*scale)*i, 0)
- RLW.C0 = CA(MR(30+5*i), 0, MR(-15))
- LLW.C0 = CA(MR(10+5*i), 0, MR(-35-5*i))
- FW.C0 = CA(MR(5+5*i), MR(-65-5*i), 0)
- HW.C0 = CA(MR(30), MR(35+5*i), MR(-25-5*i))
- Neck.C0 = necko * CA(MR(10+5*i), 0, 0)
- bp.position = cf * CN(0, 0, (3*scale)+scale*i).p
- m1.Scale = V3(scale+scale*i, (0.7*scale)+(0.9*scale)*i, scale+scale*i)
- m2.Scale = V3((0.8*scale)+(0.6*scale)*i, (1.5*scale)+(1.6*scale)*i, (0.8*scale)+(0.6*scale)*i)
- w1.C1 = CN(0, (-1.2*scale)-(0.6*scale)*i, 0)
- w2.C1 = CN(0, (-1.5*scale)-(1.8*scale)*i, 0)
- effect.Transparency = 0.2+0.9*i
- effect2.Transparency = 0.2+0.9*i
- wait()
- end
- effect:remove()
- effect2:remove()
- for i = 0.2, 1, 0.2 do
- bp.position = cf * CN(0, 0, (4*scale)+(0.8*scale)*i).p
- wait()
- end
- for i = 0.08, 1, 0.06 do
- RAW.C0 = CA(MR(-40+50*i), MR(20+15*i), MR(80-35*i))
- LAW.C0 = CA(MR(35-30*i), 0, MR(55-45*i)) * CN(0, (-0.95*scale)+(0.5*scale)*i, 0)
- RLW.C0 = CA(MR(35-35*i), 0, MR(-15+25*i))
- LLW.C0 = CA(MR(15-15*i), 0, MR(-40+30*i))
- FW.C0 = CA(MR(10-7*i), MR(-70+40*i), 0)
- HW.C0 = CA(MR(30), MR(40-40*i), MR(-30-10*i))
- Neck.C0 = necko * CA(MR(15+5*i), 0, MR(20*i))
- bp.position = cf * CN(0, 0, (4.8*scale)+(0.8*scale)*i).p
- wait()
- end
- bp:remove()
- for i = 0.33, 1, 0.33 do
- RAW.C0 = CA(MR(10+10*i), MR(35+5*i), MR(45-5*i))
- LAW.C0 = CA(MR(5), 0, MR(10)) * CN(0, (-0.45*scale)+(0.1*scale)*i, 0)
- FW.C0 = CA(MR(3-3*i), MR(-30+5*i), 0)
- HW.C0 = CA(MR(30), 0, MR(-40-10*i))
- wait()
- end
- for i = 0.12, 1, 0.12 do
- RAW.C0 = CA(MR(20+5*i), MR(40+5*i), MR(40+5*i))
- LAW.C0 = CA(MR(5), 0, MR(10)) * CN(0, (-0.35*scale)-(0.3*scale)*i, 0)
- FW.C0 = CA(0, MR(-25+5*i), 0)
- HW.C0 = CA(MR(30), 0, MR(-50-5*i))
- wait()
- end
- local b = Part(Model, false, false, 0, 0, BN("Black"), V3(1.1*scale, 1.1*scale, 1.1*scale))
- local m = Add.Sphere(b)
- local w = Weld(Larm, b, CN(), CN(0, 1.4*scale, 0))
- for i = 0.16, 1, 0.16 do
- LAW.C0 = CA(MR(5+30*i), 0, MR(10+10*i)) * CN(0, (-0.65*scale)+(0.65*scale)*i, 0)
- RAW.C0 = CA(MR(25), MR(45+3*i), MR(40))
- m.Scale = V3(0.5+0.5*i, 0.5+0.5*i, 0.5+0.5*i)
- Neck.C0 = necko * CA(MR(20-10*i), 0, MR(20-15*i))
- wait()
- end
- for i = 0.1, 1, 0.1 do
- LAW.C0 = CA(MR(35+105*i), 0, MR(20+20*i)) * CN(0, (-0.9*scale)*i, 0)
- RAW.C0 = CA(MR(25), MR(48+6*i), MR(40))
- Neck.C0 = necko * CA(MR(10-10*i), 0, MR(5-35*i))
- wait()
- end
- for i = 0.16, 1, 0.16 do
- LAW.C0 = CA(MR(140-10*i), 0, MR(40-15*i)) * CN(0, (-0.9*scale)-(0.2*scale)*i, 0)
- RAW.C0 = CA(MR(25), MR(54), MR(40))
- Neck.C0 = necko * CA(MR(5*i), 0, MR(-30))
- w.C0 = CN((1.5*scale)*i, (0.55*scale)*i, (1.1*scale)*i)
- wait()
- end
- PlaySound(Sounds.Reload, true)
- b:remove()
- w:remove()
- for i = 0.2, 1, 0.2 do
- LAW.C0 = CA(MR(130-10*i), 0, MR(25-15*i)) * CN(0, (-1.1*scale)+(0.2*scale)*i, 0)
- RAW.C0 = CA(MR(25-10*i), MR(54), MR(40))
- Neck.C0 = necko * CA(MR(5-3*i), 0, MR(-30+5*i))
- HW.C0 = CA(MR(30), 0, MR(-55+10*i))
- FW.C0 = CA(0, MR(-20-5*i), 0)
- wait()
- end
- for i = 0.11, 1, 0.11 do
- LAW.C0 = CA(MR(120-60*i), 0, MR(10+15*i)) * CN(0, (-0.9*scale)+(0.3*scale)*i, 0)
- RAW.C0 = CA(MR(15+5*i), MR(54-4*i), MR(40-10*i))
- Neck.C0 = necko * CA(MR(2-2*i), 0, MR(-25+25*i))
- HW.C0 = CA(MR(30), 0, MR(-45+45*i))
- FW.C0 = CA(0, MR(-25-20*i), 0)
- RLW.C0 = CA(0, 0, MR(10-8*i))
- LLW.C0 = CA(0, 0, MR(-10+8*i))
- wait()
- end
- Neck.C0 = necko
- for i = 0.25, 1, 0.25 do
- LAW.C0 = CA(MR(60-10*i), 0, MR(25+5*i)) * CN(0, -0.6*scale, 0)
- RAW.C0 = CA(MR(20), MR(50), MR(30))
- HW.C0 = CA(MR(30), 0, 0)
- FW.C0 = CA(0, MR(-45-5*i), 0)
- RLW.C0 = CA(0, 0, MR(2-2*i))
- LLW.C0 = CA(0, 0, MR(-2+2*i))
- wait()
- end
- RLW.Part1 = nil
- LLW.Part1 = nil
- RAW.C0 = CA(MR(20), MR(50), MR(30))
- LAW.C0 = CA(MR(50), 0, MR(30)) * CN(0, -0.6*scale, 0)
- FW.C0 = CA(0, MR(-50), 0)
- HW.C0 = CA(MR(30), 0, 0)
- Neck.C0 = necko
- end
- local function Melee()
- PlaySound(Sounds.Slash, true)
- for i = 0.25, 1, 0.25 do
- RAW.C0 = CA(MR(20+5*i), MR(50-5*i), MR(30+3*i))
- LAW.C0 = CA(MR(50), 0, MR(30+4*i)) * CN(0, (-0.6*scale)-(0.05*scale)*i, 0)
- HW.C0 = CA(MR(30), MR(5*i), 0)
- FW.C0 = CA(0, MR(-50-5*i), 0)
- wait()
- end
- for i = 0.12, 1, 0.12 do
- RAW.C0 = CA(MR(25+25*i), MR(45-30*i), MR(33+7*i))
- LAW.C0 = CA(MR(50), 0, MR(34+11*i)) * CN(0, (-0.65*scale)-(0.25*scale)*i, 0)
- HW.C0 = CA(MR(30), MR(5+25*i), 0)
- FW.C0 = CA(0, MR(-55-25*i), 0)
- wait()
- end
- for i = 0.33, 1, 0.33 do
- RAW.C0 = CA(MR(50+15*i), MR(15-5*i), MR(40-10*i)) * CN(0, (-0.2*scale)*i, 0)
- LAW.C0 = CA(MR(50+10*i), 0, MR(45-5*i)) * CN(0, (-0.9*scale)+(0.15*scale)*i, 0)
- HW.C0 = CA(MR(30+2*i), MR(30+5*i), 0)
- FW.C0 = CA(0, MR(-80+10*i), MR(-5*i))
- wait()
- end
- Hurt = true
- Debounce = true
- for i = 0.07, 1, 0.07 do
- RAW.C0 = CA(MR(65+55*i), MR(10), MR(30-70*i)) * CN(0, (-0.2*scale)-(1.1*scale)*i, 0)
- LAW.C0 = CA(MR(60+120*i), 0, MR(40-70*i)) * CN(0, (-0.75*scale)+(0.7*scale)*i, 0)
- HW.C0 = CA(MR(32+6*i), MR(35+20*i), MR(-4*i))
- FW.C0 = CA(0, MR(-70+110*i), 0)
- wait()
- end
- for i = 0.16, 1, 0.16 do
- RAW.C0 = CA(MR(120+10*i), MR(10), MR(-40-5*i)) * CN(0, (-1.3*scale)-(0.1*scale)*i, 0)
- LAW.C0 = CA(MR(180+15*i), 0, MR(-30-20*i)) * CN(0, (-0.05*scale)+(0.1*scale)*i, 0)
- HW.C0 = CA(MR(38+2*i), MR(55-6*i), MR(-4-1*i))
- FW.C0 = CA(0, MR(40+10*i), 0)
- wait()
- end
- Hurt = false
- for i = 0.2, 1, 0.2 do
- RAW.C0 = CA(MR(130+5*i), MR(10), MR(-45-2*i)) * CN(0, (-1.4*scale)-(0.05*scale)*i, 0)
- LAW.C0 = CA(MR(195+5*i), 0, MR(-50-8*i)) * CN(0, (0.05*scale)+(0.05*scale)*i, 0)
- HW.C0 = CA(MR(40), MR(49-2*i), MR(-5))
- FW.C0 = CA(0, MR(50+3*i), 0)
- wait()
- end
- wait(0.2)
- for i = 0.2, 1, 0.2 do
- RAW.C0 = CA(MR(135-10*i), MR(10+5*i), MR(-47+10*i)) * CN(0, (-1.45*scale)+(0.25*scale)*i, 0)
- LAW.C0 = CA(MR(200-10*i), 0, MR(-58+10*i)) * CN(0, (0.1*scale)-(0.1*scale)*i, 0)
- HW.C0 = CA(MR(40), MR(47-5*i), MR(-5+5*i))
- FW.C0 = CA(0, MR(53-10*i), 0)
- wait()
- end
- for i = 0.08, 1, 0.08 do
- RAW.C0 = CA(MR(125-90*i), MR(15+30*i), MR(-37+57*i)) * CN(0, (-1.2*scale)+(1.1*scale)*i, 0)
- LAW.C0 = CA(MR(190-125*i), 0, MR(-48+68*i)) * CN(0, (-0.5*scale)*i, 0)
- HW.C0 = CA(MR(40-7*i), MR(42-37*i), 0)
- FW.C0 = CA(0, MR(43-82*i), 0)
- wait()
- end
- for i = 0.2, 1, 0.2 do
- RAW.C0 = CA(MR(35-15*i), MR(45+5*i), MR(20+10*i)) * CN(0, (-0.1*scale)+(0.1*scale)*i, 0)
- LAW.C0 = CA(MR(65-15*i), 0, MR(20+10*i)) * CN(0, (-0.5*scale)-(0.1*scale)*i, 0)
- HW.C0 = CA(MR(33-3*i), MR(5-5*i), 0)
- FW.C0 = CA(0, MR(-41-9*i), 0)
- wait()
- end
- RLW.Part1 = nil
- LLW.Part1 = nil
- RAW.C0 = CA(MR(20), MR(50), MR(30))
- LAW.C0 = CA(MR(50), 0, MR(30)) * CN(0, -0.6*scale, 0)
- FW.C0 = CA(0, MR(-50), 0)
- HW.C0 = CA(MR(30), 0, 0)
- Neck.C0 = necko
- end
- wait(1)
- Selected = true
- SelectAnim()
- wait(1.5)
- while Hum.Health > 0 do
- local list = game.Players:GetPlayers()
- local targ = list[MRA(1,#list)].Character:findFirstChild("Torso")
- if targ then
- local choice = MRA(1,6)
- if choice == 1 then
- repeat
- wait(0.2)
- if targ.Parent == nil then break end
- Hum:MoveTo(CN(targ.Position, Torso.Position) * CN(0, 0, -(scale)).p, targ)
- until (Torso.Position - targ.Position).magnitude < (scale*2)+1
- Melee()
- else
- local bg = Instance.new("BodyGyro")
- bg.P = 3000
- bg.maxTorque = V3(MH, MH, MH)
- bg.cframe = ComputePos(Torso.Position, targ.Position)
- bg.Parent = Torso
- local pos = Torso.Position
- local pos2 = targ.Position
- for i = 1, 10, 1 do
- wait(0.1)
- bg.cframe = ComputePos(Torso.Position, targ.Position)
- pos2 = targ.Position
- end
- bg:remove()
- wait(0.2)
- if Hum.Health >0 then
- local magn = ((Torso.Position - pos2).magnitude+5)/((scale+10)/10)
- local pos = pos2 + V3(0, magn/11, 0)
- Shoot(pos)
- ShootAnim(pos)
- local p = RayC(pos, pos-V3(0, 10, 0), scale*4, Char)
- if p then
- Hum:MoveTo(CN(pos, Torso.Position) * CN(0, 0, -2).p, p)
- end
- end
- end
- end
- wait(0.2)
- end
- return Nub
- end
- for i = 1, 1 do
- coroutine.resume(coroutine.create(function()
- local nub = MakeNoob(V3(MRA(-50, 50),20,MRA(-50, 50)), 30)
- end))
- end
- end)
- end
- coroutine.resume(coroutine.create(SCRIPT_XHJQ69_FAKESCRIPT))
- function SCRIPT_SPFN66_FAKESCRIPT() -- NoobSmash.LocalScript
- local script = Instance.new('LocalScript')
- script.Parent = NoobSmash
- script.Parent.MouseButton1Click:Connect(function()
- plr = game.Players.LocalPlayer
- script.Parent = plr.PlayerGui --prevents from getting stolen on nonsb games
- repeat
- wait(0.2)
- until plr.Character
- chr = plr.Character
- mouse = plr:GetMouse()
- selected = false
- human = chr:FindFirstChild("Humanoid")
- ragged = false
- movindamover = false
- coolindown = false
- togglecamshake = false
- warudo = false
- waruding = false
- rootpart = chr:WaitForChild("HumanoidRootPart")
- torso = chr:WaitForChild("Torso")
- rarm = chr:WaitForChild("Right Arm")
- larm = chr:WaitForChild("Left Arm")
- rleg = chr:WaitForChild("Right Leg")
- lleg = chr:WaitForChild("Left Leg")
- local nscale = Instance.new("NumberValue")
- nscale.Value = 1
- nscale.Parent = nil
- RightShoulderC0 = CFrame.new(1.5 * nscale.Value, 0.5 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- RightShoulderC1 = CFrame.new(0, 0.5 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- LeftShoulderC0 = CFrame.new(-1.5 * nscale.Value, 0.5 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- LeftShoulderC1 = CFrame.new(0, 0.5 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- RightHipC0 = CFrame.new(0.5 * nscale.Value, -1 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- RightHipC1 = CFrame.new(0, 1 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- LeftHipC0 = CFrame.new(-0.5 * nscale.Value, -1 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- LeftHipC1 = CFrame.new(0 * nscale.Value, 1 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- RootJointC0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
- RootJointC1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
- NeckC0 = CFrame.new(0, 1 * nscale.Value, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
- NeckC1 = CFrame.new(0, -0.5 * nscale.Value, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
- nscale.Changed:connect(function()
- RightShoulderC0 = CFrame.new(1.5 * nscale.Value, 0.5 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- RightShoulderC1 = CFrame.new(0, 0.5 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- LeftShoulderC0 = CFrame.new(-1.5 * nscale.Value, 0.5 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- LeftShoulderC1 = CFrame.new(0, 0.5 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- RightHipC0 = CFrame.new(0.5 * nscale.Value, -1 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- RightHipC1 = CFrame.new(0, 1 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- LeftHipC0 = CFrame.new(-0.5 * nscale.Value, -1 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- LeftHipC1 = CFrame.new(0 * nscale.Value, 1 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- RootJointC0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
- RootJointC1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
- NeckC0 = CFrame.new(0, 1 * nscale.Value, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
- NeckC1 = CFrame.new(0, -0.5 * nscale.Value, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
- end)
- Heartbeat = Instance.new("BindableEvent")
- Heartbeat.Name = "Heartbeat"
- Heartbeat.Parent = script
- frame = 0.016666666666666666
- tf = 0
- game:GetService("RunService").Heartbeat:connect(function(s, p)
- tf = tf + s
- if tf >= frame then
- for i = 1, math.floor(tf / frame) do
- Heartbeat:Fire()
- end
- tf = tf - frame * math.floor(tf / frame)
- end
- end)
- function swait(num)
- if num == 0 or num == nil then
- Heartbeat.Event:wait()
- else
- for i = 1, num do
- Heartbeat.Event:wait()
- end
- end
- end
- local mod = Instance.new("Model")
- mod.Name = "stuff"
- mod.Parent = chr
- tool = Instance.new("Tool")
- tool.CanBeDropped = false
- tool.RequiresHandle = false
- tool.ToolTip = "haha funny memeeeee xdd"
- tool.Parent = plr.Backpack
- tool.Name = "haha"
- local screngui = Instance.new("ScreenGui")
- screngui.Parent = plr.PlayerGui
- local fram = Instance.new("Frame")
- fram.AnchorPoint = Vector2.new(0.5, 0.5)
- fram.BackgroundColor3 = Color3.new(0.050980392156862744, 0.050980392156862744, 0.050980392156862744)
- fram.BorderColor3 = Color3.new(0, 0, 0)
- fram.BorderSizePixel = 2
- fram.Position = UDim2.new(0.5, 0, 0.85, 0)
- fram.Size = UDim2.new(0.25, 75, 0, 25)
- fram.Parent = screngui
- local manabar = Instance.new("ImageLabel")
- manabar.Name = "ManaBar"
- manabar.AnchorPoint = Vector2.new(0.5, 0.5)
- manabar.BackgroundColor3 = Color3.new(1, 0.9333333333333333, 0.1607843137254902)
- manabar.BorderColor3 = Color3.new(0.10588235294117647, 0.16470588235294117, 0.20784313725490197)
- manabar.BorderSizePixel = 0
- manabar.LayoutOrder = 3
- manabar.Position = UDim2.new(0.5, 0, 0.5, 0)
- manabar.Size = UDim2.new(1, -6, 1, -6)
- manabar.ZIndex = 5
- manabar.Parent = fram
- local nobm = Instance.new("ImageLabel")
- nobm.Name = "xd"
- nobm.AnchorPoint = Vector2.new(0.5, 0.5)
- nobm.BackgroundColor3 = Color3.new(0.050980392156862744, 0.050980392156862744, 0.050980392156862744)
- nobm.BorderColor3 = Color3.new(0, 0, 0)
- nobm.BorderSizePixel = 2
- nobm.Position = UDim2.new(0.5, 0, -0.3, 0)
- nobm.Size = UDim2.new(0.35, 0, 0.6, 0)
- nobm.ZIndex = 2
- nobm.Parent = fram
- local nobote = Instance.new("TextLabel")
- nobote.Name = "texto"
- nobote.AnchorPoint = Vector2.new(0.5, 0.5)
- nobote.BackgroundTransparency = 1
- nobote.BorderColor3 = Color3.new(0.10588235294117647, 0.16470588235294117, 0.20784313725490197)
- nobote.BorderSizePixel = 0
- nobote.Position = UDim2.new(0.5, 0, 0.5, 0)
- nobote.Size = UDim2.new(1, 0, 1, 0)
- nobote.ZIndex = 3
- nobote.Font = "Arcade"
- nobote.Text = "Noob-o-meter"
- nobote.TextColor3 = Color3.new(0.9176470588235294, 1, 0)
- nobote.TextScaled = true
- nobote.TextStrokeTransparency = 1
- nobote.Parent = nobm
- local mano = Instance.new("ImageLabel")
- mano.Name = "xd"
- mano.AnchorPoint = Vector2.new(0.5, 0.5)
- mano.BackgroundColor3 = Color3.new(0.050980392156862744, 0.050980392156862744, 0.050980392156862744)
- mano.BorderColor3 = Color3.new(0, 0, 0)
- mano.BorderSizePixel = 2
- mano.Position = UDim2.new(0.5, 0, 1.1, 0)
- mano.Size = UDim2.new(0.1, 0, 0.6, 0)
- mano.ZIndex = 2
- mano.Parent = fram
- local manu = Instance.new("TextLabel")
- manu.Name = "texto"
- manu.AnchorPoint = Vector2.new(0.5, 0.5)
- manu.BackgroundTransparency = 1
- manu.BorderColor3 = Color3.new(0.10588235294117647, 0.16470588235294117, 0.20784313725490197)
- manu.BorderSizePixel = 0
- manu.Position = UDim2.new(0.5, 0, 0.5, 0)
- manu.Size = UDim2.new(1, 0, 1, 0)
- manu.ZIndex = 3
- manu.Font = "Arcade"
- manu.Text = "100"
- manu.TextColor3 = Color3.new(0.9176470588235294, 1, 0)
- manu.TextScaled = true
- manu.TextStrokeTransparency = 1
- manu.Parent = mano
- local mana = Instance.new("IntValue")
- mana.Value = 100
- mana.Name = "Mana"
- mana.Parent = fram
- coroutine.resume(coroutine.create(function()
- while true do
- wait(0.15)
- manabar:TweenSize(UDim2.new(1 * mana.Value / 100, -6, 1, -6), 2, 1, 0.2, false, nil)
- if mana.Value < 100 then
- mana.Value = mana.Value + 1
- manu.Text = mana.Value
- if mana.Value < 0 then
- mana.Value = 0
- end
- end
- end
- end))
- function nooutline(part)
- part.TopSurface, part.BottomSurface, part.RightSurface, part.LeftSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
- end
- function test()
- if selected == false then
- return
- end
- if waruding == true then
- return
- end
- if ragged == false then
- ragged = true
- human.PlatformStand = true
- if rarm and torso:FindFirstChild("Right Shoulder") then
- torso:FindFirstChild("Right Shoulder"):Destroy()
- makegloo(torso, RightShoulderC0, RightShoulderC1, torso, rarm, "Right Shoulder")
- maketouchy(rarm, rarm, CFrame.new(0, 0.5, 0))
- end
- if larm and torso:FindFirstChild("Left Shoulder") then
- torso:FindFirstChild("Left Shoulder"):Destroy()
- makegloo(torso, LeftShoulderC0, LeftShoulderC1, torso, larm, "Left Shoulder")
- maketouchy(larm, larm, CFrame.new(0, 0.5, 0))
- end
- if rleg and torso:FindFirstChild("Right Hip") then
- torso:FindFirstChild("Right Hip"):Destroy()
- makegloo(torso, RightHipC0, RightHipC1, torso, rleg, "Right Hip")
- maketouchy(rleg, rleg, CFrame.new(0, 0.5, 0))
- end
- if lleg and torso:FindFirstChild("Left Hip") then
- torso:FindFirstChild("Left Hip"):Destroy()
- makegloo(torso, LeftHipC0, LeftHipC1, torso, lleg, "Left Hip")
- maketouchy(lleg, lleg, CFrame.new(0, 0.5, 0))
- end
- elseif ragged == true then
- ragged = false
- human.Jump = true
- if rarm and torso:FindFirstChild("Right Shoulder") then
- torso:FindFirstChild("Right Shoulder"):Destroy()
- makejoint(torso, RightShoulderC0, RightShoulderC1, torso, rarm, "Right Shoulder")
- rarm:FindFirstChild("touchy"):Destroy()
- end
- if larm and torso:FindFirstChild("Left Shoulder") then
- torso:FindFirstChild("Left Shoulder"):Destroy()
- makejoint(torso, LeftShoulderC0, LeftShoulderC1, torso, larm, "Left Shoulder")
- larm:FindFirstChild("touchy"):Destroy()
- end
- if rleg and torso:FindFirstChild("Right Hip") then
- torso:FindFirstChild("Right Hip"):Destroy()
- makejoint(torso, RightHipC0, RightHipC1, torso, rleg, "Right Hip")
- rleg:FindFirstChild("touchy"):Destroy()
- end
- if lleg and torso:FindFirstChild("Left Hip") then
- torso:FindFirstChild("Left Hip"):Destroy()
- makejoint(torso, LeftHipC0, LeftHipC1, torso, lleg, "Left Hip")
- lleg:FindFirstChild("touchy"):Destroy()
- end
- end
- end
- function makegloo(paren, co, ci, parto, parti, nam)
- local gloo = Instance.new("Glue")
- gloo.Name = nam
- gloo.C0 = co
- gloo.C1 = ci
- gloo.Part0 = parto
- gloo.Part1 = parti
- gloo.Parent = paren
- end
- function makejoint(paren, co, ci, parto, parti, nam)
- local gloo = Instance.new("Motor6D")
- gloo.Name = nam
- gloo.C0 = co
- gloo.C1 = ci
- gloo.Part0 = parto
- gloo.Part1 = parti
- gloo.Parent = paren
- end
- function maketouchy(parent, limb, cframe)
- local pr = Instance.new("Part")
- pr.Name = "touchy"
- pr.Size = Vector3.new(1 * nscale.Value, 1 * nscale.Value, 1 * nscale.Value)
- pr.Transparency = 1
- pr.CustomPhysicalProperties = PhysicalProperties.new(0.55, 0.3, 0.5)
- pr.CanCollide = true
- pr.Anchored = false
- pr.Parent = parent
- local w = Instance.new("Weld")
- w.Part0 = pr
- w.Part1 = limb
- w.C0 = cframe
- w.Parent = pr
- end
- function movinit()
- if ragged == true then
- do
- local bodyp = Instance.new("BodyPosition")
- bodyp.MaxForce = Vector3.new(100000, 100000, 100000)
- bodyp.Position = mouse.Hit.p
- bodyp.P = 100
- bodyp.Name = "bodehforce"
- bodyp.D = 20
- bodyp.Parent = rootpart
- delay(0.01, function()
- bodyp:Destroy()
- end)
- end
- end
- end
- function shoom()
- if selected == false then
- return
- end
- if waruding == true then
- return
- end
- if mana.Value < 5 then
- return
- end
- local mcir1 = Instance.new("Part")
- mcir1.Anchored = true
- mcir1.CanCollide = false
- mcir1.Size = Vector3.new(0.2, 0.2, 0.2)
- mcir1.Transparency = 1
- mcir1.CFrame = CFrame.new(rootpart.Position + Vector3.new(math.random(-5, 5), math.random(7, 9), math.random(-5, 5)), mouse.Hit.p)
- mcir1.Parent = mod
- game.Debris:AddItem(mcir1, 8)
- local d1 = Instance.new("Decal")
- d1.Texture = "rbxassetid://602615043"
- d1.Face = "Front"
- d1.Parent = mcir1
- local d2 = Instance.new("Decal")
- d2.Texture = "rbxassetid://602617463"
- d2.Face = "Back"
- d2.Parent = mcir1
- local bme = Instance.new("BlockMesh")
- bme.Parent = mcir1
- for _ = 1, 9 do
- wait()
- bme.Scale = bme.Scale:lerp(Vector3.new(35, 35, 0), 0.3)
- end
- makenoob(mcir1.CFrame, (mouse.Hit.p - mcir1.Position).unit * 150, math.random(8, 12) / 10)
- mana.Value = mana.Value - 5
- coroutine.resume(coroutine.create(function()
- wait(1)
- for _ = 1, 12 do
- wait()
- d1.Transparency = d1.Transparency + 0.08
- d2.Transparency = d2.Transparency + 0.08
- end
- mcir1:Destroy()
- end))
- end
- function transpo()
- if selected == false then
- return
- end
- if waruding == true then
- return
- end
- if mana.Value < 5 then
- return
- end
- if mouse.Target.Parent.Name == "Noob" and mouse.Target.Parent.Humanoid.Health ~= 0 then
- do
- local nibz = mouse.Target.Parent
- chr.PrimaryPart = rootpart
- nibz.PrimaryPart = nibz:FindFirstChild("HumanoidRootPart")
- local g = Instance.new("Part")
- g.CanCollide, g.Anchored = false, true
- g.Transparency = 1
- g.CFrame = rootpart.CFrame
- g.Parent = workspace
- game.Debris:AddItem(g, 4)
- local sou = Instance.new("Sound")
- sou.Pitch = math.random(7, 11) / 10
- sou.Volume = 0.9
- sou.SoundId = "rbxassetid://111124523"
- sou.Parent = g
- sou:Play()
- local pe = Instance.new("ParticleEmitter")
- pe.Acceleration = Vector3.new(0, 8, 0)
- pe.Lifetime = NumberRange.new(1, 1.5)
- pe.Rate = 20000
- pe.RotSpeed = NumberRange.new(-30, 30)
- pe.Rotation = NumberRange.new(0, 360)
- pe.Size = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 4.38, 0),
- NumberSequenceKeypoint.new(0.672, 4.14, 0),
- NumberSequenceKeypoint.new(1, 1.48, 0)
- })
- pe.Texture = "rbxassetid://244221440"
- pe.Transparency = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 0, 0),
- NumberSequenceKeypoint.new(0.529, 0.3, 0),
- NumberSequenceKeypoint.new(1, 1, 1)
- })
- pe.ZOffset = 5
- pe.VelocitySpread = 360
- pe.Parent = g
- delay(0.14, function()
- pe.Enabled = false
- end)
- chr:SetPrimaryPartCFrame(nibz:FindFirstChild("HumanoidRootPart").CFrame)
- local g2 = Instance.new("Part")
- g2.CanCollide, g2.Anchored = false, true
- g2.Transparency = 1
- g2.CFrame = nibz:FindFirstChild("HumanoidRootPart").CFrame
- g2.Parent = workspace
- game.Debris:AddItem(g2, 4)
- local sou2 = Instance.new("Sound")
- sou2.Pitch = math.random(7, 11) / 10
- sou2.Volume = 0.9
- sou2.SoundId = "rbxassetid://111124523"
- sou2.Parent = g2
- sou2:Play()
- local pe2 = Instance.new("ParticleEmitter")
- pe2.Acceleration = Vector3.new(0, 8, 0)
- pe2.Lifetime = NumberRange.new(1, 1.5)
- pe2.Rate = 20000
- pe2.RotSpeed = NumberRange.new(-30, 30)
- pe2.Rotation = NumberRange.new(0, 360)
- pe2.Size = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 4.38, 0),
- NumberSequenceKeypoint.new(0.672, 4.14, 0),
- NumberSequenceKeypoint.new(1, 1.48, 0)
- })
- pe2.Texture = "rbxassetid://244221440"
- pe2.Transparency = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 0, 0),
- NumberSequenceKeypoint.new(0.529, 0.3, 0),
- NumberSequenceKeypoint.new(1, 1, 1)
- })
- pe2.ZOffset = 5
- pe2.VelocitySpread = 360
- pe2.Parent = g2
- delay(0.14, function()
- pe2.Enabled = false
- end)
- nibz:SetPrimaryPartCFrame(g.CFrame)
- mana.Value = mana.Value - 5
- end
- end
- end
- function pow()
- if selected == false then
- return
- end
- if coolindown == true then
- return
- end
- if waruding == true then
- return
- end
- if mana.Value < 50 then
- return
- end
- coolindown = true
- local propertieslol = function(part)
- part.Material = "SmoothPlastic"
- part.CanCollide = false
- part.Locked = true
- part.Anchored = true
- part.Size = Vector3.new(0.2, 0.2, 0.2)
- part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
- end
- local mover = Instance.new("Part")
- mover.Transparency = 1
- mover.Size = Vector3.new(0.2, 0.2, 0.2)
- mover.CFrame = rootpart.CFrame * CFrame.Angles(math.rad(40), math.rad(0), math.rad(0)) * CFrame.new(0, 11, 0)
- mover.Anchored = true
- mover.CanCollide = false
- mover.Parent = mod
- local mciro = Instance.new("Part")
- mciro.Name = "mciro"
- mciro.BrickColor = BrickColor.new("Bright yellow")
- propertieslol(mciro)
- mciro.CFrame = rootpart.CFrame * CFrame.new(0, -2.45, -35) * CFrame.Angles(math.rad(180), 0, 0)
- mciro.Transparency = 1
- mciro.Parent = mod
- local mc = Instance.new("BlockMesh")
- mc.Scale = Vector3.new(0, 0, 0)
- mc.Parent = mciro
- local d1 = Instance.new("Decal")
- d1.Texture = "rbxassetid://602615043"
- d1.Face = "Top"
- d1.Parent = mciro
- local d2 = Instance.new("Decal")
- d2.Texture = "rbxassetid://602617463"
- d2.Face = "Bottom"
- d2.Parent = mciro
- movindamover = true
- coroutine.resume(coroutine.create(function()
- while movindamover == true do
- swait()
- mover.CFrame = mover.CFrame:lerp(rootpart.CFrame * CFrame.Angles(math.rad(40), math.rad(0), math.rad(0)) * CFrame.new(0, 11, 0), 0.4)
- mciro.CFrame = mciro.CFrame:lerp(rootpart.CFrame * CFrame.new(0, -2.45, -35) * CFrame.Angles(math.rad(180), 0, 0), 0.4)
- mc.Scale = mc.Scale:lerp(Vector3.new(120, 0, 120), 0.1)
- end
- end))
- local handle = Instance.new("Part")
- handle.Name = "Handle"
- handle.BrickColor = BrickColor.new("Br. yellowish green")
- propertieslol(handle)
- handle.CFrame = rootpart.CFrame * CFrame.Angles(math.rad(40), math.rad(0), math.rad(0)) * CFrame.new(0, 11, 0)
- handle.Parent = mod
- local m0 = Instance.new("SpecialMesh")
- m0.MeshType = "Head"
- m0.Parent = handle
- local h1 = Instance.new("Part")
- h1.Name = "h1"
- h1.BrickColor = BrickColor.new("Br. yellowish green")
- propertieslol(h1)
- h1.CFrame = mover.CFrame * CFrame.new(0, 3, 0)
- h1.Parent = mod
- local m1 = Instance.new("SpecialMesh")
- m1.MeshType = "Head"
- m1.Parent = h1
- local h2 = Instance.new("Part")
- h2.Name = "h2"
- h2.BrickColor = BrickColor.new("Br. yellowish green")
- propertieslol(h2)
- h2.CFrame = mover.CFrame * CFrame.new(0, -3, 0)
- h2.Parent = mod
- local m2 = Instance.new("SpecialMesh")
- m2.MeshType = "Head"
- m2.Parent = h2
- local he = Instance.new("Part")
- he.Name = "he"
- he.BrickColor = BrickColor.new("Bright yellow")
- propertieslol(he)
- he.CFrame = mover.CFrame * CFrame.new(0, -3.75, 0)
- he.Parent = mod
- local m3 = Instance.new("SpecialMesh")
- m3.MeshType = "Head"
- m3.Parent = he
- local ht = Instance.new("Part")
- ht.Name = "ht"
- ht.BrickColor = BrickColor.new("White")
- propertieslol(ht)
- ht.CFrame = mover.CFrame * CFrame.new(0, -5.5, 0) * CFrame.Angles(math.rad(180), 0, 0)
- ht.Parent = mod
- local m4 = Instance.new("SpecialMesh")
- m4.MeshType = "Head"
- m4.MeshId = "http://www.roblox.com/asset/?id=1082802"
- m4.TextureId = "http://www.roblox.com/asset/?id=1082804"
- m4.Parent = ht
- local p1 = Instance.new("Part")
- p1.Name = "p1"
- p1.BrickColor = BrickColor.new("Bright blue")
- propertieslol(p1)
- p1.CFrame = mover.CFrame * CFrame.new(0, 12, 0)
- p1.Parent = mod
- local m5 = Instance.new("SpecialMesh")
- m5.MeshType = "Head"
- m5.Parent = p1
- local p2 = Instance.new("Part")
- p2.Name = "p2"
- p2.BrickColor = BrickColor.new("Bright blue")
- propertieslol(p2)
- p2.CFrame = mover.CFrame * CFrame.new(0, 14, 0) * CFrame.Angles(math.rad(180), 0, 0)
- p2.Parent = mod
- local m6 = Instance.new("SpecialMesh")
- m6.MeshType = "FileMesh"
- m6.MeshId = "rbxassetid://1033714"
- m6.Parent = p2
- local he1 = Instance.new("Part")
- he1.Name = "he1"
- he1.BrickColor = BrickColor.new("Bright yellow")
- propertieslol(he1)
- he1.CFrame = mover.CFrame * CFrame.new(0, 27, 0) * CFrame.Angles(0, math.rad(90), 0)
- he1.Parent = mod
- local m7 = Instance.new("SpecialMesh")
- m7.MeshType = "Head"
- m7.Parent = he1
- local hdec1 = Instance.new("Decal")
- hdec1.Texture = "rbxasset://textures/face.png"
- hdec1.Face = "Front"
- hdec1.Parent = he1
- local he2 = Instance.new("Part")
- he2.Name = "he2"
- he2.BrickColor = BrickColor.new("Bright yellow")
- propertieslol(he2)
- he2.CFrame = mover.CFrame * CFrame.new(0, 27, 0) * CFrame.Angles(0, math.rad(-90), 0)
- he2.Transparency = 1
- he2.Parent = mod
- local m8 = Instance.new("SpecialMesh")
- m8.MeshType = "Head"
- m8.Parent = he2
- local hdec2 = Instance.new("Decal")
- hdec2.Texture = "rbxasset://textures/face.png"
- hdec2.Face = "Front"
- hdec2.Parent = he2
- local het1 = Instance.new("Part")
- het1.Name = "het1"
- het1.BrickColor = BrickColor.new("Bright yellow")
- propertieslol(het1)
- het1.CFrame = mover.CFrame * CFrame.new(0, 30, 0) * CFrame.Angles(0, math.rad(90), 0)
- het1.Parent = mod
- local m9 = Instance.new("SpecialMesh")
- m9.MeshType = "FileMesh"
- m9.MeshId = "http://www.roblox.com/asset/?id=272942659"
- m9.TextureId = "http://www.roblox.com/asset/?id=272942750"
- m9.Parent = het1
- local he3 = Instance.new("Part")
- he3.Name = "he3"
- he3.BrickColor = BrickColor.new("Bright yellow")
- propertieslol(he3)
- he3.CFrame = mover.CFrame * CFrame.new(0, 27, 11) * CFrame.Angles(0, math.rad(90), math.rad(90))
- he3.Parent = mod
- local m10 = Instance.new("SpecialMesh")
- m10.MeshType = "Head"
- m10.Parent = he3
- local hdec3 = Instance.new("Decal")
- hdec3.Texture = "rbxasset://textures/face.png"
- hdec3.Face = "Front"
- hdec3.Parent = he3
- local he4 = Instance.new("Part")
- he4.Name = "he4"
- he4.BrickColor = BrickColor.new("Bright yellow")
- propertieslol(he4)
- he4.CFrame = mover.CFrame * CFrame.new(0, 27, 11) * CFrame.Angles(0, math.rad(-90), math.rad(90))
- he4.Transparency = 1
- he4.Parent = mod
- local m11 = Instance.new("SpecialMesh")
- m11.MeshType = "Head"
- m11.Parent = he4
- local hdec4 = Instance.new("Decal")
- hdec4.Texture = "rbxasset://textures/face.png"
- hdec4.Face = "Front"
- hdec4.Parent = he4
- local he5 = Instance.new("Part")
- he5.Name = "he5"
- he5.BrickColor = BrickColor.new("Bright yellow")
- propertieslol(he5)
- he5.CFrame = mover.CFrame * CFrame.new(0, 27, -11) * CFrame.Angles(0, math.rad(90), math.rad(-90))
- he5.Parent = mod
- local m12 = Instance.new("SpecialMesh")
- m12.MeshType = "Head"
- m12.Parent = he5
- local hdec5 = Instance.new("Decal")
- hdec5.Texture = "rbxasset://textures/face.png"
- hdec5.Face = "Front"
- hdec5.Parent = he5
- local he6 = Instance.new("Part")
- he6.Name = "he6"
- he6.BrickColor = BrickColor.new("Bright yellow")
- propertieslol(he6)
- he6.CFrame = mover.CFrame * CFrame.new(0, 27, -11) * CFrame.Angles(0, math.rad(-90), math.rad(-90))
- he6.Transparency = 1
- he6.Parent = mod
- local m13 = Instance.new("SpecialMesh")
- m13.MeshType = "Head"
- m13.Parent = he6
- local hdec6 = Instance.new("Decal")
- hdec6.Texture = "rbxasset://textures/face.png"
- hdec6.Face = "Front"
- hdec6.Parent = he6
- m0.Scale = Vector3.new(0, 0, 0)
- m1.Scale = Vector3.new(0, 0, 0)
- m2.Scale = Vector3.new(0, 0, 0)
- m3.Scale = Vector3.new(0, 0, 0)
- m4.Scale = Vector3.new(0, 0, 0)
- m5.Scale = Vector3.new(0, 0, 0)
- m6.Scale = Vector3.new(0, 0, 0)
- m7.Scale = Vector3.new(0, 0, 0)
- m8.Scale = Vector3.new(0, 0, 0)
- m9.Scale = Vector3.new(0, 0, 0)
- m10.Scale = Vector3.new(0, 0, 0)
- m11.Scale = Vector3.new(0, 0, 0)
- m12.Scale = Vector3.new(0, 0, 0)
- m13.Scale = Vector3.new(0, 0, 0)
- coroutine.resume(coroutine.create(function()
- while mover do
- swait()
- handle.CFrame = handle.CFrame:lerp(mover.CFrame, 0.4)
- h1.CFrame = h1.CFrame:lerp(mover.CFrame * CFrame.new(0, 3, 0), 0.4)
- h2.CFrame = h2.CFrame:lerp(mover.CFrame * CFrame.new(0, -3, 0), 0.4)
- he.CFrame = he.CFrame:lerp(mover.CFrame * CFrame.new(0, -4, 0), 0.4)
- ht.CFrame = ht.CFrame:lerp(mover.CFrame * CFrame.new(0, -5.5, 0) * CFrame.Angles(math.rad(180), 0, 0), 0.4)
- p1.CFrame = p1.CFrame:lerp(mover.CFrame * CFrame.new(0, 12, 0), 0.4)
- p2.CFrame = p2.CFrame:lerp(mover.CFrame * CFrame.new(0, 14, 0) * CFrame.Angles(math.rad(180), 0, 0), 0.4)
- he1.CFrame = he1.CFrame:lerp(mover.CFrame * CFrame.new(0, 27, 0) * CFrame.Angles(0, math.rad(90), 0), 0.4)
- he2.CFrame = he2.CFrame:lerp(mover.CFrame * CFrame.new(0, 27, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.4)
- het1.CFrame = het1.CFrame:lerp(mover.CFrame * CFrame.new(0, 30, 0) * CFrame.Angles(0, math.rad(90), 0), 0.4)
- he3.CFrame = he3.CFrame:lerp(mover.CFrame * CFrame.new(0, 27, 11) * CFrame.Angles(0, math.rad(90), math.rad(90)), 0.4)
- he4.CFrame = he4.CFrame:lerp(mover.CFrame * CFrame.new(0, 27, 11) * CFrame.Angles(0, math.rad(-90), math.rad(90)), 0.4)
- he5.CFrame = he5.CFrame:lerp(mover.CFrame * CFrame.new(0, 27, -11) * CFrame.Angles(0, math.rad(90), math.rad(-90)), 0.4)
- he6.CFrame = he6.CFrame:lerp(mover.CFrame * CFrame.new(0, 27, -11) * CFrame.Angles(0, math.rad(-90), math.rad(-90)), 0.4)
- end
- end))
- local function expando(mesho, vectorz)
- mesho.Scale = Vector3.new(0, 0, 0)
- local sond = Instance.new("Sound")
- sond.Volume = 1.2
- sond.Pitch = 1
- sond.EmitterSize = 10
- sond.SoundId = "rbxassetid://315152748"
- sond.Parent = mesho.Parent
- sond:Play()
- mana.Value = mana.Value - 3
- for _ = 1, 5 do
- swait()
- mesho.Scale = mesho.Scale:lerp(vectorz + Vector3.new(6, 6, 6), 0.65)
- end
- for _ = 1, 3 do
- swait()
- mesho.Scale = mesho.Scale:lerp(vectorz, 0.65)
- end
- mesho.Scale = vectorz
- end
- expando(m0, Vector3.new(5, 30, 5))
- expando(m1, Vector3.new(6, 5.5, 5.5))
- expando(m2, Vector3.new(6, 5.5, 5.5))
- expando(m3, Vector3.new(6.5, 6.5, 6.5))
- expando(m4, Vector3.new(1.25, 1.25, 1.25))
- expando(m5, Vector3.new(5, 90, 4))
- expando(m6, Vector3.new(2, 20, 2))
- expando(m7, Vector3.new(75, 75, 75))
- expando(m8, Vector3.new(75, 75, 75))
- expando(m9, Vector3.new(12, 11, 11))
- expando(m10, Vector3.new(60, 60, 60))
- expando(m11, Vector3.new(60, 60, 60))
- expando(m12, Vector3.new(60, 60, 60))
- expando(m13, Vector3.new(60, 60, 60))
- wait(0.2)
- movindamover = false
- coroutine.resume(coroutine.create(function()
- local sond = Instance.new("Sound")
- sond.Volume = 2.5
- sond.Pitch = 0.5
- sond.SoundId = "rbxassetid://320557353"
- sond.Parent = p2
- sond:Play()
- end))
- for _ = 1, 60 do
- swait()
- mover.CFrame = mover.CFrame:lerp(rootpart.CFrame * CFrame.Angles(math.rad(70), math.rad(0), math.rad(0)) * CFrame.new(0, 16, 4), 0.1)
- mciro.CFrame = mciro.CFrame:lerp(rootpart.CFrame * CFrame.new(0, -2.45, -35) * CFrame.Angles(math.rad(180), 0, 0), 0.6)
- end
- coroutine.resume(coroutine.create(function()
- local sond = Instance.new("Sound")
- sond.Volume = 5.5
- sond.Pitch = 0.6
- sond.SoundId = "rbxassetid://320557353"
- sond.Parent = p2
- sond:Play()
- end))
- for d = 1, 5 do
- swait()
- mover.CFrame = mover.CFrame:lerp(rootpart.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 13, -5), 0.008 + d / 8)
- mciro.CFrame = mciro.CFrame:lerp(rootpart.CFrame * CFrame.new(0, -2.45, -35) * CFrame.Angles(math.rad(180), 0, 0), 0.6)
- end
- for e = 1, 3 do
- swait()
- mover.CFrame = mover.CFrame:lerp(rootpart.CFrame * CFrame.Angles(math.rad(-110), math.rad(0), math.rad(0)) * CFrame.new(0, 6, 13), 0.7 + e / 9)
- mciro.CFrame = mciro.CFrame:lerp(rootpart.CFrame * CFrame.new(0, -2.45, -35) * CFrame.Angles(math.rad(180), 0, 0), 0.6)
- end
- coroutine.resume(coroutine.create(function()
- local sond = Instance.new("Sound")
- sond.Volume = 5
- sond.Pitch = 0.9
- sond.SoundId = "rbxassetid://157878578"
- sond.Parent = mciro
- sond:Play()
- end))
- local ra = Ray.new(mciro.Position, mciro.CFrame.upVector * 3)
- local part, positi = workspace:FindPartOnRayWithIgnoreList(ra, {chr}, false, true)
- if part then
- local cfremz = CFrame.new(positi)
- debris(cfremz, part, 20)
- end
- mana.Value = mana.Value - 30
- for m = 1, 18 do
- makenoob(mciro.CFrame * CFrame.new(math.random(-15, 15), math.random(-32, -4), math.random(-15, 15)), Vector3.new(math.random(-100, 100), math.random(100, 200), math.random(-100, 100)), math.random(4, 16) / 10)
- end
- coroutine.resume(coroutine.create(function()
- local pou1 = Instance.new("Part")
- propertieslol(pou1)
- pou1.BrickColor = BrickColor.new("Grey")
- pou1.Transparency = 0.5
- pou1.CFrame = mciro.CFrame * CFrame.new(0, -28, 0) * CFrame.Angles(math.rad(180), 0, 0)
- pou1.Parent = mod
- local mosh = Instance.new("SpecialMesh")
- mosh.MeshType = "FileMesh"
- mosh.MeshId = "rbxassetid://489415447"
- mosh.Scale = Vector3.new(0.1, 0.1, 0.1)
- mosh.Parent = pou1
- local pou2 = Instance.new("Part")
- propertieslol(pou2)
- pou2.BrickColor = BrickColor.new("Grey")
- pou2.Transparency = 0.5
- pou2.CFrame = mciro.CFrame * CFrame.new(0, -23, 0) * CFrame.Angles(math.rad(180), 0, 0)
- pou2.Parent = mod
- local mosh2 = Instance.new("SpecialMesh")
- mosh2.MeshType = "FileMesh"
- mosh2.MeshId = "rbxassetid://489415447"
- mosh2.Scale = Vector3.new(0.1, 0.1, 0.1)
- mosh2.Parent = pou2
- for x = 1, 4 do
- wait()
- pou1.CFrame = pou1.CFrame:lerp(pou1.CFrame * CFrame.Angles(0, math.rad(4), 0), 0.4)
- mosh.Scale = mosh.Scale:lerp(mosh.Scale + Vector3.new(15, 100, 15), 0.4)
- pou2.CFrame = pou2.CFrame:lerp(pou2.CFrame * CFrame.Angles(0, math.rad(-8), 0), 0.4)
- mosh2.Scale = mosh2.Scale:lerp(mosh2.Scale + Vector3.new(25, 80, 25), 0.4)
- end
- for x = 1, 40 do
- wait()
- pou1.CFrame = pou1.CFrame:lerp(pou1.CFrame * CFrame.new(0, -0.5, 0) * CFrame.Angles(0, math.rad(4), 0), 0.4)
- mosh.Scale = mosh.Scale:lerp(mosh.Scale + Vector3.new(2, -4, 2), 0.4)
- pou2.CFrame = pou2.CFrame:lerp(pou2.CFrame * CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-8), 0), 0.4)
- mosh2.Scale = mosh2.Scale:lerp(mosh2.Scale + Vector3.new(3, -6, 3), 0.4)
- end
- for x = 1, 19 do
- wait()
- pou1.CFrame = pou1.CFrame:lerp(pou1.CFrame * CFrame.new(0, -0.5, 0) * CFrame.Angles(0, math.rad(4), 0), 0.4)
- mosh.Scale = mosh.Scale:lerp(mosh.Scale + Vector3.new(2, -4, 2), 0.4)
- pou2.CFrame = pou2.CFrame:lerp(pou2.CFrame * CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-8), 0), 0.4)
- mosh2.Scale = mosh2.Scale:lerp(mosh2.Scale + Vector3.new(3, -6, 3), 0.4)
- pou1.Transparency = pou1.Transparency + 0.03
- pou2.Transparency = pou2.Transparency + 0.03
- end
- end))
- hito(mciro, 24, 40)
- camshake(mciro, 48, 6)
- wait(3)
- for _, g in pairs(mod:GetChildren()) do
- if g.ClassName == "Part" then
- coroutine.resume(coroutine.create(function()
- for _ = 1, 24 do
- wait()
- g.Transparency = g.Transparency + 0.06
- end
- g:Destroy()
- end))
- for _, d in ipairs(g:GetChildren()) do
- if d.ClassName == "Decal" then
- coroutine.resume(coroutine.create(function()
- if d.Transparency ~= 1 then
- for _ = 1, 24 do
- wait()
- d.Transparency = d.Transparency + 0.06
- end
- end
- end))
- end
- end
- delay(2, function()
- coolindown = false
- end)
- end
- end
- end
- function ZAWARUDO()
- if selected == false then
- return
- end
- if warudo == true then
- return
- end
- if workspace:FindFirstChild("The Noob") then
- return
- end
- warudo = true
- waruding = true
- local animo = human.Animator
- animo.Parent = nil
- chr.Animate.Disabled = true
- local lmao = Instance.new("Sound")
- lmao.EmitterSize = 150
- lmao.Volume = 1.25
- lmao.MaxDistance = 2700
- lmao.SoundId = "rbxassetid://170620840"
- lmao.Parent = rootpart
- game.Debris:AddItem(lmao, 25)
- lmao:Play()
- chr.PrimaryPart = rootpart
- wait(0.75)
- rootpart.Anchored = true
- for _ = 1, 40 do
- wait(0.04)
- chr:MoveTo(rootpart.Position + Vector3.new(0, 60, 0))
- chr:SetPrimaryPartCFrame(rootpart.CFrame * CFrame.Angles(math.rad(0.2), math.rad(0), math.rad(0)))
- end
- for _ = 1, 12 do
- wait(0.03)
- chr:MoveTo(rootpart.Position + Vector3.new(0, 10, 0))
- chr:SetPrimaryPartCFrame(rootpart.CFrame * CFrame.Angles(math.rad(0.2), math.rad(0), math.rad(0)))
- end
- for c = 1, 14 do
- wait(0.01)
- torso:FindFirstChild("Right Shoulder").C0 = torso:FindFirstChild("Right Shoulder").C0:lerp(RightShoulderC0 * CFrame.new(0, 0.6, 0) * CFrame.Angles(math.rad(10), math.rad(-20), math.rad(178)), 0.3)
- torso:FindFirstChild("Left Shoulder").C0 = torso:FindFirstChild("Left Shoulder").C0:lerp(LeftShoulderC0 * CFrame.new(0, 0.6, 0) * CFrame.Angles(math.rad(10), math.rad(20), math.rad(-178)), 0.3)
- torso:FindFirstChild("Neck").C0 = torso:FindFirstChild("Neck").C0:lerp(NeckC0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-30), math.rad(0), math.rad(0)), 0.3)
- torso:FindFirstChild("Right Hip").C0 = torso:FindFirstChild("Right Hip").C0:lerp(RightHipC0 * CFrame.new(0, 0.15, 0) * CFrame.Angles(math.rad(-10), math.rad(-10), math.rad(0)), 0.3)
- torso:FindFirstChild("Left Hip").C0 = torso:FindFirstChild("Left Hip").C0:lerp(LeftHipC0 * CFrame.new(0, 0.15, 0) * CFrame.Angles(math.rad(-10), math.rad(10), math.rad(0)), 0.3)
- end
- local trn = function(p)
- for _ = 1, 6 do
- wait()
- p.Transparency = p.Transparency - 0.18
- end
- end
- local function bignoob(cfrem, scalo)
- nscale.Value = scalo
- local md = Instance.new("Model")
- md.Name = "The Noob"
- md.Parent = workspace
- local hu = Instance.new("Humanoid")
- hu.MaxHealth = 0
- hu.RigType = "R6"
- hu.Name = "nothumanxd"
- hu.Parent = md
- local anm = Instance.new("Animator")
- anm.Parent = hu
- hu.PlatformStand = true
- local hd = Instance.new("Part")
- hd.Name = "Head"
- hd.Size = Vector3.new(2 * nscale.Value, 1 * nscale.Value, 1 * nscale.Value)
- hd.TopSurface = "Smooth"
- hd.BottomSurface = "Inlet"
- hd.Locked = true
- hd.Transparency = 1
- hd.BrickColor = BrickColor.new("Bright yellow")
- hd.CanCollide = false
- hd.Parent = md
- local hm = Instance.new("SpecialMesh")
- hm.MeshType = "Head"
- hm.Scale = Vector3.new(1.25, 1.25, 1.25)
- hm.Parent = hd
- local hf = Instance.new("Decal")
- hf.Texture = "rbxasset://textures/face.png"
- local gen = math.random(1, 40)
- if gen == 3 then
- hf.Texture = "rbxassetid://260884109"
- end
- if gen == 8 then
- hf.Texture = "rbxassetid://260569492"
- end
- if gen == 12 then
- hf.Texture = "rbxassetid://259580505"
- end
- if gen == 16 then
- hf.Texture = "rbxassetid://259579232"
- end
- if gen == 24 then
- hf.Texture = "rbxassetid://259571525"
- end
- if gen == 28 then
- hf.Texture = "rbxassetid://258283210"
- end
- if gen == 32 then
- hf.Texture = "rbxassetid://258940032"
- end
- if gen == 38 then
- hf.Texture = "rbxassetid://673220970"
- hf.Color3 = Color3.new(0, 0, 0)
- end
- hf.Face = "Front"
- hf.Parent = hd
- local hrp = Instance.new("Part")
- hrp.Name = "HumanoidRootPart"
- hrp.TopSurface, hrp.BottomSurface = 0, 0
- hrp.Size = Vector3.new(2 * nscale.Value, 2 * nscale.Value, 1 * nscale.Value)
- hrp.Transparency = 1
- hrp.CanCollide = false
- hrp.Anchored = true
- hrp.Locked = true
- hrp.Parent = md
- local learm = Instance.new("Part")
- learm.Name = "Left Arm"
- learm.BrickColor = BrickColor.new("Bright yellow")
- learm.CanCollide = false
- learm.Transparency = 1
- learm.Locked = true
- learm.Size = Vector3.new(1 * nscale.Value, 2 * nscale.Value, 1 * nscale.Value)
- learm.Parent = md
- local riarm = Instance.new("Part")
- riarm.Name = "Right Arm"
- riarm.BrickColor = BrickColor.new("Bright yellow")
- riarm.CanCollide = false
- riarm.Transparency = 1
- riarm.Locked = true
- riarm.Size = Vector3.new(1 * nscale.Value, 2 * nscale.Value, 1 * nscale.Value)
- riarm.Parent = md
- local leleg = Instance.new("Part")
- leleg.Name = "Left Leg"
- leleg.BrickColor = BrickColor.new("Br. yellowish green")
- leleg.CanCollide = false
- leleg.Transparency = 1
- leleg.Locked = true
- leleg.BottomSurface = 0
- leleg.Size = Vector3.new(1 * nscale.Value, 2 * nscale.Value, 1 * nscale.Value)
- leleg.Parent = md
- local rileg = Instance.new("Part")
- rileg.Name = "Right Leg"
- rileg.BrickColor = BrickColor.new("Br. yellowish green")
- rileg.CanCollide = false
- rileg.Locked = true
- rileg.Transparency = 1
- rileg.BottomSurface = 0
- rileg.Size = Vector3.new(1 * nscale.Value, 2 * nscale.Value, 1 * nscale.Value)
- rileg.Parent = md
- local tor = Instance.new("Part")
- tor.Name = "Torso"
- tor.BrickColor = BrickColor.new("Bright blue")
- tor.Locked = true
- tor.Anchored = true
- tor.CanCollide = false
- tor.Transparency = 1
- tor.Size = Vector3.new(2 * nscale.Value, 2 * nscale.Value, 1 * nscale.Value)
- tor.LeftSurface, tor.RightSurface = "Weld", "Weld"
- tor.Parent = md
- md.PrimaryPart = hrp
- md:SetPrimaryPartCFrame(cfrem)
- md:makeJoints()
- makejoint(tor, RightShoulderC0, RightShoulderC1, tor, riarm, "Right Shoulder")
- makejoint(tor, LeftShoulderC0, LeftShoulderC1, tor, learm, "Left Shoulder")
- makejoint(tor, RightHipC0, RightHipC1, tor, rileg, "Right Hip")
- makejoint(tor, LeftHipC0, LeftHipC1, tor, leleg, "Left Hip")
- makejoint(hrp, RootJointC0, RootJointC1, hrp, tor, "RootJoint")
- makejoint(tor, NeckC0, NeckC1, tor, hd, "Neck")
- tor:FindFirstChild("Right Shoulder").C0 = tor:FindFirstChild("Right Shoulder").C0 * CFrame.new(7, 22, -11) * CFrame.Angles(math.rad(6), 0, 0)
- tor:FindFirstChild("Left Shoulder").C0 = tor:FindFirstChild("Left Shoulder").C0 * CFrame.new(-7, 22, -11) * CFrame.Angles(math.rad(6), 0, 0)
- tor:FindFirstChild("Right Hip").C0 = tor:FindFirstChild("Right Hip").C0 * CFrame.new(7, 19, 7.5) * CFrame.Angles(math.rad(10), 0, 0)
- tor:FindFirstChild("Left Hip").C0 = tor:FindFirstChild("Left Hip").C0 * CFrame.new(-7, 19, 7.5) * CFrame.Angles(math.rad(10), 0, 0)
- tor:FindFirstChild("Neck").C0 = tor:FindFirstChild("Neck").C0 * CFrame.new(0, 1, 3) * CFrame.Angles(math.rad(-90), 0, 0)
- trn(tor)
- trn(hd)
- trn(learm)
- trn(riarm)
- trn(leleg)
- trn(rileg)
- nscale.Value = 1
- end
- local yehboi = true
- bignoob(rootpart.CFrame * CFrame.new(0, 10, 0) * CFrame.Angles(math.rad(90), 0, 0), 15)
- coroutine.resume(coroutine.create(function()
- while workspace:FindFirstChild("The Noob") and yehboi == true do
- swait()
- workspace:FindFirstChild("The Noob"):SetPrimaryPartCFrame(rootpart.CFrame * CFrame.new(0, 9, 0) * CFrame.Angles(math.rad(90), 0, 0))
- end
- end))
- local function bam(cframe, intens, nu)
- local pou1 = Instance.new("Part")
- pou1.BrickColor = BrickColor.new("Grey")
- pou1.Transparency = 0.1
- pou1.CFrame = cframe
- pou1.Parent = mod
- local mosh = Instance.new("SpecialMesh")
- mosh.MeshType = "FileMesh"
- mosh.MeshId = "rbxassetid://489415447"
- mosh.Scale = Vector3.new(1, 1, 1)
- mosh.Parent = pou1
- coroutine.resume(coroutine.create(function()
- for _ = 1, nu do
- swait()
- mosh.Scale = mosh.Scale + Vector3.new(3 * intens, 3 * intens, 3 * intens)
- pou1.Transparency = pou1.Transparency + 0.9 / nu
- end
- pou1:Destroy()
- end))
- end
- wait(1)
- for _ = 1, 50 do
- wait(0.025)
- chr:MoveTo(rootpart.Position + Vector3.new(0, -9.5, 0))
- chr:SetPrimaryPartCFrame(rootpart.CFrame * CFrame.Angles(math.rad(-3.8), math.rad(0), math.rad(0)))
- end
- for _ = 1, 30 do
- wait()
- chr:MoveTo(rootpart.Position + Vector3.new(0, -79.1, 0))
- end
- local ry = Ray.new(rootpart.Position + Vector3.new(0, -6, 0), rootpart.CFrame.upVector * 150)
- local part, poso = workspace:FindPartOnRayWithIgnoreList(ry, {chr}, false, false)
- if part then
- debris(CFrame.new(poso), part, 25)
- end
- chr:MoveTo(poso + Vector3.new(0, 15, 0))
- yehboi = false
- coroutine.resume(coroutine.create(function()
- local sond = Instance.new("Sound")
- sond.Volume = 3
- sond.Pitch = 0.5
- sond.MaxDistance = 300
- sond.SoundId = "rbxassetid://157878578"
- sond.Parent = workspace:FindFirstChild("The Noob").Torso
- sond:Play()
- end))
- stun(workspace:FindFirstChild("The Noob").Torso, 26, 7)
- hito(workspace:FindFirstChild("The Noob").Torso, 26, 15)
- bam(workspace:FindFirstChild("The Noob").Torso.CFrame * CFrame.new(0, -5, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)), 16, 32)
- for _ = 1, 10 do
- wait()
- chr:SetPrimaryPartCFrame(rootpart.CFrame * CFrame.Angles(math.rad(7), math.rad(0), math.rad(0)))
- end
- for _ = 1, 8 do
- wait()
- chr:SetPrimaryPartCFrame(rootpart.CFrame * CFrame.Angles(math.rad(4.5), math.rad(2), math.rad(0)))
- torso:FindFirstChild("Right Shoulder").C0 = torso:FindFirstChild("Right Shoulder").C0:lerp(RightShoulderC0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-10), math.rad(10), math.rad(80)), 0.4)
- torso:FindFirstChild("Left Shoulder").C0 = torso:FindFirstChild("Left Shoulder").C0:lerp(LeftShoulderC0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-10), math.rad(-10), math.rad(80)), 0.4)
- end
- local br = Instance.new("Part")
- br.Anchored = true
- br.CFrame = workspace:FindFirstChild("The Noob").Torso.CFrame
- br.Transparency = 1
- br.CanCollide = false
- br.Parent = workspace
- game.Debris:AddItem(br, 30)
- local hrz = Instance.new("Part")
- hrz.Anchored = true
- hrz.CFrame = rootpart.CFrame
- hrz.Transparency = 1
- hrz.CanCollide = false
- hrz.Parent = workspace
- game.Debris:AddItem(hrz, 30)
- wait(0.4)
- coroutine.resume(coroutine.create(function()
- local f = true
- for n = 1, 70 do
- wait()
- workspace:FindFirstChild("The Noob"):SetPrimaryPartCFrame(br.CFrame * CFrame.new(math.random(-1, 1), math.random(-1, 1), math.random(-1, 1)))
- if f == true then
- chr:SetPrimaryPartCFrame(hrz.CFrame * CFrame.new(math.random(-1, 1), math.random(-1, 1), math.random(-1, 0)) * CFrame.Angles(math.rad(0), math.rad(-32), math.rad(0)))
- torso:FindFirstChild("Neck").C0 = torso:FindFirstChild("Neck").C0:lerp(NeckC0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(5), math.rad(21)), 0.9)
- f = false
- elseif f == false then
- chr:SetPrimaryPartCFrame(hrz.CFrame * CFrame.new(math.random(-1, 1), math.random(-1, 1), math.random(-1, 0)) * CFrame.Angles(math.rad(0), math.rad(32), math.rad(0)))
- torso:FindFirstChild("Neck").C0 = torso:FindFirstChild("Neck").C0:lerp(NeckC0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-5), math.rad(-21)), 0.9)
- f = true
- end
- end
- end))
- for _ = 1, 18 do
- wait(0.06)
- torso:FindFirstChild("Right Shoulder").C0 = torso:FindFirstChild("Right Shoulder").C0:lerp(RightShoulderC0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(math.random(-16, -5)), math.rad(math.random(5, 16)), math.rad(math.random(-82, -68))), 1)
- torso:FindFirstChild("Left Shoulder").C0 = torso:FindFirstChild("Left Shoulder").C0:lerp(LeftShoulderC0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(math.random(-16, -5)), math.rad(math.random(-16, -5)), math.rad(math.random(-117, -100))), 1)
- makenoob(rootpart.CFrame * CFrame.new(math.random(-3, 3), math.random(-2, 2), math.random(-5, -3)), rootpart.CFrame.lookVector * math.random(-200, -80), 1)
- bam(larm.CFrame, 1, 9)
- coroutine.resume(coroutine.create(function()
- local sond = Instance.new("Sound")
- sond.Volume = 0.7
- sond.PlaybackSpeed = math.random(19, 26) / 10
- sond.SoundId = "rbxassetid://157878578"
- sond.MaxDistance = 150
- sond.Parent = workspace:FindFirstChild("The Noob").Torso
- sond:Play()
- end))
- wait(0.06)
- torso:FindFirstChild("Right Shoulder").C0 = torso:FindFirstChild("Right Shoulder").C0:lerp(RightShoulderC0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(math.random(-16, -5)), math.rad(math.random(5, 16)), math.rad(math.random(100, 117))), 1)
- torso:FindFirstChild("Left Shoulder").C0 = torso:FindFirstChild("Left Shoulder").C0:lerp(LeftShoulderC0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(math.random(-16, -5)), math.rad(math.random(-16, -5)), math.rad(math.random(68, 82))), 1)
- makenoob(rootpart.CFrame * CFrame.new(math.random(-3, 3), math.random(-2, 2), math.random(-5, -3)), rootpart.CFrame.lookVector * math.random(-200, -80), 1)
- hito(workspace:FindFirstChild("The Noob").Torso, 18, 5)
- if part then
- debris(CFrame.new(poso), part, 1)
- end
- bam(rarm.CFrame, 1, 9)
- end
- wait(0.6)
- for _ = 1, 15 do
- wait(0.02)
- chr:SetPrimaryPartCFrame(rootpart.CFrame * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(2), math.rad(0)))
- end
- for _ = 1, 8 do
- swait()
- torso:FindFirstChild("Right Shoulder").C0 = torso:FindFirstChild("Right Shoulder").C0:lerp(RightShoulderC0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(math.random(-16, -5)), math.rad(math.random(5, 16)), math.rad(math.random(-82, -68))), 1)
- torso:FindFirstChild("Left Shoulder").C0 = torso:FindFirstChild("Left Shoulder").C0:lerp(LeftShoulderC0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(math.random(-16, -5)), math.rad(math.random(50, 51)), math.rad(math.random(-91, -89))), 1)
- torso:FindFirstChild("Neck").C0 = torso:FindFirstChild("Neck").C0:lerp(NeckC0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(5), math.rad(61)), 0.9)
- chr:SetPrimaryPartCFrame(rootpart.CFrame * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-18), math.rad(0)))
- end
- coroutine.resume(coroutine.create(function()
- local sond = Instance.new("Sound")
- sond.Volume = 3
- sond.PlaybackSpeed = math.random(6, 8) / 10
- sond.SoundId = "rbxassetid://157878578"
- sond.MaxDistance = 200
- sond.Parent = workspace:FindFirstChild("The Noob").Torso
- sond:Play()
- end))
- bam(larm.CFrame, 6, 24)
- hito(workspace:FindFirstChild("The Noob").Torso, 32, 20)
- wait(0.6)
- for _, d in pairs(torso:GetChildren()) do
- if d.ClassName == "Motor6D" then
- d:Destroy()
- end
- end
- makejoint(torso, NeckC0, NeckC1, torso, chr.Head, "Neck")
- makejoint(torso, LeftShoulderC0, LeftShoulderC1, torso, larm, "Left Shoulder")
- makejoint(torso, RightShoulderC0, RightShoulderC1, torso, rarm, "Right Shoulder")
- makejoint(torso, LeftHipC0, LeftHipC1, torso, lleg, "Left Hip")
- makejoint(torso, RightHipC0, RightHipC1, torso, rleg, "Right Hip")
- chr:SetPrimaryPartCFrame(workspace:FindFirstChild("The Noob").Torso.CFrame * CFrame.new(0, 0, 8))
- chr:SetPrimaryPartCFrame(rootpart.CFrame * CFrame.Angles(math.rad(15), math.rad(0), math.rad(0)))
- for _ = 1, 40 do
- swait()
- chr:MoveTo(rootpart.CFrame.p + Vector3.new(0, 2, -3))
- chr:SetPrimaryPartCFrame(rootpart.CFrame * CFrame.Angles(math.rad(15), math.rad(0), math.rad(0)))
- end
- rootpart.Anchored = false
- animo.Parent = human
- chr.Animate.Disabled = false
- hito(workspace:FindFirstChild("The Noob").Torso, 36, 40)
- for _, parz in pairs(workspace:FindFirstChild("The Noob"):GetChildren()) do
- if parz.ClassName == "Part" then
- for _, g in pairs(parz:GetChildren()) do
- if g.ClassName == "Motor6D" then
- g:Destroy()
- end
- end
- if parz.Name == "HumanoidRootPart" then
- parz:Destroy()
- end
- if workspace:FindFirstChild("The Noob"):FindFirstChild("Humanoid") then
- workspace:FindFirstChild("The Noob"):FindFirstChild("Humanoid"):Destroy()
- end
- parz.Anchored = false
- parz.CanCollide = false
- do
- local bodyp = Instance.new("BodyVelocity")
- bodyp.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
- bodyp.Velocity = Vector3.new(math.random(-200, 200), math.random(150, 300), math.random(-200, 200))
- bodyp.P = 500
- bodyp.Parent = parz
- parz.RotVelocity = Vector3.new(math.random(-700, 700), math.random(-700, 700), math.random(-700, 700))
- delay(0.02, function()
- bodyp:Destroy()
- wait(2)
- parz.CanCollide = true
- end)
- game.Debris:AddItem(parz, 10)
- end
- end
- end
- coroutine.resume(coroutine.create(function()
- local ex = Instance.new("Explosion")
- ex.BlastRadius = 40
- ex.DestroyJointRadiusPercent = 0.2
- ex.BlastPressure = 120
- ex.ExplosionType = 2
- ex.Position = workspace:FindFirstChild("The Noob").Torso.Position
- ex.Visible = true
- ex.Parent = workspace
- wait(12)
- if workspace:FindFirstChild("The Noob") then
- workspace:FindFirstChild("The Noob"):Destroy()
- end
- wait(0.5)
- warudo = false
- end))
- waruding = false
- end
- function makenoob(cfrem, velocity, scalo)
- nscale.Value = scalo
- local md = Instance.new("Model")
- md.Name = "Noob"
- md.Parent = workspace
- local hu = Instance.new("Humanoid")
- hu.RigType = "R6"
- hu.Parent = md
- local anm = Instance.new("Animator")
- anm.Parent = hu
- hu.PlatformStand = true
- local light = function(part)
- part.CustomPhysicalProperties = PhysicalProperties.new(0.35, 0.3, 0.5)
- end
- local hd = Instance.new("Part")
- hd.Name = "Head"
- hd.Size = Vector3.new(2 * nscale.Value, 1 * nscale.Value, 1 * nscale.Value)
- hd.TopSurface = "Smooth"
- hd.BottomSurface = "Inlet"
- hd.Locked = true
- hd.BrickColor = BrickColor.new("Bright yellow")
- hd.CanCollide = true
- hd.Anchored = false
- light(hd)
- hd.Parent = md
- local hm = Instance.new("SpecialMesh")
- hm.MeshType = "Head"
- hm.Scale = Vector3.new(1.25, 1.25, 1.25)
- hm.Parent = hd
- local hf = Instance.new("Decal")
- hf.Texture = "rbxasset://textures/face.png"
- local gen = math.random(1, 40)
- if gen == 3 then
- hf.Texture = "rbxassetid://260884109"
- end
- if gen == 8 then
- hf.Texture = "rbxassetid://260569492"
- end
- if gen == 12 then
- hf.Texture = "rbxassetid://259580505"
- end
- if gen == 16 then
- hf.Texture = "rbxassetid://259579232"
- end
- if gen == 24 then
- hf.Texture = "rbxassetid://259571525"
- end
- if gen == 28 then
- hf.Texture = "rbxassetid://258283210"
- end
- if gen == 32 then
- hf.Texture = "rbxassetid://258940032"
- end
- if gen == 38 then
- hf.Texture = "rbxassetid://673220970"
- hf.Color3 = Color3.new(0, 0, 0)
- end
- hf.Face = "Front"
- hf.Parent = hd
- local hrp = Instance.new("Part")
- hrp.Name = "HumanoidRootPart"
- hrp.TopSurface, hrp.BottomSurface = 0, 0
- hrp.Size = Vector3.new(2 * nscale.Value, 2 * nscale.Value, 1 * nscale.Value)
- hrp.Transparency = 1
- hrp.CanCollide = false
- hrp.Locked = true
- light(hrp)
- hrp.Parent = md
- local learm = Instance.new("Part")
- learm.Name = "Left Arm"
- learm.BrickColor = BrickColor.new("Bright yellow")
- learm.CanCollide = false
- learm.Locked = true
- learm.Size = Vector3.new(1 * nscale.Value, 2 * nscale.Value, 1 * nscale.Value)
- light(learm)
- learm.Parent = md
- local riarm = Instance.new("Part")
- riarm.Name = "Right Arm"
- riarm.BrickColor = BrickColor.new("Bright yellow")
- riarm.CanCollide = false
- riarm.Locked = true
- light(riarm)
- riarm.Size = Vector3.new(1 * nscale.Value, 2 * nscale.Value, 1 * nscale.Value)
- riarm.Parent = md
- local leleg = Instance.new("Part")
- leleg.Name = "Left Leg"
- leleg.BrickColor = BrickColor.new("Br. yellowish green")
- leleg.CanCollide = false
- leleg.Locked = true
- light(leleg)
- leleg.BottomSurface = 0
- leleg.Size = Vector3.new(1 * nscale.Value, 2 * nscale.Value, 1 * nscale.Value)
- leleg.Parent = md
- local rileg = Instance.new("Part")
- rileg.Name = "Right Leg"
- rileg.BrickColor = BrickColor.new("Br. yellowish green")
- rileg.CanCollide = false
- rileg.Locked = true
- light(rileg)
- rileg.BottomSurface = 0
- rileg.Size = Vector3.new(1 * nscale.Value, 2 * nscale.Value, 1 * nscale.Value)
- rileg.Parent = md
- local tor = Instance.new("Part")
- tor.Name = "Torso"
- tor.BrickColor = BrickColor.new("Bright blue")
- tor.Locked = true
- light(tor)
- tor.Size = Vector3.new(2 * nscale.Value, 2 * nscale.Value, 1 * nscale.Value)
- tor.LeftSurface, tor.RightSurface = "Weld", "Weld"
- tor.Parent = md
- md.PrimaryPart = hrp
- md:SetPrimaryPartCFrame(cfrem * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0)))
- md:makeJoints()
- makegloo(tor, RightShoulderC0, RightShoulderC1, tor, riarm, "Right Shoulder")
- makegloo(tor, LeftShoulderC0, LeftShoulderC1, tor, learm, "Left Shoulder")
- makegloo(tor, RightHipC0, RightHipC1, tor, rileg, "Right Hip")
- makegloo(tor, LeftHipC0, LeftHipC1, tor, leleg, "Left Hip")
- makejoint(hrp, RootJointC0, RootJointC1, hrp, tor, "RootJoint")
- makejoint(tor, NeckC0, NeckC1, tor, hd, "Neck")
- maketouchy(riarm, riarm, CFrame.new(0, 0.5 * nscale.Value, 0))
- maketouchy(learm, learm, CFrame.new(0, 0.5 * nscale.Value, 0))
- maketouchy(leleg, leleg, CFrame.new(0, 0.5 * nscale.Value, 0))
- maketouchy(rileg, rileg, CFrame.new(0, 0.5 * nscale.Value, 0))
- local d = math.random(0, 12)
- if d == 5 then
- local sun = Instance.new("Sound")
- sun.SoundId = "rbxassetid://167285348"
- sun.Pitch = math.random(9, 10) / 10
- sun.Volume = 3
- sun.Parent = hrp
- sun:Play()
- elseif d == 6 then
- local sun = Instance.new("Sound")
- sun.SoundId = "rbxassetid://604650009"
- sun.Pitch = math.random(7, 13) / 10
- sun.Volume = 3
- sun.Parent = hrp
- sun:Play()
- end
- local bodyp = Instance.new("BodyVelocity")
- bodyp.MaxForce = Vector3.new(90000, 90000, 90000)
- bodyp.Velocity = velocity
- bodyp.P = 5000
- bodyp.Parent = hrp
- delay(0.06, function()
- bodyp:Destroy()
- end)
- nscale.Value = 1
- end
- function hito(partoz, magn, dmg)
- for _, guy in pairs(workspace:GetChildren()) do
- if guy:FindFirstChild("Humanoid") and guy:FindFirstChild("Torso") and guy ~= chr and magn > (guy:FindFirstChild("Torso").Position - partoz.Position).magnitude then
- local humz = guy:FindFirstChild("Humanoid")
- local torse = guy:FindFirstChild("Torso")
- humz:TakeDamage(dmg)
- end
- end
- end
- function stun(partoz, magn, time)
- for _, guy in pairs(workspace:GetChildren()) do
- if guy:FindFirstChild("Humanoid") and guy:FindFirstChild("Torso") and guy ~= chr and magn > (guy:FindFirstChild("Torso").Position - partoz.Position).magnitude then
- do
- local humz = guy:FindFirstChild("Humanoid")
- local torse = guy:FindFirstChild("Torso")
- guy.PrimaryPart = torse
- torse.Anchored = true
- if guy:FindFirstChild("HumanoidRootPart") then
- guy:FindFirstChild("HumanoidRootPart").Anchored = true
- delay(time, function()
- if guy:FindFirstChild("HumanoidRootPart") then
- guy:FindFirstChild("HumanoidRootPart").Anchored = false
- end
- end)
- end
- guy:SetPrimaryPartCFrame(torse.CFrame * CFrame.Angles(math.rad(0), 0, 0))
- delay(time, function()
- if torse then
- torse.Anchored = false
- end
- end)
- end
- end
- end
- end
- function debris(cfremz, thepart, amt)
- for j = 1, amt do
- do
- local pr = Instance.new("Part")
- nooutline(pr)
- pr.Name = "debrisobeb"
- pr.Anchored = true
- pr.BrickColor = thepart.BrickColor
- pr.CanCollide = true
- pr.Material = thepart.Material
- pr.Transparency = thepart.Transparency
- pr.Size = Vector3.new(math.random(16, 24), math.random(12, 16), math.random(16, 24))
- pr.CFrame = cfremz * CFrame.Angles(0, math.rad(amt * j), 0) * CFrame.new(0, -5, math.random(18, 22)) * CFrame.Angles(math.rad(math.random(-30, -15)), math.rad(math.random(0, 1)), math.rad(math.random(0, 1)))
- pr.Parent = workspace
- game.Debris:AddItem(pr, 25)
- delay(15, function()
- if pr then
- pr.CanCollide = false
- pr.Anchored = false
- end
- end)
- end
- end
- for c = 1, amt do
- do
- local pr2 = Instance.new("Part")
- nooutline(pr2)
- pr2.Name = "moredebr"
- pr2.Anchored = false
- pr2.BrickColor = thepart.BrickColor
- pr2.CanCollide = false
- pr2.Material = thepart.Material
- pr2.Transparency = thepart.Transparency
- pr2.Size = Vector3.new(math.random(8, 18), math.random(6, 18), math.random(8, 18))
- pr2.CFrame = cfremz * CFrame.Angles(0, math.rad(30 * c), 0) * CFrame.new(0, -5, math.random(18, 22)) * CFrame.Angles(math.rad(math.random(-30, -15)), math.rad(math.random(0, 1)), math.rad(math.random(0, 1)))
- pr2.Parent = workspace
- pr2.Velocity = Vector3.new(math.random(-75, 75), math.random(120, 240), math.random(-75, 75))
- pr2.RotVelocity = Vector3.new(math.random(-35, 35), math.random(-35, 35), math.random(-35, 35))
- game.Debris:AddItem(pr2, 45)
- delay(2, function()
- pr2.CanCollide = true
- wait(10)
- if pr2 then
- pr2.CanCollide = false
- end
- end)
- end
- end
- end
- function camshake(partoz, magn, intens)
- if togglecamshake == true then
- return
- end
- for _, guy in pairs(workspace:GetChildren()) do
- if guy:FindFirstChild("Humanoid") and guy:FindFirstChild("Torso") and guy.Name ~= "Noob" and magn > (guy:FindFirstChild("Torso").Position - partoz.Position).magnitude then
- coroutine.resume(coroutine.create(function()
- local humz = guy:FindFirstChild("Humanoid")
- local torse = guy:FindFirstChild("Torso")
- for _ = 1, 5 * intens do
- wait()
- humz.CameraOffset = Vector3.new(2 * math.random(-intens, intens), 0.5 * math.random(-intens, intens), 2 * math.random(-intens, intens))
- end
- humz.CameraOffset = Vector3.new(0, 0, 0)
- end))
- end
- end
- end
- function cleannoobs()
- for _, nib in pairs(workspace:GetChildren()) do
- coroutine.resume(coroutine.create(function()
- if nib.Name == "Noob" then
- if nib:FindFirstChild("HumanoidRootPart") then
- wait(0.06)
- do
- local g = Instance.new("Part")
- g.CanCollide, g.Anchored = false, true
- g.Transparency = 1
- g.CFrame = nib:FindFirstChild("HumanoidRootPart").CFrame
- g.Parent = workspace
- game.Debris:AddItem(g, 4)
- local sou = Instance.new("Sound")
- sou.Pitch = math.random(7, 11) / 10
- sou.Volume = 0.9
- sou.SoundId = "rbxassetid://111124523"
- sou.Parent = g
- sou:Play()
- local pe = Instance.new("ParticleEmitter")
- pe.Acceleration = Vector3.new(0, 8, 0)
- pe.Lifetime = NumberRange.new(1, 1.5)
- pe.Rate = 20000
- pe.RotSpeed = NumberRange.new(-30, 30)
- pe.Rotation = NumberRange.new(0, 360)
- pe.Size = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 4.38, 0),
- NumberSequenceKeypoint.new(0.672, 4.14, 0),
- NumberSequenceKeypoint.new(1, 1.48, 0)
- })
- pe.Texture = "rbxassetid://244221440"
- pe.Transparency = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 0, 0),
- NumberSequenceKeypoint.new(0.529, 0.3, 0),
- NumberSequenceKeypoint.new(1, 1, 1)
- })
- pe.ZOffset = 5
- pe.VelocitySpread = 360
- pe.Parent = g
- delay(0.04, function()
- pe.Enabled = false
- end)
- end
- end
- nib:Destroy()
- end
- end))
- end
- end
- tool.Activated:connect(function()
- movinit()
- end)
- mouse.KeyDown:connect(function(key)
- if key == "r" then
- test()
- end
- if key == "q" then
- shoom()
- end
- if key == "f" then
- pow()
- end
- if key == "t" then
- transpo()
- end
- if key == "c" then
- cleannoobs()
- end
- if key == "m" and plr.Name == "ShedlestkyStar" or key == "m" and plr.Name == "ShedlestkyStar" or key == "m" and plr.Name == "ShedlestkyStar" then
- ShedlestkyStar()
- end
- if key == "k" then
- if togglecamshake == false then
- togglecamshake = true
- elseif togglecamshake == true then
- togglecamshake = false
- end
- end
- end)
- tool.Equipped:connect(function()
- selected = true
- end)
- tool.Unequipped:connect(function()
- selected = false
- end)
- end)
- end
- coroutine.resume(coroutine.create(SCRIPT_SPFN66_FAKESCRIPT))
- function SCRIPT_WXRO81_FAKESCRIPT() -- NoobExplode.LocalScript
- local script = Instance.new('LocalScript')
- script.Parent = NoobExplode
- script.Parent.MouseButton1Click:Connect(function()
- local FavIDs = {
- 340106355, --Nefl Crystals
- 927529620, --Dimension
- 876981900, --Fantasy
- 398987889, --Ordinary Days
- 1117396305, --Oh wait, it's you.
- 885996042, --Action Winter Journey
- 919231299, --Sprawling Idiot Effigy
- 743466274, --Good Day Sunshine
- 727411183, --Knife Fight
- 1402748531, --The Earth Is Counting On You!
- 595230126 --Robot Language
- }
- --The reality of my life isn't real but a Universe -makhail07
- wait()
- local plr = game:service'Players'.LocalPlayer
- print('Local User is '..plr.Name)
- local char = plr.Character
- local hum = char.Humanoid
- local ra = char["Right Arm"]
- local la= char["Left Arm"]
- local rl= char["Right Leg"]
- local ll = char["Left Leg"]
- local hed = char.Head
- local root = char.HumanoidRootPart
- local rootj = root.RootJoint
- local tors = char.Torso
- local mouse = plr:GetMouse()
- local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
- local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
- local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
- hed.face.Texture = "rbxassetid://641688284"
- -------------------------------------------------------
- --Start Good Stuff--
- -------------------------------------------------------
- CF = CFrame.new
- angles = CFrame.Angles
- attack = false
- Euler = CFrame.fromEulerAnglesXYZ
- Rad = math.rad
- IT = Instance.new
- BrickC = BrickColor.new
- Cos = math.cos
- Acos = math.acos
- Sin = math.sin
- Asin = math.asin
- Abs = math.abs
- Mrandom = math.random
- Floor = math.floor
- -------------------------------------------------------
- --End Good Stuff--
- -------------------------------------------------------
- necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
- RSH, LSH = nil, nil
- RW = Instance.new("Weld")
- LW = Instance.new("Weld")
- RH = tors["Right Hip"]
- LH = tors["Left Hip"]
- RSH = tors["Right Shoulder"]
- LSH = tors["Left Shoulder"]
- RSH.Parent = nil
- LSH.Parent = nil
- RW.Name = "RW"
- RW.Part0 = tors
- RW.C0 = CF(1.5, 0.5, 0)
- RW.C1 = CF(0, 0.5, 0)
- RW.Part1 = ra
- RW.Parent = tors
- LW.Name = "LW"
- LW.Part0 = tors
- LW.C0 = CF(-1.5, 0.5, 0)
- LW.C1 = CF(0, 0.5, 0)
- LW.Part1 = la
- LW.Parent = tors
- Effects = {}
- -------------------------------------------------------
- --Start HeartBeat--
- -------------------------------------------------------
- ArtificialHB = Instance.new("BindableEvent", script)
- ArtificialHB.Name = "Heartbeat"
- script:WaitForChild("Heartbeat")
- frame = 1 / 60
- tf = 0
- allowframeloss = false
- tossremainder = false
- lastframe = tick()
- script.Heartbeat:Fire()
- game:GetService("RunService").Heartbeat:connect(function(s, p)
- tf = tf + s
- if tf >= frame then
- if allowframeloss then
- script.Heartbeat:Fire()
- lastframe = tick()
- else
- for i = 1, math.floor(tf / frame) do
- script.Heartbeat:Fire()
- end
- lastframe = tick()
- end
- if tossremainder then
- tf = 0
- else
- tf = tf - frame * math.floor(tf / frame)
- end
- end
- end)
- -------------------------------------------------------
- --End HeartBeat--
- -------------------------------------------------------
- -------------------------------------------------------
- --Start Important Functions--
- -------------------------------------------------------
- function thread(f)
- coroutine.resume(coroutine.create(f))
- end
- function clerp(a, b, t)
- local qa = {
- QuaternionFromCFrame(a)
- }
- local qb = {
- QuaternionFromCFrame(b)
- }
- local ax, ay, az = a.x, a.y, a.z
- local bx, by, bz = b.x, b.y, b.z
- local _t = 1 - t
- return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
- end
- function QuaternionFromCFrame(cf)
- local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
- local trace = m00 + m11 + m22
- if trace > 0 then
- local s = math.sqrt(1 + trace)
- local recip = 0.5 / s
- return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
- else
- local i = 0
- if m00 < m11 then
- i = 1
- end
- if m22 > (i == 0 and m00 or m11) then
- i = 2
- end
- if i == 0 then
- local s = math.sqrt(m00 - m11 - m22 + 1)
- local recip = 0.5 / s
- return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
- elseif i == 1 then
- local s = math.sqrt(m11 - m22 - m00 + 1)
- local recip = 0.5 / s
- return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
- elseif i == 2 then
- local s = math.sqrt(m22 - m00 - m11 + 1)
- local recip = 0.5 / s
- return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
- end
- end
- end
- function QuaternionToCFrame(px, py, pz, x, y, z, w)
- local xs, ys, zs = x + x, y + y, z + z
- local wx, wy, wz = w * xs, w * ys, w * zs
- local xx = x * xs
- local xy = x * ys
- local xz = x * zs
- local yy = y * ys
- local yz = y * zs
- local zz = z * zs
- 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))
- end
- function QuaternionSlerp(a, b, t)
- local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
- local startInterp, finishInterp
- if cosTheta >= 1.0E-4 then
- if 1 - cosTheta > 1.0E-4 then
- local theta = math.acos(cosTheta)
- local invSinTheta = 1 / Sin(theta)
- startInterp = Sin((1 - t) * theta) * invSinTheta
- finishInterp = Sin(t * theta) * invSinTheta
- else
- startInterp = 1 - t
- finishInterp = t
- end
- elseif 1 + cosTheta > 1.0E-4 then
- local theta = math.acos(-cosTheta)
- local invSinTheta = 1 / Sin(theta)
- startInterp = Sin((t - 1) * theta) * invSinTheta
- finishInterp = Sin(t * theta) * invSinTheta
- else
- startInterp = t - 1
- finishInterp = t
- end
- 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
- end
- function rayCast(Position, Direction, Range, Ignore)
- return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
- end
- local RbxUtility = LoadLibrary("RbxUtility")
- local Create = RbxUtility.Create
- local ArtificialHB = Instance.new("BindableEvent", script)
- ArtificialHB.Name = "Heartbeat"
- script:WaitForChild("Heartbeat")
- local tf = 0
- local allowframeloss = false
- local tossremainder = false
- local lastframe = tick()
- local frame = 1/60
- ArtificialHB:Fire()
- game:GetService("RunService").Heartbeat:connect(function(s, p)
- tf = tf + s
- if tf >= frame then
- if allowframeloss then
- script.Heartbeat:Fire()
- lastframe = tick()
- else
- for i = 1, math.floor(tf / frame) do
- ArtificialHB:Fire()
- end
- lastframe = tick()
- end
- if tossremainder then
- tf = 0
- else
- tf = tf - frame * math.floor(tf / frame)
- end
- end
- end)
- function swait(num)
- if num == 0 or num == nil then
- ArtificialHB.Event:wait()
- else
- for i = 0, num do
- ArtificialHB.Event:wait()
- end
- end
- end
- -------------------------------------------------------
- --Start Damage Function--
- -------------------------------------------------------
- function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
- if hit.Parent == nil then
- return
- end
- local h = hit.Parent:FindFirstChildOfClass("Humanoid")
- for _, v in pairs(hit.Parent:children()) do
- if v:IsA("Humanoid") then
- h = v
- end
- end
- if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
- hit.Parent:FindFirstChild("Head"):BreakJoints()
- end
- if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
- if hit.Parent:findFirstChild("DebounceHit") ~= nil then
- if hit.Parent.DebounceHit.Value == true then
- return
- end
- end
- if insta == true then
- hit.Parent:FindFirstChild("Head"):BreakJoints()
- end
- local c = Create("ObjectValue"){
- Name = "creator",
- Value = game:service("Players").LocalPlayer,
- Parent = h,
- }
- game:GetService("Debris"):AddItem(c, .5)
- if HitSound ~= nil and HitPitch ~= nil then
- CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
- end
- local Damage = math.random(minim, maxim)
- local blocked = false
- local block = hit.Parent:findFirstChild("Block")
- if block ~= nil then
- if block.className == "IntValue" then
- if block.Value > 0 then
- blocked = true
- block.Value = block.Value - 1
- print(block.Value)
- end
- end
- end
- if blocked == false then
- h.Health = h.Health - Damage
- ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
- else
- h.Health = h.Health - (Damage / 2)
- ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
- end
- if Type == "Knockdown" then
- local hum = hit.Parent.Humanoid
- hum.PlatformStand = true
- coroutine.resume(coroutine.create(function(HHumanoid)
- swait(1)
- HHumanoid.PlatformStand = false
- end), hum)
- local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
- local bodvol = Create("BodyVelocity"){
- velocity = angle * knockback,
- P = 5000,
- maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
- Parent = hit,
- }
- local rl = Create("BodyAngularVelocity"){
- P = 3000,
- maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
- angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
- Parent = hit,
- }
- game:GetService("Debris"):AddItem(bodvol, .5)
- game:GetService("Debris"):AddItem(rl, .5)
- elseif Type == "Normal" then
- local vp = Create("BodyVelocity"){
- P = 500,
- maxForce = Vector3.new(math.huge, 0, math.huge),
- velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
- }
- if knockback > 0 then
- vp.Parent = hit.Parent.Torso
- end
- game:GetService("Debris"):AddItem(vp, .5)
- elseif Type == "Up" then
- local bodyVelocity = Create("BodyVelocity"){
- velocity = Vector3.new(0, 20, 0),
- P = 5000,
- maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
- Parent = hit,
- }
- game:GetService("Debris"):AddItem(bodyVelocity, .5)
- elseif Type == "DarkUp" then
- coroutine.resume(coroutine.create(function()
- for i = 0, 1, 0.1 do
- swait()
- Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
- end
- end))
- local bodyVelocity = Create("BodyVelocity"){
- velocity = Vector3.new(0, 20, 0),
- P = 5000,
- maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
- Parent = hit,
- }
- game:GetService("Debris"):AddItem(bodyVelocity, 1)
- elseif Type == "Snare" then
- local bp = Create("BodyPosition"){
- P = 2000,
- D = 100,
- maxForce = Vector3.new(math.huge, math.huge, math.huge),
- position = hit.Parent.Torso.Position,
- Parent = hit.Parent.Torso,
- }
- game:GetService("Debris"):AddItem(bp, 1)
- elseif Type == "Freeze" then
- local BodPos = Create("BodyPosition"){
- P = 50000,
- D = 1000,
- maxForce = Vector3.new(math.huge, math.huge, math.huge),
- position = hit.Parent.Torso.Position,
- Parent = hit.Parent.Torso,
- }
- local BodGy = Create("BodyGyro") {
- maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
- P = 20e+003,
- Parent = hit.Parent.Torso,
- cframe = hit.Parent.Torso.CFrame,
- }
- hit.Parent.Torso.Anchored = true
- coroutine.resume(coroutine.create(function(Part)
- swait(1.5)
- Part.Anchored = false
- end), hit.Parent.Torso)
- game:GetService("Debris"):AddItem(BodPos, 3)
- game:GetService("Debris"):AddItem(BodGy, 3)
- end
- local debounce = Create("BoolValue"){
- Name = "DebounceHit",
- Parent = hit.Parent,
- Value = true,
- }
- game:GetService("Debris"):AddItem(debounce, Delay)
- c = Create("ObjectValue"){
- Name = "creator",
- Value = Player,
- Parent = h,
- }
- game:GetService("Debris"):AddItem(c, .5)
- end
- end
- -------------------------------------------------------
- --End Damage Function--
- -------------------------------------------------------
- -------------------------------------------------------
- --Start Damage Function Customization--
- -------------------------------------------------------
- function ShowDamage(Pos, Text, Time, Color)
- local Rate = (1 / 30)
- local Pos = (Pos or Vector3.new(0, 0, 0))
- local Text = (Text or "")
- local Time = (Time or 2)
- local Color = (Color or Color3.new(1, 0, 1))
- local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
- EffectPart.Anchored = true
- local BillboardGui = Create("BillboardGui"){
- Size = UDim2.new(3, 0, 3, 0),
- Adornee = EffectPart,
- Parent = EffectPart,
- }
- local TextLabel = Create("TextLabel"){
- BackgroundTransparency = 1,
- Size = UDim2.new(1, 0, 1, 0),
- Text = Text,
- Font = "Bodoni",
- TextColor3 = Color,
- TextScaled = true,
- TextStrokeColor3 = Color3.fromRGB(0,0,0),
- Parent = BillboardGui,
- }
- game.Debris:AddItem(EffectPart, (Time))
- EffectPart.Parent = game:GetService("Workspace")
- delay(0, function()
- local Frames = (Time / Rate)
- for Frame = 1, Frames do
- wait(Rate)
- local Percent = (Frame / Frames)
- EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
- TextLabel.TextTransparency = Percent
- end
- if EffectPart and EffectPart.Parent then
- EffectPart:Destroy()
- end
- end)
- end
- -------------------------------------------------------
- --End Damage Function Customization--
- -------------------------------------------------------
- function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
- for _, c in pairs(workspace:children()) do
- local hum = c:findFirstChild("Humanoid")
- if hum ~= nil then
- local head = c:findFirstChild("Head")
- if head ~= nil then
- local targ = head.Position - Part.Position
- local mag = targ.magnitude
- if magni >= mag and c.Name ~= plr.Name then
- Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=0", 1.2)
- end
- end
- end
- end
- end
- CFuncs = {
- Part = {
- Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
- local Part = Create("Part")({
- Parent = Parent,
- Reflectance = Reflectance,
- Transparency = Transparency,
- CanCollide = false,
- Locked = true,
- BrickColor = BrickColor.new(tostring(BColor)),
- Name = Name,
- Size = Size,
- Material = Material
- })
- RemoveOutlines(Part)
- return Part
- end
- },
- Mesh = {
- Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
- local Msh = Create(Mesh)({
- Parent = Part,
- Offset = OffSet,
- Scale = Scale
- })
- if Mesh == "SpecialMesh" then
- Msh.MeshType = MeshType
- Msh.MeshId = MeshId
- end
- return Msh
- end
- },
- Mesh = {
- Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
- local Msh = Create(Mesh)({
- Parent = Part,
- Offset = OffSet,
- Scale = Scale
- })
- if Mesh == "SpecialMesh" then
- Msh.MeshType = MeshType
- Msh.MeshId = MeshId
- end
- return Msh
- end
- },
- Weld = {
- Create = function(Parent, Part0, Part1, C0, C1)
- local Weld = Create("Weld")({
- Parent = Parent,
- Part0 = Part0,
- Part1 = Part1,
- C0 = C0,
- C1 = C1
- })
- return Weld
- end
- },
- Sound = {
- Create = function(id, par, vol, pit)
- coroutine.resume(coroutine.create(function()
- local S = Create("Sound")({
- Volume = vol,
- Pitch = pit or 1,
- SoundId = id,
- Parent = par or workspace
- })
- wait()
- S:play()
- game:GetService("Debris"):AddItem(S, 6)
- end))
- end
- },
- ParticleEmitter = {
- Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
- local fp = Create("ParticleEmitter")({
- Parent = Parent,
- Color = ColorSequence.new(Color1, Color2),
- LightEmission = LightEmission,
- Size = Size,
- Texture = Texture,
- Transparency = Transparency,
- ZOffset = ZOffset,
- Acceleration = Accel,
- Drag = Drag,
- LockedToPart = LockedToPart,
- VelocityInheritance = VelocityInheritance,
- EmissionDirection = EmissionDirection,
- Enabled = Enabled,
- Lifetime = LifeTime,
- Rate = Rate,
- Rotation = Rotation,
- RotSpeed = RotSpeed,
- Speed = Speed,
- VelocitySpread = VelocitySpread
- })
- return fp
- end
- }
- }
- function RemoveOutlines(part)
- part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
- end
- function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
- local Part = Create("Part")({
- formFactor = FormFactor,
- Parent = Parent,
- Reflectance = Reflectance,
- Transparency = Transparency,
- CanCollide = false,
- Locked = true,
- BrickColor = BrickColor.new(tostring(BColor)),
- Name = Name,
- Size = Size,
- Material = Material
- })
- RemoveOutlines(Part)
- return Part
- end
- function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
- local Msh = Create(Mesh)({
- Parent = Part,
- Offset = OffSet,
- Scale = Scale
- })
- if Mesh == "SpecialMesh" then
- Msh.MeshType = MeshType
- Msh.MeshId = MeshId
- end
- return Msh
- end
- function CreateWeld(Parent, Part0, Part1, C0, C1)
- local Weld = Create("Weld")({
- Parent = Parent,
- Part0 = Part0,
- Part1 = Part1,
- C0 = C0,
- C1 = C1
- })
- return Weld
- end
- -------------------------------------------------------
- --Start Effect Function--
- -------------------------------------------------------
- EffectModel = Instance.new("Model", char)
- Effects = {
- Block = {
- Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
- local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
- prt.Anchored = true
- prt.CFrame = cframe
- local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 10)
- if Type == 1 or Type == nil then
- table.insert(Effects, {
- prt,
- "Block1",
- delay,
- x3,
- y3,
- z3,
- msh
- })
- elseif Type == 2 then
- table.insert(Effects, {
- prt,
- "Block2",
- delay,
- x3,
- y3,
- z3,
- msh
- })
- else
- table.insert(Effects, {
- prt,
- "Block3",
- delay,
- x3,
- y3,
- z3,
- msh
- })
- end
- end
- },
- Sphere = {
- Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
- local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
- prt.Anchored = true
- prt.CFrame = cframe
- local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 10)
- table.insert(Effects, {
- prt,
- "Cylinder",
- delay,
- x3,
- y3,
- z3,
- msh
- })
- end
- },
- Cylinder = {
- Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
- local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
- prt.Anchored = true
- prt.CFrame = cframe
- local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 10)
- table.insert(Effects, {
- prt,
- "Cylinder",
- delay,
- x3,
- y3,
- z3,
- msh
- })
- end
- },
- Wave = {
- Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
- local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
- prt.Anchored = true
- prt.CFrame = cframe
- local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
- game:GetService("Debris"):AddItem(prt, 10)
- table.insert(Effects, {
- prt,
- "Cylinder",
- delay,
- x3 / 60,
- y3 / 60,
- z3 / 60,
- msh
- })
- end
- },
- Ring = {
- Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
- local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
- prt.Anchored = true
- prt.CFrame = cframe
- local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 10)
- table.insert(Effects, {
- prt,
- "Cylinder",
- delay,
- x3,
- y3,
- z3,
- msh
- })
- end
- },
- Break = {
- Create = function(brickcolor, cframe, x1, y1, z1)
- local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
- prt.Anchored = true
- prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
- local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- local num = math.random(10, 50) / 1000
- game:GetService("Debris"):AddItem(prt, 10)
- table.insert(Effects, {
- prt,
- "Shatter",
- num,
- prt.CFrame,
- math.random() - math.random(),
- 0,
- math.random(50, 100) / 100
- })
- end
- },
- Spiral = {
- Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
- local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
- prt.Anchored = true
- prt.CFrame = cframe
- local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 10)
- table.insert(Effects, {
- prt,
- "Cylinder",
- delay,
- x3,
- y3,
- z3,
- msh
- })
- end
- },
- Push = {
- Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
- local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
- prt.Anchored = true
- prt.CFrame = cframe
- local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 10)
- table.insert(Effects, {
- prt,
- "Cylinder",
- delay,
- x3,
- y3,
- z3,
- msh
- })
- end
- }
- }
- function part(formfactor ,parent, reflectance, transparency, brickcolor, name, size)
- local fp = IT("Part")
- fp.formFactor = formfactor
- fp.Parent = parent
- fp.Reflectance = reflectance
- fp.Transparency = transparency
- fp.CanCollide = false
- fp.Locked = true
- fp.BrickColor = brickcolor
- fp.Name = name
- fp.Size = size
- fp.Position = tors.Position
- RemoveOutlines(fp)
- fp.Material = "SmoothPlastic"
- fp:BreakJoints()
- return fp
- end
- function mesh(Mesh,part,meshtype,meshid,offset,scale)
- local mesh = IT(Mesh)
- mesh.Parent = part
- if Mesh == "SpecialMesh" then
- mesh.MeshType = meshtype
- if meshid ~= "nil" then
- mesh.MeshId = "http://www.roblox.com/asset/?id="..meshid
- end
- end
- mesh.Offset = offset
- mesh.Scale = scale
- return mesh
- end
- function Magic(bonuspeed, type, pos, scale, value, color, MType)
- local type = type
- local rng = Instance.new("Part", char)
- rng.Anchored = true
- rng.BrickColor = color
- rng.CanCollide = false
- rng.FormFactor = 3
- rng.Name = "Ring"
- rng.Material = "Neon"
- rng.Size = Vector3.new(1, 1, 1)
- rng.Transparency = 0
- rng.TopSurface = 0
- rng.BottomSurface = 0
- rng.CFrame = pos
- local rngm = Instance.new("SpecialMesh", rng)
- rngm.MeshType = MType
- rngm.Scale = scale
- local scaler2 = 1
- if type == "Add" then
- scaler2 = 1 * value
- elseif type == "Divide" then
- scaler2 = 1 / value
- end
- coroutine.resume(coroutine.create(function()
- for i = 0, 10 / bonuspeed, 0.1 do
- swait()
- if type == "Add" then
- scaler2 = scaler2 - 0.01 * value / bonuspeed
- elseif type == "Divide" then
- scaler2 = scaler2 - 0.01 / value * bonuspeed
- end
- rng.Transparency = rng.Transparency + 0.01 * bonuspeed
- rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, scaler2 * bonuspeed)
- end
- rng:Destroy()
- end))
- end
- function Eviscerate(dude)
- if dude.Name ~= char then
- local bgf = IT("BodyGyro", dude.Head)
- bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
- local val = IT("BoolValue", dude)
- val.Name = "IsHit"
- local ds = coroutine.wrap(function()
- dude:WaitForChild("Head"):BreakJoints()
- wait(0.5)
- target = nil
- coroutine.resume(coroutine.create(function()
- for i, v in pairs(dude:GetChildren()) do
- if v:IsA("Accessory") then
- v:Destroy()
- end
- if v:IsA("Humanoid") then
- v:Destroy()
- end
- if v:IsA("CharacterMesh") then
- v:Destroy()
- end
- if v:IsA("Model") then
- v:Destroy()
- end
- if v:IsA("Part") or v:IsA("MeshPart") then
- for x, o in pairs(v:GetChildren()) do
- if o:IsA("Decal") then
- o:Destroy()
- end
- end
- coroutine.resume(coroutine.create(function()
- v.Material = "Neon"
- v.CanCollide = false
- local PartEmmit1 = IT("ParticleEmitter", v)
- PartEmmit1.LightEmission = 1
- PartEmmit1.Texture = "rbxassetid://284205403"
- PartEmmit1.Color = ColorSequence.new(maincolor.Color)
- PartEmmit1.Rate = 150
- PartEmmit1.Lifetime = NumberRange.new(1)
- PartEmmit1.Size = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 0.75, 0),
- NumberSequenceKeypoint.new(1, 0, 0)
- })
- PartEmmit1.Transparency = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 0, 0),
- NumberSequenceKeypoint.new(1, 1, 0)
- })
- PartEmmit1.Speed = NumberRange.new(0, 0)
- PartEmmit1.VelocitySpread = 30000
- PartEmmit1.Rotation = NumberRange.new(-500, 500)
- PartEmmit1.RotSpeed = NumberRange.new(-500, 500)
- local BodPoss = IT("BodyPosition", v)
- BodPoss.P = 3000
- BodPoss.D = 1000
- BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
- BodPoss.position = v.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
- v.Color = maincolor.Color
- coroutine.resume(coroutine.create(function()
- for i = 0, 49 do
- swait(1)
- v.Transparency = v.Transparency + 0.08
- end
- wait(0.5)
- PartEmmit1.Enabled = false
- wait(3)
- v:Destroy()
- dude:Destroy()
- end))
- end))
- end
- end
- end))
- end)
- ds()
- end
- end
- function FindNearestHead(Position, Distance, SinglePlayer)
- if SinglePlayer then
- return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude
- end
- local List = {}
- for i, v in pairs(workspace:GetChildren()) do
- if v:IsA("Model") and v:findFirstChild("Head") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then
- table.insert(List, v)
- end
- end
- return List
- end
- function Aura(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos, MType)
- local type = type
- local rng = Instance.new("Part", char)
- rng.Anchored = true
- rng.BrickColor = color
- rng.CanCollide = false
- rng.FormFactor = 3
- rng.Name = "Ring"
- rng.Material = "Neon"
- rng.Size = Vector3.new(1, 1, 1)
- rng.Transparency = 0
- rng.TopSurface = 0
- rng.BottomSurface = 0
- rng.CFrame = pos
- rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos
- local rngm = Instance.new("SpecialMesh", rng)
- rngm.MeshType = MType
- rngm.Scale = Vector3.new(x1, y1, z1)
- local scaler2 = 1
- local speeder = FastSpeed
- if type == "Add" then
- scaler2 = 1 * value
- elseif type == "Divide" then
- scaler2 = 1 / value
- end
- coroutine.resume(coroutine.create(function()
- for i = 0, 10 / bonuspeed, 0.1 do
- swait()
- if type == "Add" then
- scaler2 = scaler2 - 0.01 * value / bonuspeed
- elseif type == "Divide" then
- scaler2 = scaler2 - 0.01 / value * bonuspeed
- end
- speeder = speeder - 0.01 * FastSpeed * bonuspeed
- rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed
- rng.Transparency = rng.Transparency + 0.01 * bonuspeed
- rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0)
- end
- rng:Destroy()
- end))
- end
- function SoulSteal(dude)
- if dude.Name ~= char then
- local bgf = IT("BodyGyro", dude.Head)
- bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
- local val = IT("BoolValue", dude)
- val.Name = "IsHit"
- local torso = (dude:FindFirstChild'Head' or dude:FindFirstChild'Torso' or dude:FindFirstChild'UpperTorso' or dude:FindFirstChild'LowerTorso' or dude:FindFirstChild'HumanoidRootPart')
- local soulst = coroutine.wrap(function()
- local soul = Instance.new("Part",dude)
- soul.Size = Vector3.new(1,1,1)
- soul.CanCollide = false
- soul.Anchored = false
- soul.Position = torso.Position
- soul.Transparency = 1
- local PartEmmit1 = IT("ParticleEmitter", soul)
- PartEmmit1.LightEmission = 1
- PartEmmit1.Texture = "rbxassetid://569507414"
- PartEmmit1.Color = ColorSequence.new(maincolor.Color)
- PartEmmit1.Rate = 250
- PartEmmit1.Lifetime = NumberRange.new(1.6)
- PartEmmit1.Size = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 1, 0),
- NumberSequenceKeypoint.new(1, 0, 0)
- })
- PartEmmit1.Transparency = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 0, 0),
- NumberSequenceKeypoint.new(1, 1, 0)
- })
- PartEmmit1.Speed = NumberRange.new(0, 0)
- PartEmmit1.VelocitySpread = 30000
- PartEmmit1.Rotation = NumberRange.new(-360, 360)
- PartEmmit1.RotSpeed = NumberRange.new(-360, 360)
- local BodPoss = IT("BodyPosition", soul)
- BodPoss.P = 3000
- BodPoss.D = 1000
- BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
- BodPoss.position = torso.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
- wait(1.6)
- soul.Touched:connect(function(hit)
- if hit.Parent == char then
- soul:Destroy()
- end
- end)
- wait(1.2)
- while soul do
- swait()
- PartEmmit1.Color = ColorSequence.new(maincolor.Color)
- BodPoss.Position = tors.Position
- end
- end)
- soulst()
- end
- end
- function FaceMouse()
- local Cam = workspace.CurrentCamera
- return {
- CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
- Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
- }
- end
- -------------------------------------------------------
- --End Effect Function--
- -------------------------------------------------------
- function Cso(ID, PARENT, VOLUME, PITCH)
- local NSound = nil
- coroutine.resume(coroutine.create(function()
- NSound = IT("Sound", PARENT)
- NSound.Volume = VOLUME
- NSound.Pitch = PITCH
- NSound.SoundId = "http://www.roblox.com/asset/?id="..ID
- swait()
- NSound:play()
- game:GetService("Debris"):AddItem(NSound, 10)
- end))
- return NSound
- end
- local BC = char["Body Colors"]
- BC.HeadColor = BrickColor.new("Bright yellow")
- BC.LeftArmColor = BrickColor.new("Bright yellow")
- BC.LeftLegColor = BrickColor.new("Dark green")
- BC.RightArmColor = BrickColor.new("Bright yellow")
- BC.RightLegColor = BrickColor.new("Dark green")
- BC.TorsoColor = BrickColor.new("Bright blue")
- function HitboxFunction(Pose, lifetime, siz1, siz2, siz3, Radie, Min, Max, kb, atype)
- local Hitboxpart = Instance.new("Part", EffectModel)
- RemoveOutlines(Hitboxpart)
- Hitboxpart.Size = Vector3.new(siz1, siz2, siz3)
- Hitboxpart.CanCollide = false
- Hitboxpart.Transparency = 1
- Hitboxpart.Anchored = true
- Hitboxpart.CFrame = Pose
- game:GetService("Debris"):AddItem(Hitboxpart, lifetime)
- MagniDamage(Hitboxpart, Radie, Min, Max, kb, atype)
- end
- -------------------------------------------------------
- --End Important Functions--
- -------------------------------------------------------
- -------------------------------------------------------
- --Start Music Option--
- -------------------------------------------------------
- local Music = Instance.new("Sound",hed)
- Music.Volume = 5
- Music.SoundId = "rbxassetid://1269180265"
- Music.Looped = true
- Music.Pitch = 1 --Pitcher
- Music:Play()
- -------------------------------------------------------
- --End Music Option--
- -------------------------------------------------------
- -------------------------------------------------------
- --Start Attacks N Stuff--
- -------------------------------------------------------
- local sine=0
- -------------------------------------------------------
- --End Attacks N Stuff--
- -------------------------------------------------------
- mouse.KeyDown:connect(function(key)
- if attack == false then
- if key == 'e' then
- attack = true
- hed.face.Texture = "http://www.roblox.com/asset/?id=2546735352"
- Cso("1881610844",hed,2.5,1)
- Cso("12221984",tors,5,1)
- local Ex = Instance.new("Explosion")
- Ex.Parent = tors
- Ex.Position = tors.Position
- end
- end
- end)
- -------------------------------------------------------
- --Start Animations--
- -------------------------------------------------------
- local equipped = false
- local idle = 0
- local change = 1
- local val = 0
- local toim = 0
- local idleanim = 0.4
- hum.WalkSpeed = 35
- hum.Animator.Parent = nil
- while true do
- swait()
- sine = sine + change
- local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude
- local velderp = root.Velocity.y
- hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4, char)
- if equipped == true or equipped == false then
- if attack == false then
- idle = idle + 1
- else
- idle = 0
- end
- local exactVel = CFrame.new(root.CFrame:vectorToObjectSpace(root.Velocity))-- for footplanting
- --you g00b my leg animations are complicated :joy:
- if 1 < root.Velocity.y and hitfloor == nil then
- Anim = "Jump"
- if attack == false then
- rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(20), Rad(0), Rad(0)), 0.15)
- tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 + -2.8 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
- RH.C0 = clerp(RH.C0, CF(1, -0.3 - 0.1 * Cos(sine / 20), -.5) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
- LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
- RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.02 * Sin(sine / 20), 0) * angles(Rad(-20), Rad(-.6), Rad(10 + 4.5 * Sin(sine / 20))), 0.1)
- LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.02 * Sin(sine / 20), 0) * angles(Rad(-20), Rad(-.6), Rad(-10 - 4.5 * Sin(sine / 20))), 0.1)
- end
- elseif -1 > root.Velocity.y and hitfloor == nil then
- Anim = "Fall"
- if attack == false then
- rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(40), Rad(0), Rad(0)), 0.15)
- tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 + -2.8 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
- RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0) * RHCF * angles(Rad(-30), Rad(0), Rad(-30)), 0.15)
- LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0) * LHCF * angles(Rad(-30), Rad(0), Rad(30)), 0.15)
- RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.02 * Sin(sine / 20), 0) * angles(Rad(-20), Rad(-.6), Rad(170 + 4.5 * Sin(sine / 20))), 0.1)
- LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.02 * Sin(sine / 20), 0) * angles(Rad(-20), Rad(-.6), Rad(-170 - 4.5 * Sin(sine / 20))), 0.1)
- end
- elseif torvel < 1 and hitfloor ~= nil then
- Anim = "Idle"
- change = .5
- if attack == false then
- rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.15)
- tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 + -2.8 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
- RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0) * RHCF * angles(Rad(-2.5), Rad(0), Rad(-20)), 0.15)
- LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0) * LHCF * angles(Rad(-2.5), Rad(0), Rad(20)), 0.15)
- RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.02 * Sin(sine / 20), 0) * angles(Rad(-20), Rad(-.6), Rad(10 + 4.5 * Sin(sine / 20))), 0.1)
- LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.02 * Sin(sine / 20), 0) * angles(Rad(-20), Rad(-.6), Rad(-10 - 4.5 * Sin(sine / 20))), 0.1)
- end
- elseif tors.Velocity.magnitude < 50 and hitfloor ~= nil then
- Anim = "Walk"
- change = .9
- if attack == false then
- rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.375 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7) * angles(Rad(-45 - 2.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(8 * Cos(sine / 7))), 0.15)
- tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-25 + -2.5 * Sin(sine / 7)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3)
- RH.C0 = clerp(RH.C0, CF(1, -0.8, 0) * angles(Rad(-75 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 3 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
- LH.C0 = clerp(LH.C0, CF(-1, -0.8, 0) * angles(Rad(75 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 3 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
- RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 7), 0) * angles(Rad(-110), Rad(0), Rad(10)), 0.1)
- LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 7), 0) * angles(Rad(-110), Rad(0), Rad(-10)), 0.1)
- end
- end
- end
- if 0 < #Effects then
- for e = 1, #Effects do
- if Effects[e] ~= nil then
- local Thing = Effects[e]
- if Thing ~= nil then
- local Part = Thing[1]
- local Mode = Thing[2]
- local Delay = Thing[3]
- local IncX = Thing[4]
- local IncY = Thing[5]
- local IncZ = Thing[6]
- if 1 >= Thing[1].Transparency then
- if Thing[2] == "Block1" then
- Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
- local Mesh = Thing[1].Mesh
- Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- elseif Thing[2] == "Block2" then
- Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0)
- local Mesh = Thing[7]
- Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- elseif Thing[2] == "Block3" then
- 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)
- local Mesh = Thing[7]
- Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- elseif Thing[2] == "Cylinder" then
- local Mesh = Thing[1].Mesh
- Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- elseif Thing[2] == "Blood" then
- local Mesh = Thing[7]
- Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
- Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- elseif Thing[2] == "Elec" then
- local Mesh = Thing[1].Mesh
- Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- elseif Thing[2] == "Disappear" then
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- elseif Thing[2] == "Shatter" then
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
- Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
- Thing[6] = Thing[6] + Thing[5]
- end
- else
- Part.Parent = nil
- table.remove(Effects, e)
- end
- end
- end
- end
- end
- end
- -------------------------------------------------------
- --End Animations And Script--
- -------------------------------------------------------
- end)
- end
- coroutine.resume(coroutine.create(SCRIPT_WXRO81_FAKESCRIPT))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement