SHOW:
|
|
- or go back to the newest paste.
| 1 | --No name needed-- | |
| 2 | ||
| 3 | - | -----No names needed----- |
| 3 | + | SnowC = {"Institutional white", "White", "Transparent", "Phosph. White", "Light stone grey"}
|
| 4 | - | local player=game.Players.LocalPlayer |
| 4 | + | me = game.Players.LocalPlayer |
| 5 | - | local char=player.Character |
| 5 | + | char = me.Character |
| 6 | - | repeat wait() until player and char |
| 6 | + | Modelname = "SoulBall" |
| 7 | - | local torso=char.Torso |
| 7 | + | dmg = 15 |
| 8 | - | local head=char.Head |
| 8 | + | Dist = 2.5 |
| 9 | - | local human=char.Humanoid |
| 9 | + | Surfaces = {"FrontSurface", "BackSurface", "TopSurface", "BottomSurface", "LeftSurface", "RightSurface"}
|
| 10 | - | local arm={Left=char["Left Arm"], Right=char["Right Arm"]}
|
| 10 | + | snowname = "Snow" |
| 11 | - | local leg={Left=char["Left Leg"], Right=char["Right Leg"]}
|
| 11 | + | ball = nil |
| 12 | - | local c=function(f) coroutine.resume(coroutine.create(f)) end |
| 12 | + | necko = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) |
| 13 | - | local p=function(f) pcall(f) end |
| 13 | + | able = true |
| 14 | - | local add={
|
| 14 | + | Modes = {"Throw", "Collect"}
|
| 15 | - | Part=function(par, a, c, col, t, s, cf, ms) |
| 15 | + | MaxBallzies = 10 |
| 16 | - | local p=Instance.new("Part", par) pcall(function() p.TopSurface="Smooth" p.BottomSurface="Smooth" p.formFactor="Custom" p.Anchored=a p.CanCollide=c p.BrickColor=BrickColor.new(col) p.Transparency=t p.Size=s p.CFrame=cf or CFrame.new() end)
|
| 16 | + | Ballzies = 1 |
| 17 | - | local m=Instance.new("BlockMesh", p) pcall(function() m.Scale=ms or Vector3.new(1, 1, 1) end)
|
| 17 | + | Order = 1 |
| 18 | - | return p |
| 18 | + | Mode = Modes[Order] |
| 19 | ||
| 20 | - | Wedge=function(par, a, c, col, t, s, cf, ms) |
| 20 | + | Add = {
|
| 21 | - | local p=Instance.new("WedgePart", par) pcall(function() p.TopSurface="Smooth" p.BottomSurface="Smooth" p.formFactor="Custom" p.Anchored=a p.CanCollide=c p.BrickColor=BrickColor.new(col) p.Transparency=t p.Size=s p.CFrame=cf or CFrame.new() end)
|
| 21 | + | Sphere = function(P) |
| 22 | - | local m=Instance.new("SpecialMesh", p) pcall(function() m.Scale=ms or Vector3.new(1, 1, 1) m.MeshType="Wedge" end)
|
| 22 | + | local m = Instance.new("SpecialMesh",P)
|
| 23 | - | return p |
| 23 | + | m.MeshType = "Sphere" |
| 24 | return m | |
| 25 | - | Gui=function(ins, par, bc, bg, tc, fs, text, t, s, pos) |
| 25 | + | |
| 26 | - | local g=Instance.new(ins, par) pcall(function() g.BorderColor=BrickColor.new(bc) g.BackgroundColor=BrickColor.new(bg) g.TextColor=BrickColor.new(tc) g.FontSize=fs g.Font="ArialBold" g.Text=text g.Transparency=t g.Size=s g.Position=pos end) |
| 26 | + | BF = function(P) |
| 27 | - | return g |
| 27 | + | local bf = Instance.new("BodyForce",P)
|
| 28 | bf.force = Vector3.new(0, P:GetMass()*187, 0) | |
| 29 | - | Weld=function(par, p1, cf) |
| 29 | + | return bf |
| 30 | - | local w=Instance.new("Weld", par) pcall(function() w.Part0=w.Parent or par w.Part1=p1 w.C1=cf or CFrame.new() end)
|
| 30 | + | |
| 31 | - | return w |
| 31 | + | BP = function(P) |
| 32 | local bp = Instance.new("BodyPosition",P)
| |
| 33 | - | Mesh=function(ins, par, s, of, t) |
| 33 | + | bp.maxForce = Vector3.new(math.huge, 0, math.huge) |
| 34 | - | local m=Instance.new(ins, par) pcall(function() m.Scale=s or Vector3.new() m.Offset=of or Vector3.new() m.MeshType=t end) |
| 34 | + | bp.P = 14000 |
| 35 | return bp | |
| 36 | end, | |
| 37 | - | Sound=function(parent, id, volume, pitch) |
| 37 | + | BG = function(P) |
| 38 | - | local s=Instance.new("Sound", parent) pcall(function() s.SoundId=id s.Volume=volume s.Pitch=pitch end)
|
| 38 | + | local bg = Instance.new("BodyGyro",P)
|
| 39 | - | return s |
| 39 | + | bg.maxTorque = Vector3.new(math.huge, math.huge, math.huge) |
| 40 | bg.P = 8000 | |
| 41 | return bg | |
| 42 | - | local scriptname="Chop-Chop" --Name here |
| 42 | + | |
| 43 | - | pcall(function() player.Backpack[scriptname]:remove() char[scriptname]:remove() char["Objects"]:remove() player.PlayerGui[scriptname]:remove() end) |
| 43 | + | |
| 44 | - | local model=Instance.new("Model", char) model.Name="Objects"
|
| 44 | + | |
| 45 | - | local modelB=Instance.new("Model", char) modelB.Name=scriptname
|
| 45 | + | function GetNoobs(Pos, Mag) |
| 46 | - | local gui=Instance.new("ScreenGui", player.PlayerGui) gui.Name=scriptname
|
| 46 | + | local obs = {}
|
| 47 | - | local bin=Instance.new("HopperBin", player.Backpack) bin.Name=scriptname
|
| 47 | + | for i,v in pairs(workspace:children()) do |
| 48 | - | local skincolor="Really black" |
| 48 | + | if v:IsA("Model") and v ~= char then
|
| 49 | - | local body={}
|
| 49 | + | local t, h = v:findFirstChild("Torso"), v:findFirstChild("Humanoid")
|
| 50 | - | local animate={}
|
| 50 | + | if t ~= nil and h ~= nil then |
| 51 | - | local obj={}
|
| 51 | + | local p = nil |
| 52 | - | --Variables-- |
| 52 | + | local d = Mag |
| 53 | - | local trailDeb=false |
| 53 | + | for a,k in pairs(v:children()) do |
| 54 | - | local hitDeb=false |
| 54 | + | if k:IsA("BasePart") then
|
| 55 | - | local using=false |
| 55 | + | if (k.Position - Pos).magnitude < d then |
| 56 | - | local keyDeb=false |
| 56 | + | p = k |
| 57 | - | local pressing=false |
| 57 | + | d = (k.Position - Pos).magnitude |
| 58 | - | local combo=0 |
| 58 | + | |
| 59 | - | local mana=100 |
| 59 | + | |
| 60 | - | local range=20 |
| 60 | + | |
| 61 | - | local dmg=math.random(10, 25) |
| 61 | + | if p ~= nil then |
| 62 | - | local form=false |
| 62 | + | table.insert(obs, {t, h})
|
| 63 | - | local Forms |
| 63 | + | |
| 64 | - | local pitch=.5 |
| 64 | + | |
| 65 | - | local speed=16 |
| 65 | + | |
| 66 | - | local car |
| 66 | + | |
| 67 | - | local pitch=.8 |
| 67 | + | return obs |
| 68 | - | local Slash=add.Sound(torso, "rbxasset://sounds//swordslash.wav", 1, pitch) |
| 68 | + | |
| 69 | - | local Portal2=add.Sound(torso, "http://roblox.com/asset/?id=10209668", 1, 1) |
| 69 | + | |
| 70 | - | local Charge=add.Sound(torso, "http://www.roblox.com/asset/?id=2101137", 1, .5) |
| 70 | + | function Part(Parent, Anchor, Collide, Tran, Ref, Color, X, Y, Z, Break) |
| 71 | - | local chargeLabel=add.Gui("TextLabel", gui, "Really black", "White", "Really black", "Size14", mana, 0, UDim2.new(0, 200, 0, 20), UDim2.new(0, 0, 0, 100))
|
| 71 | + | local p = Instance.new("Part")
|
| 72 | - | local charge=add.Gui("TextLabel", chargeLabel, "Really black", "Bright blue", "Really black", "Size14", "", 0.5, UDim2.new(1, 0, 1, 0), UDim2.new(0, 0, 0, 0))
|
| 72 | + | p.formFactor = "Custom" |
| 73 | - | local attackLabel=add.Gui("TextLabel", gui, "Really black", "Really black", "White", "Size18", "Festival(Hold(Q))", 0, UDim2.new(0, 150, 0, 50), UDim2.new(0, 0, 0, 150))
|
| 73 | + | p.Anchored = Anchor |
| 74 | - | local attackLabel2=add.Gui("TextLabel", attackLabel, "Really black", "Really black", "White", "Size18", "Charge(F)", 0, UDim2.new(1, 0, 1, 0), UDim2.new(0, 0, 1, 0))
|
| 74 | + | p.CanCollide = Collide |
| 75 | - | local attackLabel3=add.Gui("TextLabel", attackLabel2, "Really black", "Really black", "White", "Size18", "Tornado(E)", 0, UDim2.new(1, 0, 1, 0), UDim2.new(0, 0, 1, 0))
|
| 75 | + | p.Transparency = Tran |
| 76 | - | local attackLabel4=add.Gui("TextLabel", attackLabel3, "Really black", "Really black", "White", "Size18", "ChibiForm(C)", 0, UDim2.new(1, 0, 1, 0), UDim2.new(0, 0, 1, 0))
|
| 76 | + | p.Reflectance = Ref |
| 77 | - | local attackLabel5=add.Gui("TextLabel", attackLabel4, "Really black", "Really black", "White", "Size18", "CarForm(V)", 0, UDim2.new(1, 0, 1, 0), UDim2.new(0, 0, 1, 0))
|
| 77 | + | p.BrickColor = BrickColor.new(Color) |
| 78 | - | function createParts() |
| 78 | + | for _, Surf in pairs(Surfaces) do |
| 79 | - | --==PARTS==-- |
| 79 | + | p[Surf] = "Smooth" |
| 80 | - | body.Head=add.Part(model, false, false, skincolor, 1, Vector3.new(1, 1, 1), nil) |
| 80 | + | |
| 81 | - | body.Torso=add.Part(model, false, false, skincolor, 1, Vector3.new(2, 2, 1), nil) |
| 81 | + | p.Size = Vector3.new(X, Y, Z) |
| 82 | - | body.ArmLeft, body.ArmRight=add.Part(model, false, false, skincolor, 1, Vector3.new(1, 1, 1), nil), add.Part(model, false, false, skincolor, 1, Vector3.new(1, 1, 1), nil) |
| 82 | + | if Break then |
| 83 | - | body.LegLeft, body.LegRight=add.Part(model, false, false, skincolor, 1, Vector3.new(1, 1, 1), nil), add.Part(model, false, false, skincolor, 1, Vector3.new(1, 1, 1), nil) |
| 83 | + | p:BreakJoints() |
| 84 | - | --==WELDS==-- |
| 84 | + | else p:MakeJoints() end |
| 85 | - | body.HeadW=add.Weld(body.Head, body.Torso, CFrame.new(0, 1.5, 0)) |
| 85 | + | p.Parent = Parent |
| 86 | - | body.TorsoW=add.Weld(body.Torso, torso, nil) |
| 86 | + | return p |
| 87 | - | body.ArmLeftW, body.ArmRightW=add.Weld(body.ArmLeft, body.Torso, CFrame.new(-1.5, .5, 0)), add.Weld(body.ArmRight, body.Torso, CFrame.new(1.5, .5, 0)) |
| 87 | + | |
| 88 | - | body.LegLeftW, body.LegRightW=add.Weld(body.LegLeft, body.Torso, CFrame.new(-.5, -1.5, 0)), add.Weld(body.LegRight, body.Torso, CFrame.new(.5, -1.5, 0)) |
| 88 | + | |
| 89 | - | --==WELDS==-- |
| 89 | + | function Weld(p0, p1, x, y, z, a, b, c) |
| 90 | - | add.Weld(body.Head, head, nil) |
| 90 | + | local w = Instance.new("Weld")
|
| 91 | - | add.Weld(arm.Left, body.ArmLeft, CFrame.new(0, -.5, 0)) |
| 91 | + | w.Parent = p0 |
| 92 | - | add.Weld(arm.Right, body.ArmRight, CFrame.new(0, -.5, 0)) |
| 92 | + | w.Part0 = p0 |
| 93 | - | torso["Left Hip"].Part0=torso |
| 93 | + | w.Part1 = p1 |
| 94 | - | torso["Right Hip"].Part0=torso |
| 94 | + | w.C1 = CFrame.new(x,y,z) * CFrame.Angles(a,b,c) |
| 95 | - | --------------------------------------------------------------------------------------- |
| 95 | + | return w |
| 96 | - | animate={
|
| 96 | + | |
| 97 | - | ["Head"]=function(cf) |
| 97 | + | |
| 98 | - | body.HeadW.C1=CFrame.new(0, 1.5, 0)*cf |
| 98 | + | function ComputePos(pos1, pos2) |
| 99 | - | end; |
| 99 | + | local pos3 = Vector3.new(pos2.x, pos1.y, pos2.z) |
| 100 | - | ["Torso"]=function(cf) body.Torso.Transparency=0 torso.Transparency=1 |
| 100 | + | return CFrame.new(pos1, pos3) |
| 101 | - | body.TorsoW.C1=cf |
| 101 | + | |
| 102 | - | c(function() |
| 102 | + | |
| 103 | - | wait(0) |
| 103 | + | for i,v in pairs(char:children()) do |
| 104 | - | body.Torso.Transparency=1 torso.Transparency=0 |
| 104 | + | if v.Name == Modelname then |
| 105 | - | end) |
| 105 | + | v:remove() |
| 106 | - | end; |
| 106 | + | |
| 107 | - | ["ArmLeft"]=function(cf) |
| 107 | + | |
| 108 | - | body.ArmLeftW.C1=CFrame.new(-1.5, .5, 0)*cf |
| 108 | + | |
| 109 | - | end; |
| 109 | + | gui = me.PlayerGui |
| 110 | - | ["ArmRight"]=function(cf) |
| 110 | + | |
| 111 | - | body.ArmRightW.C1=CFrame.new(1.5, .5, 0)*cf |
| 111 | + | for i,v in pairs(gui:children()) do |
| 112 | - | end; |
| 112 | + | if v.Name == "SnowGui" then |
| 113 | - | ["LegLeft"]=function(cf) |
| 113 | + | v:remove() |
| 114 | - | legLeftW=add.Weld(leg.Left, body.LegLeft, CFrame.new(0, -.5, 0)) |
| 114 | + | |
| 115 | - | body.LegLeftW.C1=CFrame.new(-.5, -1.5, 0)*cf |
| 115 | + | |
| 116 | - | c(function() |
| 116 | + | |
| 117 | - | wait(0) |
| 117 | + | sc = Instance.new("ScreenGui")
|
| 118 | - | legLeftW:remove() |
| 118 | + | sc.Name = "SnowGui" |
| 119 | - | end) |
| 119 | + | |
| 120 | - | end; |
| 120 | + | mainframe = Instance.new("Frame",sc)
|
| 121 | - | ["LegRight"]=function(cf) |
| 121 | + | mainframe.Size = UDim2.new(0,300,0,40) |
| 122 | - | legRightW=add.Weld(leg.Right, body.LegRight, CFrame.new(0, -.5, 0)) |
| 122 | + | mainframe.Position = UDim2.new(0.5, -150, 0, 2) |
| 123 | - | body.LegRightW.C1=CFrame.new(.5, -1.5, 0)*cf |
| 123 | + | mainframe.BackgroundTransparency = 0.3 |
| 124 | - | c(function() |
| 124 | + | mainframe.BackgroundColor3 = Color3.new(0.6, 0.6, 0.85) |
| 125 | - | wait(0) |
| 125 | + | |
| 126 | - | legRightW:remove() |
| 126 | + | mo = Instance.new("TextLabel",mainframe)
|
| 127 | - | end) |
| 127 | + | mo.Text = Mode |
| 128 | - | end; |
| 128 | + | mo.FontSize = "Size14" |
| 129 | - | } |
| 129 | + | mo.BackgroundColor3 = Color3.new(0.8, 0.8, 1) |
| 130 | - | --==Objects==-- |
| 130 | + | mo.TextColor3 = Color3.new(0.2, 0.2, 0.5) |
| 131 | mo.Size = UDim2.new(0, 180, 0, 32) | |
| 132 | - | function removeParts() |
| 132 | + | mo.Position = UDim2.new(0, 4, 0, 4) |
| 133 | - | p(function() |
| 133 | + | mo.BackgroundTransparency = 0.3 |
| 134 | - | if torso then |
| 134 | + | |
| 135 | - | torso["Left Hip"].Part0=torso |
| 135 | + | ma = Instance.new("TextLabel",mainframe)
|
| 136 | - | torso["Right Hip"].Part0=torso |
| 136 | + | ma.Text = Ballzies.."/"..MaxBallzies |
| 137 | ma.FontSize = "Size14" | |
| 138 | - | for i, v in pairs(model:children()) do v:remove() end for i, v in pairs(modelB:children()) do v:remove() end for i, v in pairs(char:children()) do v.Transparency=0 end |
| 138 | + | ma.BackgroundColor3 = Color3.new(0.8, 0.8, 1) |
| 139 | ma.TextColor3 = Color3.new(0.2, 0.2, 0.5) | |
| 140 | - | torso.Transparency=0 |
| 140 | + | ma.Size = UDim2.new(0, 108, 0, 32) |
| 141 | ma.Position = UDim2.new(0, 188, 0, 4) | |
| 142 | ma.BackgroundTransparency = 0.3 | |
| 143 | - | function hit(h) |
| 143 | + | |
| 144 | - | if using==true then |
| 144 | + | function CheckBallzies() |
| 145 | - | if h.Parent~=char and h.Parent:findFirstChild("Humanoid") and hitDeb==false then hitDeb=true
|
| 145 | + | if Ballzies > MaxBallzies then |
| 146 | - | local hHuman=h.Parent:findFirstChild("Humanoid")
|
| 146 | + | Ballzies = MaxBallzies |
| 147 | - | hHuman.Health=hHuman.Health-dmg |
| 147 | + | elseif Ballzies < 0 then |
| 148 | - | local fakeM=Instance.new("Model", workspace) fakeM.Name=dmg
|
| 148 | + | Ballzies = 0 |
| 149 | - | local fakeH=Instance.new("Humanoid", fakeM) fakeH.MaxHealth=0 fakeH.Health=0
|
| 149 | + | |
| 150 | - | local effect=add.Part(fakeM, false, false, "Bright red", 0, Vector3.new(1, 1, 1), h.CFrame) effect.Name="Head" |
| 150 | + | ma.Text = Ballzies.."/"..MaxBallzies |
| 151 | - | local fakeMesh=add.Mesh("CylinderMesh", effect, Vector3.new(1, .5, 1), nil, nil)
|
| 151 | + | |
| 152 | - | local bp=Instance.new("BodyPosition", effect) bp.maxForce=Vector3.new(math.huge, math.huge, math.huge) bp.position=h.Position+Vector3.new(0, 4, 0)
|
| 152 | + | |
| 153 | - | game.Debris:addItem(fakeM, 2) |
| 153 | + | sc.Parent = gui |
| 154 | - | wait(.5) |
| 154 | + | |
| 155 | - | hitDeb=false |
| 155 | + | torso = char.Torso |
| 156 | neck = torso.Neck | |
| 157 | hum = char.Humanoid | |
| 158 | Rarm = char["Right Arm"] | |
| 159 | - | function running() |
| 159 | + | Larm = char["Left Arm"] |
| 160 | - | if form==false then speed=16 |
| 160 | + | Rleg = char["Right Leg"] |
| 161 | - | animate.Torso(CFrame.new()) |
| 161 | + | Lleg = char["Left Leg"] |
| 162 | - | animate.Head(CFrame.new()) |
| 162 | + | |
| 163 | - | animate.ArmLeft(CFrame.Angles(-math.rad(15), 0, -math.rad(15))) |
| 163 | + | throwsound = Instance.new("Sound")
|
| 164 | - | animate.ArmRight(CFrame.Angles(-math.rad(15), 0, math.rad(15))) |
| 164 | + | throwsound.SoundId = "rbxasset://sounds//swordslash.wav" |
| 165 | - | elseif form==true and Form=="Chibi" then speed=16 Portal2:play() |
| 165 | + | throwsound.Volume = 0.8 |
| 166 | - | animate.Torso(CFrame.new(0, -1.5, 0)) |
| 166 | + | throwsound.Pitch = 1.2 |
| 167 | throwsound.Parent = Rarm | |
| 168 | - | torso.Transparency=1 |
| 168 | + | hitsound = Instance.new("Sound")
|
| 169 | - | animate.ArmLeft(CFrame.new(.5, 0, 0)*CFrame.Angles(0, 0, -math.rad(45))) |
| 169 | + | hitsound.SoundId = "http://www.roblox.com/asset/?id=2801263" |
| 170 | - | animate.ArmRight(CFrame.new(-.5, 0, 0)*CFrame.Angles(0, 0, math.rad(45))) |
| 170 | + | hitsound.Volume = 0.55 |
| 171 | - | elseif form==true and Form=="Car" then speed=100 Portal2:play() |
| 171 | + | hitsound.Pitch = 1.8 |
| 172 | - | human.WalkSpeed=speed |
| 172 | + | |
| 173 | - | animate.Torso(CFrame.new(0, -2, 0)*CFrame.Angles(-math.rad(90), 0, 0)) |
| 173 | + | Mo = Instance.new("Model")
|
| 174 | - | animate.Head(CFrame.new(0, -1.5, 1)*CFrame.Angles(math.rad(90), 0, 0)) |
| 174 | + | Mo.Name = Modelname |
| 175 | - | animate.ArmLeft(CFrame.new(.5, 0, 0)*CFrame.Angles(math.rad(180), 0, math.rad(15))) |
| 175 | + | |
| 176 | - | animate.ArmRight(CFrame.new(-.5, 0, 0)*CFrame.Angles(math.rad(180), 0, -math.rad(15))) |
| 176 | + | main = Part(Mo, false, false, 0, 0, "Brown", 2, 2, 0.2, true) |
| 177 | - | car=Instance.new("Model", char) car.Name="Car"
|
| 177 | + | Weld(torso, main, 0, 0, -0.6, 0, 0, 0) |
| 178 | - | local handle=add.Part(car, false,true, "Medium stone grey", 0, Vector3.new(.5, 7.2, .5), nil) |
| 178 | + | Floor = Part(Mo, false, false, 0, 0, "Reddish brown", 1.95, 0.2, 1, true) |
| 179 | - | local handleM=add.Mesh("CylinderMesh", handle, Vector3.new(1, 1, 1), nil, nil)
|
| 179 | + | Weld(main, Floor, 0, 0.93, -0.4, 0, 0, 0) |
| 180 | - | local handleW=add.Weld(handle, body.Torso, CFrame.new(0, 2, 0)*CFrame.Angles(0, 0, -math.rad(90))) |
| 180 | + | |
| 181 | for i=-0.9, 1, 1.8 do | |
| 182 | - | local TireLeft=add.Part(car, false, true, "Really black", 0, Vector3.new(2, 1, 2), nil) |
| 182 | + | local side = Part(Mo, false, false, 0, 0, "Brown", 0.2, 2, 0.8, true) |
| 183 | - | TireLeftM=add.Mesh("CylinderMesh", TireLeft, Vector3.new(1, 1, 1), nil, nil)
|
| 183 | + | Weld(main, side, i, 0, -0.36, 0, 0, 0) |
| 184 | - | TireLeftW=add.Weld(TireLeft, handle, CFrame.new(0, -3, 0)) |
| 184 | + | |
| 185 | - | local TireRight=add.Part(car, false, true, "Really black", 0, Vector3.new(2, 1, 2), nil) |
| 185 | + | |
| 186 | - | TireRightM=add.Mesh("CylinderMesh", TireRight, Vector3.new(1, 1, 1), nil, nil)
|
| 186 | + | for i = -60, 55, 15 do |
| 187 | - | TireRightW=add.Weld(TireRight, handle, CFrame.new(0, 3, 0)) |
| 187 | + | local ba = Part(Mo, false, false, 0, 0, "Brown", 2, 0.44, 0.2, true) |
| 188 | local wa = Weld(main, ba, 0, 0, 0, 0, 0, 0) | |
| 189 | - | local handle=add.Part(car, false,true, "Medium stone grey", 0, Vector3.new(.5, 7.2, .5), nil) |
| 189 | + | wa.C0 = CFrame.new(0,-0.1,0.1) * CFrame.Angles(math.rad(i),0,0) |
| 190 | - | local handleM=add.Mesh("CylinderMesh", handle, Vector3.new(1, 1, 1), nil, nil)
|
| 190 | + | wa.C1 = CFrame.new(0,0,-1.1) |
| 191 | - | local handleW=add.Weld(handle, body.Torso, CFrame.new(0, -2, 0)*CFrame.Angles(0, 0, -math.rad(90))) |
| 191 | + | for x=-0.9, 1, 1.8 do |
| 192 | local si = Part(Mo, false, false, 0, 0, "Brown", 0.2, 0.5, 0.7, true) | |
| 193 | - | local TireLeft=add.Part(car, false, true, "Really black", 0, Vector3.new(2, 1, 2), nil) |
| 193 | + | Weld(ba, si, x, 0, 0.34, 0, 0, 0) |
| 194 | - | TireLeftM=add.Mesh("CylinderMesh", TireLeft, Vector3.new(1, 1, 1), nil, nil)
|
| 194 | + | |
| 195 | - | TireLeftW=add.Weld(TireLeft, handle, CFrame.new(0, -3, 0)) |
| 195 | + | |
| 196 | - | local TireRight=add.Part(car, false, true, "Really black", 0, Vector3.new(2, 1, 2), nil) |
| 196 | + | |
| 197 | - | TireRightM=add.Mesh("CylinderMesh", TireRight, Vector3.new(1, 1, 1), nil, nil)
|
| 197 | + | for i = -0.8, 0.85, 1.6 do |
| 198 | - | TireRightW=add.Weld(TireRight, handle, CFrame.new(0, 3, 0)) |
| 198 | + | for x = -1, 1.1, 2 do |
| 199 | - | c(function() |
| 199 | + | local bah = Part(Mo, false, false, 0, 0, "Reddish brown", 0.45, 0.2, 1.1, true) |
| 200 | - | while form do wait() |
| 200 | + | Weld(main, bah, i, x, 0.5, 0, 0, 0) |
| 201 | - | animate.Torso(CFrame.new(0, -2, 0)*CFrame.Angles(-math.rad(90), 0, 0)) |
| 201 | + | |
| 202 | - | animate.LegLeft(CFrame.Angles(0, 0, 0)) |
| 202 | + | for x = -20, 20, 5 do |
| 203 | - | animate.LegRight(CFrame.Angles(0, 0, 0)) |
| 203 | + | local p = Part(Mo, false, false, 0, 0, "Reddish brown", 0.45, 0.4, 0.2, true) |
| 204 | local wa = Weld(main, p, 0, 0, 0, 0, 0, 0) | |
| 205 | - | animate.Torso(CFrame.new()) |
| 205 | + | wa.C0 = CFrame.new(i,0,1.2) * CFrame.Angles(math.rad(x),0,0) |
| 206 | - | animate.Head(CFrame.new()) |
| 206 | + | wa.C1 = CFrame.new(0,0,2.4) |
| 207 | - | car:remove() |
| 207 | + | |
| 208 | end | |
| 209 | ||
| 210 | - | human.WalkSpeed=speed |
| 210 | + | for i = 90, -91, -180 do |
| 211 | local pock = Part(Mo, false, false, 0, 0, "Reddish brown", 0.7, 0.8, 0.3, true) | |
| 212 | - | function computePos(pos, pos2) |
| 212 | + | local wa = Weld(main, pock, 0, 0, 0, 0, 0, 0) |
| 213 | - | local pos3=Vector3.new(pos2.x, pos.y, pos2.z) |
| 213 | + | wa.C0 = CFrame.new(0, -0.1, 0.5) * CFrame.Angles(0, math.rad(i), 0) |
| 214 | - | torso.CFrame=CFrame.new(pos, pos3) |
| 214 | + | wa.C1 = CFrame.new(0, 0, 1) |
| 215 | - | return pos3 |
| 215 | + | local pock2 = Part(Mo, false, false, 0, 0, "Reddish brown", 0.8, 0.4, 0.4, true) |
| 216 | Weld(pock, pock2, 0, -0.25, 0, 0, 0, 0) | |
| 217 | - | function nearTorso(pos, dis) |
| 217 | + | local shin = Part(Mo, false, false, 0, 0.05, "Bright yellow", 0.4, 0.2, 0.2, true) |
| 218 | - | local temp |
| 218 | + | Weld(pock2, shin, 0, -0.06, 0.15, 0, 0, 0) |
| 219 | - | local distance=dis |
| 219 | + | Add.Sphere(shin) |
| 220 | - | for i, v in pairs(workspace:children()) do |
| 220 | + | |
| 221 | - | if v:isA("Model") then
|
| 221 | + | local lastpart = nil |
| 222 | - | temp=v:findFirstChild("Torso")
|
| 222 | + | |
| 223 | - | local humanoid=v:findFirstChild("Humanoid")
|
| 223 | + | for i = -120, 0, 20 do |
| 224 | - | if temp and humanoid and v~=char and (temp.CFrame.p-pos).magnitude<distance then |
| 224 | + | local p = Part(Mo, false, false, 0, 0, "Reddish brown", 2, 0.47, 0.2, true) |
| 225 | - | distance=(temp.CFrame.p-pos).magnitude |
| 225 | + | local wa = Weld(main, p, 0, 0, 0, 0, 0, 0) |
| 226 | - | return temp |
| 226 | + | wa.C0 = CFrame.new(0,0.23,0.5) * CFrame.Angles(math.rad(i),0,0) |
| 227 | wa.C1 = CFrame.new(0,0,-0.9) | |
| 228 | lastpart = p | |
| 229 | end | |
| 230 | ||
| 231 | - | function trail(pos, cf) |
| 231 | + | shiny = Part(Mo, false, false, 0, 0.05, "Bright yellow", 0.5, 0.3, 0.2, true) |
| 232 | - | c(function() |
| 232 | + | Weld(lastpart, shiny, 0, 0, -0.07, 0, 0, 0) |
| 233 | - | local old=(pos.CFrame*cf).p |
| 233 | + | |
| 234 | - | while trailDeb==true do |
| 234 | + | |
| 235 | RABrick = Part(Mo, false, false, 1, 0, "White", 0.1, 0.1, 0.1, true) | |
| 236 | - | local new=(pos.CFrame*cf).p |
| 236 | + | LABrick = Part(Mo, false, false, 1, 0, "White", 0.1, 0.1, 0.1, true) |
| 237 | - | local mag=(old-new).magnitude |
| 237 | + | RLBrick = Part(Mo, false, false, 1, 0, "White", 0.1, 0.1, 0.1, true) |
| 238 | - | local dis=(old+new)/2 |
| 238 | + | LLBrick = Part(Mo, false, false, 1, 0, "White", 0.1, 0.1, 0.1, true) |
| 239 | - | local trail=add.Part(workspace, true, false, "White", 0, Vector3.new(.5, mag, .5), CFrame.new(dis, new)*CFrame.Angles(math.pi/2, 0, 0)) trail.Name="Trail" |
| 239 | + | |
| 240 | - | local tMesh=add.Mesh("CylinderMesh", trail, Vector3.new(.5, 1, .5), nil, nil)
|
| 240 | + | RABW = Weld(torso, RABrick, -1.5, -0.5, 0, 0, 0, 0) |
| 241 | - | trail.Touched:connect(hit) |
| 241 | + | LABW = Weld(torso, LABrick, 1.5, -0.5, 0, 0, 0, 0) |
| 242 | - | old=new |
| 242 | + | RLBW = Weld(torso, RLBrick, -0.5, 1, 0, 0, 0, 0) |
| 243 | - | c(function() |
| 243 | + | LLBW = Weld(torso, LLBrick, 0.5, 1, 0, 0, 0, 0) |
| 244 | - | for i=1, 0, -.1 do |
| 244 | + | |
| 245 | - | wait() |
| 245 | + | RAW = Weld(RABrick, nil, 0, 0.5, 0, 0, 0, 0) |
| 246 | - | tMesh.Scale=tMesh.Scale*Vector3.new(i, 1, i) |
| 246 | + | LAW = Weld(LABrick, nil, 0, 0.5, 0, 0, 0, 0) |
| 247 | RLW = Weld(RLBrick, nil, 0, 1, 0, 0, 0, 0) | |
| 248 | - | trail:remove() |
| 248 | + | LLW = Weld(LLBrick, nil, 0, 1, 0, 0, 0, 0) |
| 249 | - | end) |
| 249 | + | |
| 250 | - | c(function() |
| 250 | + | Mo.Parent = char |
| 251 | - | for i=0, 1, .1 do |
| 251 | + | |
| 252 | - | wait() |
| 252 | + | RAWBattle = nil |
| 253 | - | trail.Transparency=i |
| 253 | + | LAWBattle = nil |
| 254 | ||
| 255 | - | end) |
| 255 | + | function SelectAnim() |
| 256 | RAW.Part1 = Rarm | |
| 257 | LAW.Part1 = Larm | |
| 258 | for i=0,16,2 do | |
| 259 | - | function Attack() combo=combo+1 |
| 259 | + | RAW.C0 = CFrame.Angles(0,0,math.rad(i)) |
| 260 | - | if using==false then |
| 260 | + | LAW.C0 = CFrame.Angles(0,0,math.rad(-i)) |
| 261 | - | if form==false and keyDeb==false then |
| 261 | + | |
| 262 | - | using=true |
| 262 | + | |
| 263 | - | for i, v in pairs(char:children()) do |
| 263 | + | if RAWBattle == nil then |
| 264 | - | if v:isA("BasePart") then
|
| 264 | + | RAWBattle = RAW.C0 |
| 265 | - | v.Touched:connect(hit) |
| 265 | + | LAWBattle = LAW.C0 |
| 266 | end | |
| 267 | end | |
| 268 | - | if combo==1 then Slash:play() print("Right Hook")
|
| 268 | + | |
| 269 | - | trailDeb=true |
| 269 | + | function DeselectAnim() |
| 270 | - | trail(body.ArmRight, CFrame.new(0, -1.5, 0)) |
| 270 | + | for i=16,0,-2 do |
| 271 | - | for i=0, 1, .1 do wait() |
| 271 | + | RAW.C0 = CFrame.Angles(0,0,math.rad(i)) |
| 272 | - | animate.Torso(CFrame.Angles(0, math.rad(15)*i, 0)) |
| 272 | + | LAW.C0 = CFrame.Angles(0,0,math.rad(-i)) |
| 273 | - | animate.ArmRight(CFrame.new(-.5*i, 0, -range*i)*CFrame.Angles(math.rad(90), 0, 0)) |
| 273 | + | |
| 274 | end | |
| 275 | - | for i=1, 0, -.1 do wait() |
| 275 | + | RAW.Part1 = nil |
| 276 | - | animate.Torso(CFrame.Angles(0, math.rad(15)*i, 0)) |
| 276 | + | LAW.Part1 = nil |
| 277 | - | animate.ArmRight(CFrame.new(-.5*i, 0, -range*i)*CFrame.Angles(math.rad(90), 0, 0)) |
| 277 | + | |
| 278 | ||
| 279 | - | trailDeb=false |
| 279 | + | function makeball() |
| 280 | - | if combo>2 then Slash:play() |
| 280 | + | local b = Part(Mo, false, false, 0, 0, SnowC[math.random(1,#SnowC)],1,1,1,true) |
| 281 | - | trailDeb=true |
| 281 | + | local bw = Weld(Rarm, b, 0, 1.2, 0, 0, 0, 0) |
| 282 | - | trail(body.ArmLeft, CFrame.new(0, -1.5, 0)) |
| 282 | + | local m = Add.Sphere(b) |
| 283 | - | for i=0, 1, .1 do wait() |
| 283 | + | m.Scale = Vector3.new(0.1,0.1,0.1) |
| 284 | - | animate.Torso(CFrame.Angles(0, -math.rad(15)*i, 0)) |
| 284 | + | b.Material = "Concrete" |
| 285 | - | animate.ArmLeft(CFrame.new(.5*i, 0, -range*i)*CFrame.Angles(math.rad(90), 0, 0)) |
| 285 | + | ball = {b, bw}
|
| 286 | for i=0.1,1.25,0.1 do | |
| 287 | - | for i=1, 0, -.1 do wait() |
| 287 | + | |
| 288 | - | animate.Torso(CFrame.Angles(0, -math.rad(15)*i, 0)) |
| 288 | + | m.Scale = Vector3.new(i,i,i) |
| 289 | - | animate.ArmLeft(CFrame.new(.5*i, 0, -range*i)*CFrame.Angles(math.rad(90), 0, 0)) |
| 289 | + | |
| 290 | wait(0.04) | |
| 291 | - | trailDeb=false |
| 291 | + | |
| 292 | ||
| 293 | - | if combo>3 then Slash:play() print("Both Hook")
|
| 293 | + | function throw(Mousepos) |
| 294 | - | trailDeb=true |
| 294 | + | if able and Ballzies > 0 then |
| 295 | - | for i=0, 1, .1 do wait() |
| 295 | + | able = false |
| 296 | - | animate.ArmLeft(CFrame.new(.5*i, 0, -range*i)*CFrame.Angles(math.rad(90), 0, 0)) |
| 296 | + | coroutine.resume(coroutine.create(function() |
| 297 | - | animate.ArmRight(CFrame.new(-.5*i, 0, -range*i)*CFrame.Angles(math.rad(90), 0, 0)) |
| 297 | + | makeball() |
| 298 | end)) | |
| 299 | - | for i=1, 0, -.1 do wait() |
| 299 | + | Ballzies = Ballzies - 1 |
| 300 | - | animate.ArmLeft(CFrame.new(.5*i, 0, -range*i)*CFrame.Angles(math.rad(90), 0, 0)) |
| 300 | + | CheckBallzies() |
| 301 | - | animate.ArmRight(CFrame.new(-.5*i, 0, -range*i)*CFrame.Angles(math.rad(90), 0, 0)) |
| 301 | + | local torsopos = torso.CFrame |
| 302 | local bgcf = ComputePos(torsopos.p, Mousepos) | |
| 303 | - | trailDeb=false |
| 303 | + | local bg = Add.BG(torso) |
| 304 | ||
| 305 | - | if combo>4 then print("Rappid Punch")
|
| 305 | + | local bp = Add.BP(torso) |
| 306 | - | trailDeb=true |
| 306 | + | bp.position = torsopos.p |
| 307 | - | for i=1, 2 do wait() |
| 307 | + | |
| 308 | - | for i=0, 1, .2 do wait() Slash:play() |
| 308 | + | RLW.Part1 = Rleg |
| 309 | - | animate.ArmLeft(CFrame.new(math.random(-2, 2), math.random(-2, 2), -range*i)*CFrame.Angles(math.rad(90), 0, 0)) |
| 309 | + | LLW.Part1 = Lleg |
| 310 | - | animate.ArmRight(CFrame.new(math.random(-2, 2), math.random(-2, 2), -range-(-range*i))*CFrame.Angles(math.rad(90), 0, 0)) |
| 310 | + | for i=0,-90,-90/4 do |
| 311 | bg.cframe = bgcf * CFrame.Angles(0,math.rad(i),0) | |
| 312 | - | for i=0, 1, .2 do wait() |
| 312 | + | RAW.C0 = RAWBattle * CFrame.Angles(0,0,math.rad(-i/1.7)) |
| 313 | - | animate.ArmLeft(CFrame.new(math.random(-2, 2), math.random(-2, 2), -range-(-range*i))*CFrame.Angles(math.rad(90), 0, 0)) |
| 313 | + | LAW.C0 = LAWBattle * CFrame.Angles(0,0,math.rad(i/1.9)) |
| 314 | - | animate.ArmRight(CFrame.new(math.random(-2, 2), math.random(-2, 2), -range*i)*CFrame.Angles(math.rad(90), 0, 0)) |
| 314 | + | neck.C0 = necko * CFrame.Angles(0,0,math.rad(-i)) |
| 315 | RLW.C0 = CFrame.Angles(0,0,math.rad(-i/4.5)) | |
| 316 | LLW.C0 = CFrame.Angles(0,0,math.rad(i/4.5)) | |
| 317 | - | trailDeb=false |
| 317 | + | |
| 318 | end | |
| 319 | wait(0.08) | |
| 320 | - | trailDeb=false |
| 320 | + | for i = 0, 90, 90/3 do |
| 321 | - | animate.ArmLeft(CFrame.Angles(0, 0, 0)) |
| 321 | + | bg.cframe = bgcf * CFrame.Angles(0,math.rad(i-90),0) |
| 322 | - | animate.ArmRight(CFrame.Angles(0, 0, 0)) |
| 322 | + | RAW.C0 = RAWBattle * CFrame.Angles(0,0,math.rad(i-(-90/1.7))) |
| 323 | - | using=false |
| 323 | + | neck.C0 = necko * CFrame.Angles(0,0,math.rad(-i+90)) |
| 324 | - | combo=0 |
| 324 | + | RLW.C0 = CFrame.Angles(0,0,math.rad(-(i/4.5)-(-90/4.5))) |
| 325 | - | running() |
| 325 | + | LLW.C0 = CFrame.Angles(0,0,math.rad((i/4.5)-(90/4.5))) |
| 326 | wait() | |
| 327 | end | |
| 328 | throwsound:play() | |
| 329 | - | local Specials={
|
| 329 | + | coroutine.resume(coroutine.create(function() |
| 330 | - | ["Festival"]=function() human.WalkSpeed=0 |
| 330 | + | local ta = ball |
| 331 | - | pressing=true |
| 331 | + | ta[1].Parent = workspace |
| 332 | - | for i=0, 1, .1 do wait() |
| 332 | + | ta[2]:remove() |
| 333 | - | animate.ArmLeft(CFrame.Angles(0, 0, -math.rad(135)*i)) |
| 333 | + | local c = CFrame.new(ball[1].Position, Mousepos) * CFrame.Angles(math.pi/8.5,0,0) |
| 334 | - | animate.ArmRight(CFrame.Angles(0, 0, math.rad(135)*i)) |
| 334 | + | local mag = (torsopos.p - Mousepos).magnitude |
| 335 | - | animate.LegLeft(CFrame.Angles(0, 0, -math.rad(45)*i)) |
| 335 | + | mag = mag-(mag/5) |
| 336 | - | animate.LegRight(CFrame.Angles(0, 0, math.rad(45)*i)) |
| 336 | + | if mag > 70 then mag = 70 end |
| 337 | local kert = (40+(mag*2)) | |
| 338 | - | trailDeb=true |
| 338 | + | wait() |
| 339 | - | trail(body.ArmLeft, CFrame.new(0, -1.5, 0)) |
| 339 | + | ta[1].Velocity = c.lookVector * kert |
| 340 | - | trail(body.ArmRight, CFrame.new(0, -1.5, 0)) |
| 340 | + | local abletohit = true |
| 341 | - | trail(body.LegLeft, CFrame.new(0, -1.5, 0)) |
| 341 | + | ta[1].Touched:connect(function(hit) |
| 342 | - | trail(body.LegRight, CFrame.new(0, -1.5, 0)) |
| 342 | + | if hit.Parent ~= char and hit.Parent.Parent ~= char and abletohit then |
| 343 | - | while pressing and mana>=1 do wait() mana=mana-1 Slash:play() |
| 343 | + | abletohit = false |
| 344 | - | pcall(function() |
| 344 | + | local pz = ta[1].Position |
| 345 | - | local touchHelper=add.Part(workspace, true, false, "White", 1, Vector3.new(range*1.5, range*1.5, range*1.5), torso.CFrame) |
| 345 | + | local siz = ta[1].Size.x |
| 346 | - | touchHelper.Touched:connect(hit) |
| 346 | + | local bla = Part(workspace, true, false, 0, 0, "White", 0.1, 0.1, 0.1, true) |
| 347 | - | c(function() wait(1) |
| 347 | + | bla.CFrame = CFrame.new(pz) |
| 348 | - | touchHelper:remove() |
| 348 | + | local saa = hitsound:clone() |
| 349 | - | end) |
| 349 | + | saa.Parent = bla |
| 350 | - | end) |
| 350 | + | saa:play() |
| 351 | - | for i, v in pairs(char:children()) do |
| 351 | + | coroutine.resume(coroutine.create(function() |
| 352 | - | if v.ClassName=="Hat" then |
| 352 | + | local toz = GetNoobs(pz, Dist) |
| 353 | - | pcall(function() |
| 353 | + | for i,v in pairs(toz) do |
| 354 | - | v.Handle.Transparency=1 |
| 354 | + | v[2].PlatformStand = true |
| 355 | - | torso.Transparency=1 |
| 355 | + | v[2].Health = v[2].Health - dmg |
| 356 | - | head.Transparency=1 |
| 356 | + | local caa = CFrame.new(pz, v[1].Position) |
| 357 | - | end) |
| 357 | + | v[1].Velocity = caa.lookVector * (dmg*2) |
| 358 | coroutine.resume(coroutine.create(function() | |
| 359 | - | pcall(function() v.face.Transparency=1 end) |
| 359 | + | wait(0.07) |
| 360 | v[2].PlatformStand = false | |
| 361 | - | animate.ArmLeft(CFrame.new(math.random(-range, range), math.random(-range, range), math.random(-range, range))*CFrame.Angles(math.random(-range, range), math.random(-45, 45), math.random(-45, 45))) |
| 361 | + | end)) |
| 362 | - | animate.ArmRight(CFrame.new(math.random(-range, range), math.random(-range, range), math.random(-range, range))*CFrame.Angles(math.random(-range, range), math.random(-45, 45), math.random(-45, 45))) |
| 362 | + | |
| 363 | - | animate.LegLeft(CFrame.new(math.random(-range, range), math.random(-range, range), math.random(-range, range))*CFrame.Angles(math.random(-range, range), math.random(-45, 45), math.random(-45, 45))) |
| 363 | + | wait(0.5) |
| 364 | - | animate.LegRight(CFrame.new(math.random(-range, range), math.random(-range, range), math.random(-range, range))*CFrame.Angles(math.random(-range, range), math.random(-45, 45), math.random(-45, 45))) |
| 364 | + | bla:remove() |
| 365 | end)) | |
| 366 | - | trailDeb=false |
| 366 | + | ta[1]:remove() |
| 367 | - | for i, v in pairs(char:children()) do |
| 367 | + | for i=1,math.random(2,7) do |
| 368 | - | if v.ClassName=="Hat" then |
| 368 | + | siz = math.random(40, 120)/100 |
| 369 | - | pcall(function() |
| 369 | + | local sho = Part(workspace, false, false, 0, 0, SnowC[math.random(1,#SnowC)], siz, siz, siz, true) |
| 370 | - | v.Handle.Transparency=0 |
| 370 | + | sho.CFrame = CFrame.new(pz) |
| 371 | - | torso.Transparency=0 |
| 371 | + | sho.Velocity = Vector3.new(math.random(-40,40),math.random(-20,40),math.random(-40,40)) |
| 372 | - | head.Transparency=0 |
| 372 | + | sho.Material = "Concrete" |
| 373 | - | end) |
| 373 | + | Add.Sphere(sho) |
| 374 | coroutine.resume(coroutine.create(function() | |
| 375 | - | pcall(function() v.face.Transparency=0 end) |
| 375 | + | wait(1) |
| 376 | sho:remove() | |
| 377 | - | for i=1, 0, -.1 do wait() |
| 377 | + | end)) |
| 378 | - | animate.ArmLeft(CFrame.Angles(0, 0, -math.rad(135)*i)) |
| 378 | + | |
| 379 | - | animate.ArmRight(CFrame.Angles(0, 0, math.rad(135)*i)) |
| 379 | + | |
| 380 | - | animate.LegLeft(CFrame.Angles(0, 0, -math.rad(45)*i)) |
| 380 | + | |
| 381 | - | animate.LegRight(CFrame.Angles(0, 0, math.rad(45)*i)) |
| 381 | + | wait(4) |
| 382 | ta[1]:remove() | |
| 383 | - | running() |
| 383 | + | end)) |
| 384 | - | human.WalkSpeed=speed |
| 384 | + | for i = 90, 180, 90/3 do |
| 385 | - | end; |
| 385 | + | bg.cframe = bgcf * CFrame.Angles(0,math.rad(i-90),0) |
| 386 | - | ["Charge"]=function() human.WalkSpeed=0 |
| 386 | + | RAW.C0 = RAWBattle * CFrame.Angles(0,0,math.rad(-i-(180/1.7))) |
| 387 | - | pressing=true |
| 387 | + | neck.C0 = necko * CFrame.Angles(0,0,math.rad(-i+90)) |
| 388 | - | for i=0, 1, .1 do wait() |
| 388 | + | RLW.C0 = CFrame.Angles(0,0,math.rad((i/4.5)+(-90/4.5))) |
| 389 | - | animate.ArmLeft(CFrame.Angles(-math.rad(15)*i, 0, -math.rad(15)*i)) |
| 389 | + | LLW.C0 = CFrame.Angles(0,0,math.rad(-(i/4.5)+(90/4.5))) |
| 390 | - | animate.ArmRight(CFrame.Angles(math.rad(135)*i, 0, math.rad(15)*i)) |
| 390 | + | |
| 391 | end | |
| 392 | - | Charge:play() |
| 392 | + | wait(0.16) |
| 393 | - | while pressing do wait() if mana<100 then mana=mana+1 end |
| 393 | + | for i = 180, 90, -90/6 do |
| 394 | - | local aura=add.Part(workspace, true, false, "Bright blue", .5, Vector3.new(1, 1, 1), torso.CFrame*CFrame.new(0, -2, 0)*CFrame.Angles(0, math.rad(math.random(-45, 45)), 0)) aura.Name="Effect" |
| 394 | + | bg.cframe = bgcf * CFrame.Angles(0,math.rad(i-90),0) |
| 395 | - | local auraM=add.Mesh("SpecialMesh", aura, Vector3.new(1, 1, 1), nil, "File") auraM.MeshId="http://www.roblox.com/asset/?id=20329976"
|
| 395 | + | RAW.C0 = RAWBattle * CFrame.Angles(0,0,math.rad(i-90)) |
| 396 | - | c(function() |
| 396 | + | neck.C0 = necko * CFrame.Angles(0,0,math.rad(-i+90)) |
| 397 | - | for i=0, 3, .1 do wait() |
| 397 | + | LAW.C0 = LAWBattle * CFrame.Angles(0,0,math.rad(-i/1.9+(90/1.9))) |
| 398 | - | auraM.Scale=auraM.Scale+Vector3.new(i, i/2, i) |
| 398 | + | RLW.C0 = CFrame.Angles(0,0,math.rad((i/4.5)+(-90/4.5))) |
| 399 | LLW.C0 = CFrame.Angles(0,0,math.rad(-(i/4.5)+(90/4.5))) | |
| 400 | - | c(function() |
| 400 | + | |
| 401 | - | for i=.5, 1, .1 do |
| 401 | + | |
| 402 | wait(0.06) | |
| 403 | - | aura.Transparency=i |
| 403 | + | bg:remove() |
| 404 | bp:remove() | |
| 405 | - | end) |
| 405 | + | RLW.Part1 = nil |
| 406 | - | aura:remove() |
| 406 | + | LLW.Part1 = nil |
| 407 | - | end) |
| 407 | + | RAW.C0 = RAWBattle |
| 408 | LAW.C0 = LAWBattle | |
| 409 | - | for i=1, 0, -.1 do wait() |
| 409 | + | neck.C0 = necko |
| 410 | - | animate.ArmLeft(CFrame.Angles(-math.rad(15)*i, 0, -math.rad(15)*i)) |
| 410 | + | ball = nil |
| 411 | - | animate.ArmRight(CFrame.Angles(math.rad(135)*i, 0, -math.rad(15)*i)) |
| 411 | + | able = true |
| 412 | end | |
| 413 | - | running() |
| 413 | + | |
| 414 | - | human.WalkSpeed=speed |
| 414 | + | |
| 415 | - | end; |
| 415 | + | function GrabSnow(Snow, mouse) |
| 416 | - | ["Tornado"]=function() human.WalkSpeed=0 |
| 416 | + | if able == true then |
| 417 | - | mana=mana-20 |
| 417 | + | able = false |
| 418 | - | for i=0, 1, .1 do wait() |
| 418 | + | if Snow.Name == snowname and (Snow.Position - torso.Position).magnitude < 50 then |
| 419 | - | animate.ArmLeft(CFrame.Angles(0, 0, -math.rad(90)*i)) |
| 419 | + | local pos = CFrame.new(torso.Position, Snow.Position) |
| 420 | - | animate.ArmRight(CFrame.Angles(0, 0, math.rad(90)*i)) |
| 420 | + | pos = pos * CFrame.new(0,0,-(torso.Position - Snow.Position).magnitude + Snow.Size.X/2.2).p |
| 421 | - | animate.LegLeft(CFrame.new()) animate.LegRight(CFrame.new()) |
| 421 | + | local blah = true |
| 422 | mouse.Button1Down:connect(function() | |
| 423 | - | trailDeb=true |
| 423 | + | if blah == true then |
| 424 | - | trail(body.ArmLeft, CFrame.new(0, -1.5, 0)) |
| 424 | + | blah = false |
| 425 | - | trail(body.ArmRight, CFrame.new(0, -1.5, 0)) |
| 425 | + | |
| 426 | - | for i=1, 50 do wait() Slash:play() |
| 426 | + | |
| 427 | - | animate.Torso(CFrame.Angles(0, math.rad(45)*i, 0)) |
| 427 | + | repeat |
| 428 | - | animate.ArmLeft(CFrame.new(-i, i/25, 0)*CFrame.Angles(0, 0, -math.rad(90))) |
| 428 | + | |
| 429 | - | animate.ArmRight(CFrame.new(i, i/25, 0)*CFrame.Angles(0, 0, math.rad(90))) |
| 429 | + | if Snow.Parent ~= nil then |
| 430 | - | animate.LegLeft(CFrame.new()) animate.LegRight(CFrame.new()) |
| 430 | + | hum:MoveTo(pos, Snow) |
| 431 | else break end | |
| 432 | - | for i=50, 0, -1 do wait() Slash:play() |
| 432 | + | if blah == false then break end |
| 433 | - | animate.Torso(CFrame.Angles(0, math.rad(45)*i, 0)) |
| 433 | + | until (torso.Position - pos).magnitude < 4.4 |
| 434 | - | animate.ArmLeft(CFrame.new(-i, i/25, 0)*CFrame.Angles(0, 0, -math.rad(90))) |
| 434 | + | if blah then |
| 435 | - | animate.ArmRight(CFrame.new(i, i/25, 0)*CFrame.Angles(0, 0, math.rad(90))) |
| 435 | + | local bp = Add.BP(torso) |
| 436 | - | animate.LegLeft(CFrame.new()) animate.LegRight(CFrame.new()) |
| 436 | + | bp.position = Vector3.new(pos.x, torso.Position.Y, pos.z) |
| 437 | local bg = Add.BG(torso) | |
| 438 | - | trailDeb=false |
| 438 | + | bg.cframe = CFrame.new(torso.Position, Vector3.new(Snow.Position.x, torso.Position.y - 0.4, Snow.Position.z)) |
| 439 | - | for i=1, 0, -.1 do wait() |
| 439 | + | RLW.Part1 = Rleg |
| 440 | - | animate.ArmLeft(CFrame.Angles(0, 0, -math.rad(90)*i)) |
| 440 | + | LLW.Part1 = Lleg |
| 441 | - | animate.ArmRight(CFrame.Angles(0, 0, math.rad(90)*i)) |
| 441 | + | for i=0,80,10 do |
| 442 | wait() | |
| 443 | - | human.WalkSpeed=speed |
| 443 | + | RAW.C0 = RAWBattle * CFrame.Angles(math.rad(i),0,math.rad(-i/2)) * CFrame.new(0,-i/130,0) |
| 444 | - | end; |
| 444 | + | LAW.C0 = LAWBattle * CFrame.Angles(math.rad(i),0,math.rad(i/2)) * CFrame.new(0,-i/130,0) |
| 445 | RLW.C0 = CFrame.Angles(0,0,math.rad(i/6.5)) | |
| 446 | - | bin.Selected:connect(function(mouse) createParts() |
| 446 | + | LLW.C0 = CFrame.Angles(0,0,math.rad(-i/6.5)) |
| 447 | - | running() |
| 447 | + | |
| 448 | - | mouse.Button1Down:connect(Attack) |
| 448 | + | local c1, c2 = RAW.C0, LAW.C0 |
| 449 | - | mouse.KeyDown:connect(function(key) |
| 449 | + | local makingball = true |
| 450 | - | local key=key:lower() |
| 450 | + | coroutine.resume(coroutine.create(function() |
| 451 | - | if form==false and using==false then |
| 451 | + | while makingball == true do |
| 452 | - | if key=="q" and mana>=0 and keyDeb==false then |
| 452 | + | RAW.C0 = c1 * CFrame.Angles(math.random(-30,30)/100, math.random(-20,20)/100, math.random(-30,30)/100) |
| 453 | - | keyDeb=true using=true |
| 453 | + | LAW.C0 = c2 * CFrame.Angles(math.random(-30,30)/100, math.random(-20,20)/100, math.random(-30,30)/100) |
| 454 | - | Specials.Festival() |
| 454 | + | wait() |
| 455 | - | keyDeb=false using=false |
| 455 | + | |
| 456 | end)) | |
| 457 | - | if key=="e" and keyDeb==false and mana>=20 then |
| 457 | + | makeball() |
| 458 | - | keyDeb=true using=true |
| 458 | + | makingball = false |
| 459 | - | Specials.Tornado() |
| 459 | + | ball[1]:remove() |
| 460 | - | keyDeb=false using=false |
| 460 | + | wait(0.1) |
| 461 | bp:remove() | |
| 462 | - | if key=="f" and keyDeb==false then |
| 462 | + | bg:remove() |
| 463 | - | keyDeb=true |
| 463 | + | for i=80,0,-10 do |
| 464 | - | Specials.Charge() |
| 464 | + | |
| 465 | - | keyDeb=false |
| 465 | + | RAW.C0 = RAWBattle * CFrame.Angles(math.rad(i),0,math.rad(-i/2)) * CFrame.new(0,-i/130,0) |
| 466 | LAW.C0 = LAWBattle * CFrame.Angles(math.rad(i),0,math.rad(i/2)) * CFrame.new(0,-i/130,0) | |
| 467 | RLW.C0 = CFrame.Angles(0,0,math.rad(i/6.5)) | |
| 468 | - | if key=="c" and keyDeb==false and form==false then |
| 468 | + | LLW.C0 = CFrame.Angles(0,0,math.rad(-i/6.5)) |
| 469 | - | keyDeb=true form=true Form="Chibi" |
| 469 | + | |
| 470 | - | running() |
| 470 | + | Ballzies = Ballzies + 1 |
| 471 | - | keyDeb=false |
| 471 | + | CheckBallzies() |
| 472 | - | elseif key=="c" and keyDeb==false and form==true then |
| 472 | + | RLW.Part1 = nil |
| 473 | - | keyDeb=true form=false Form=nil |
| 473 | + | LLW.Part1 = nil |
| 474 | - | running() |
| 474 | + | else |
| 475 | - | keyDeb=false |
| 475 | + | hum:MoveTo(torso.Position, torso) |
| 476 | end | |
| 477 | - | if key=="v" and keyDeb==false and form==false then |
| 477 | + | |
| 478 | - | keyDeb=true form=true Form="Car" |
| 478 | + | able = true end |
| 479 | - | running() |
| 479 | + | |
| 480 | - | keyDeb=false |
| 480 | + | |
| 481 | - | elseif key=="v" and keyDeb==false and form==true then |
| 481 | + | function KD(key) |
| 482 | - | keyDeb=true form=false Form=nil |
| 482 | + | key = key:lower() |
| 483 | - | running() |
| 483 | + | if key == "q" then |
| 484 | - | pcall(function() car:remove() end) |
| 484 | + | Order = Order - 1 |
| 485 | - | keyDeb=false |
| 485 | + | elseif key == "e" then |
| 486 | Order = Order + 1 | |
| 487 | end | |
| 488 | - | mouse.KeyUp:connect(function(key) |
| 488 | + | if Order > #Modes then |
| 489 | - | if form==false then |
| 489 | + | Order = 1 |
| 490 | - | if key=="q" then pressing=false end |
| 490 | + | elseif Order < 1 then |
| 491 | - | if key=="f" then pressing=false end |
| 491 | + | Order = #Modes |
| 492 | end | |
| 493 | Mode = Modes[Order] | |
| 494 | - | while wait() do charge.Size=UDim2.new(mana/100, 0, 1, 0) chargeLabel.Text=mana end |
| 494 | + | mo.Text = Modes[Order] |
| 495 | - | end) |
| 495 | + | |
| 496 | - | bin.Deselected:connect(function() removeParts() end)--mediafire |
| 496 | + | |
| 497 | function Select(mouse) | |
| 498 | SelectAnim() | |
| 499 | mouse.KeyDown:connect(function(key) KD(key) end) | |
| 500 | mouse.Button1Down:connect(function() | |
| 501 | if Mode == Modes[2] then | |
| 502 | GrabSnow(mouse.Target, mouse) | |
| 503 | elseif Mode == Modes[1] then | |
| 504 | throw(mouse.Hit.p) | |
| 505 | end | |
| 506 | end) | |
| 507 | end | |
| 508 | ||
| 509 | function Deselect(mouse) | |
| 510 | DeselectAnim() | |
| 511 | end | |
| 512 | ||
| 513 | if not script.Parent:IsA("HopperBin") then
| |
| 514 | H = Instance.new("HopperBin",me.Backpack)
| |
| 515 | H.Name = Modelname | |
| 516 | script.Parent = H | |
| 517 | end | |
| 518 | ||
| 519 | bin = script.Parent | |
| 520 | ||
| 521 | bin.Selected:connect(Select) | |
| 522 | bin.Deselected:connect(Deselect) | |
| 523 | ||
| 524 | ||
| 525 | coroutine.resume(coroutine.create(function() | |
| 526 | while true do | |
| 527 | local touchy = false | |
| 528 | for i = 1, math.random(26,40) do | |
| 529 | local siz = math.random(120,280)/100 | |
| 530 | local RandX, RandY, RandZ = math.random(-150,150), math.random(90,110), math.random(-150,150) | |
| 531 | local s = Part(Mo, false, false, 0, 0, SnowC[math.random(1,#SnowC)],siz,siz,siz,true) | |
| 532 | Add.Sphere(s) | |
| 533 | local b = Add.BF(s) | |
| 534 | b.force = Vector3.new(0, s:GetMass() * 164, 0) | |
| 535 | s.CFrame = CFrame.new(RandX, RandY, RandZ) | |
| 536 | coroutine.resume(coroutine.create(function() | |
| 537 | repeat wait() until s.Position.Y < 0 | |
| 538 | local po = s.Position | |
| 539 | touchy = true | |
| 540 | s:remove() | |
| 541 | end)) | |
| 542 | wait(0.04) | |
| 543 | end | |
| 544 | repeat wait(0.1) until touchy | |
| 545 | wait(1) | |
| 546 | for i = 1, math.random(12, 26) do | |
| 547 | wait() | |
| 548 | local siz = math.random(180,260)/100 | |
| 549 | local RandX, RandZ = math.random(-150,150), math.random(-150,150) | |
| 550 | local pile = Part(workspace:findFirstChild("Base"), true, false, 1, 0, SnowC[math.random(1,#SnowC)],siz*6.5,siz*2.7,siz*6.5,true)
| |
| 551 | pile.CFrame = CFrame.new(RandX, 1.05, RandZ) | |
| 552 | pile.Name = snowname | |
| 553 | Add.Sphere(pile) | |
| 554 | coroutine.resume(coroutine.create(function() | |
| 555 | for i=1,-0.05,-0.05 do | |
| 556 | pile.Transparency = i | |
| 557 | wait() | |
| 558 | end | |
| 559 | wait(30) | |
| 560 | for i=0,1,0.03 do | |
| 561 | pile.Transparency = i | |
| 562 | wait() | |
| 563 | end | |
| 564 | pile:remove() | |
| 565 | end)) | |
| 566 | end | |
| 567 | wait(20) | |
| 568 | end | |
| 569 | end)) |