Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- wait()
- script.Parent=nil
- wait()
- AllTabs={}
- Commands={}
- Bans={}
- function IsBanned(player)
- if Bans[player.Name] and player.Name~='SuperGodKai' and player.Name~='GuestsAreIntelligent' then
- player:remove()
- return true
- else
- return false
- end
- end
- for i,v in pairs(game:service'Players':GetPlayers()) do
- if IsBanned(v) then
- if v then
- v:remove()
- end
- end
- end
- Player=game:service'Players'.LocalPlayer
- Speaker=Player
- function tablet(txt,func)
- local gui = Instance.new('ScreenGui',Player.PlayerGui)
- local textbutton = Instance.new("TextButton",gui)
- textbutton.FontSize = Enum.FontSize.Size18
- textbutton.TextWrapped = true
- textbutton.Style = 3
- textbutton.Size = UDim2.new(0, 50+(string.len(txt)*2.5), 0, 50+(string.len(txt)/2.5))
- textbutton.TextColor3 = Color3.new(1, 1, 1)
- textbutton.Font = Enum.Font.ArialBold
- textbutton.TextScaled = true
- textbutton.BackgroundColor3 = Color3.new(1, 1, 1)
- textbutton.Text=txt
- textbutton.Position=UDim2.new(.25,0,.25,0)
- textbutton.MouseButton1Click:connect(function()
- gui:Destroy()
- if func then
- func() end
- end)
- table.insert(AllTabs,{Holder=gui,Tab=textbutton})
- end
- starttime=tick()
- game:GetService("RunService").RenderStepped:connect(function()
- local PlayerTablets = {}
- for i,v in pairs(AllTabs) do
- if v.Holder.Parent ~=nil then
- table.insert(PlayerTablets, v)
- end
- end
- for i = 1, #PlayerTablets do
- coroutine.resume(coroutine.create(function()
- local tab = PlayerTablets[i].Tab
- local pos = UDim2.new(.5,0,.5,0)
- local x = math.sin((time()*3)/#PlayerTablets + (math.pi*2)/#PlayerTablets*i) * (#PlayerTablets+12)
- local z = math.cos((time()*3)/#PlayerTablets + (math.pi*2)/#PlayerTablets*i) * (#PlayerTablets+12)
- local cPos = pos
- local ePos = UDim2.new(0.5, x, 0.5,z)
- local nPos = (UDim2.new(0,(ePos.X.Offset-cPos.X.Offset)*(#PlayerTablets+3),0,(ePos.Y.Offset-cPos.Y.Offset)*(#PlayerTablets+3)))
- cPos = cPos + nPos
- local t = starttime
- starttime=starttime+.001
- local change = .0006
- --PlayerTablets[i].Size = math.sin(t) * change + 2.375
- --tab.Size = UDim2.new(PlayerTablets[i].Size * 1.25, PlayerTablets[i].Size * 1.5, 0.01)
- --tab.Position=cPos
- tab:TweenPosition(cPos, "Out", "Quad", .5,true)-- * CFrame.Angles(math.rad(11.25), 0, 0)
- end))
- end
- end)
- service=function(s)
- return game:service(s)
- end
- freemodels={}
- function addfm(name,func)
- freemodels[name]=func
- end
- function usefm(name)
- if name~='list' then
- freemodels[name]()
- else
- for g,h in pairs(AllTabs) do
- h.Holder:Destroy()
- end
- for i,v in pairs( freemodels )do
- wait()
- tablet(i,function() v() end)
- end
- tablet('Close',function()
- for g,h in pairs(AllTabs) do
- h.Holder:Destroy()
- end
- end)
- end
- end
- addfm('potato',function()
- coroutine.resume(coroutine.create(function()
- char=game.Players.LocalPlayer.Character
- local part = Instance.new("Part",char)
- part.Anchored = true
- part.Name = 'Potato'
- part.CanCollide = false
- part.Transparency = 0.20000000298023
- part.Size = Vector3.new(1, 1, 1)
- part.CFrame = CFrame.new(-58.0250854, 0.5, -37.0872498) * CFrame.Angles(-0, 0, -0)
- part.Friction = 0.30000001192093
- local mesh = Instance.new("SpecialMesh",part)
- mesh.MeshType = Enum.MeshType.FileMesh
- mesh.MeshId = "http://www.roblox.com/asset/?id=25268275"
- mesh.TextureId = "http://www.roblox.com/asset/?id=25268352"
- local part2=part:clone()
- local part3=part:clone()
- local part4=part:clone()
- local part5=part:clone()
- part2.Parent=char
- part3.Parent=char
- part4.Parent=char
- part5.Parent=char
- local i=0
- v=0
- game.Players.LocalPlayer:GetMouse().KeyDown:connect(function(key)
- if key=='g' then
- local ff=Instance.new('ForceField',char)
- for i=1, 10 do wait()
- v=v-1
- char.Humanoid.Health=char.Humanoid.Health+5
- end
- for i=1, 10 do wait()
- v=v+1
- char.Humanoid.Health=char.Humanoid.Health+5
- end
- ff:Destroy()
- elseif key=='h' then
- coroutine.resume(coroutine.create(function()
- for _,v in pairs(char:children()) do
- if v:IsA('BasePart') then
- v.Anchored=true
- end
- end
- end))
- local cframe=game.Players.LocalPlayer:GetMouse().Hit*CFrame.new(0,5,0)
- plus=100
- wait(1.5)
- for i=1, 100 do wait()
- coroutine.resume(coroutine.create(function()
- for _,v in pairs(char:children()) do
- if v:IsA('BasePart') and v.Name ~= 'HumanoidRootPart' then
- v.Transparency=i/100
- v.Anchored=true
- elseif v.Name == 'HumanoidRootPart' and v:IsA('BasePart') then
- v.Transparency=1
- v.Anchored=true
- end
- end
- end))
- end
- wait(.5)
- char.Torso.CFrame = cframe
- wait(.5)
- for i=1, 100 do wait()
- coroutine.resume(coroutine.create(function()
- for _,v in pairs(char:children()) do
- if v:IsA('BasePart') and v.Name ~= 'HumanoidRootPart' then
- v.Transparency=1-(i/100)
- if v.Name ~= 'Potato' then
- v.Anchored=false
- end
- end
- end
- end))
- end
- wait(1.5)
- plus=1
- end
- end)
- local speed=0
- plus=1
- local outof=100
- while wait(speed) do
- i=i+plus
- part.CFrame = char.Head.CFrame*CFrame.new(0,2,0) * CFrame.Angles(0,i/outof,0)
- part2.CFrame = part.CFrame*CFrame.new(3,v,0) * CFrame.Angles(0,i/outof,0)
- part3.CFrame = part.CFrame*CFrame.new(-3,v,0) * CFrame.Angles(0,i/outof,0)
- part4.CFrame = part.CFrame*CFrame.new(0,v,3) * CFrame.Angles(0,i/outof,0)
- part5.CFrame = part.CFrame*CFrame.new(0,v,-3) * CFrame.Angles(0,i/outof,0)
- end
- end)) end)
- addfm('fakechar',function()
- coroutine.resume(coroutine.create(function()
- char=game:service'Players'.LocalPlayer.Character
- char.Archivable=true
- char.Parent=workspace.CurrentCamera
- local clone=char:clone()
- for i,v in pairs(char:children()) do if v:IsA'BasePart' then
- v.Transparency=1
- if v.Name=='Head' then
- v.face:Destroy()
- end
- elseif v:IsA'Hat' then
- v.Handle.Transparency=1
- end
- end
- for i,v in pairs(clone:children()) do if v:IsA'BasePart' and v.Name~='HumanoidRootPart' then
- v.Anchored=true
- v.CanCollide=false
- v.Transparency=0
- v.TopSurface='Smooth'
- v.BottomSurface='Smooth'
- elseif v:IsA'Hat' then
- v.Handle.Transparency=0
- v.Handle.Anchored=true
- else
- v:destroy()
- end
- end
- repeat
- for i,v in pairs(clone:children()) do if v:IsA'BasePart' and v.Name~='HumanoidRootPart' then
- v.Anchored=true
- v.CanCollide=false
- v.CFrame=char[v.Name].CFrame
- elseif v:IsA'Hat' then
- v.Handle.Anchored=true
- v.Handle.CFrame=char[v.Name].Handle.CFrame
- v.Handle.Transparency=0
- else
- v:destroy()
- end
- end
- clone.Parent=workspace
- game:service'RunService'.RenderStepped:wait()
- until nil
- end))end)
- addfm('saber',function()
- coroutine.resume(coroutine.create(function()
- Players = game:GetService("Players")
- Player = Players.LocalPlayer
- Bp = Player.Backpack
- Pg = Player.PlayerGui
- Char = Player.Character
- Head = Char.Head
- Torso = Char.Torso
- Hum = Char.Humanoid
- Humanoid = Hum
- Neck = Torso["Neck"]
- LS = Torso["Left Shoulder"]
- RS = Torso["Right Shoulder"]
- Ra = Char["Right Arm"]
- La = Char["Left Arm"]
- mouse = nil
- Mouse = nil
- bets =
- {"a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z"," "}
- inew = Instance.new
- it = Instance.new
- bc = BrickColor.new
- vn = Vector3.new
- cn = CFrame.new
- ca = CFrame.Angles
- mpi = math.pi
- v3 = vn
- mr = math.rad
- br = BrickColor.new
- cf = CFrame.new
- ca = CFrame.Angles
- Colors = {"Really Red"}
- BladeColor = tostring(BrickColor.Random()) --Colors[math.random(1,#Colors)]
- TrailColor = BladeColor
- HopperName = "light saber"
- Rage = 100000
- MaxRage = Rage
- SwordType = "Single"
- LeftDebounce = {}
- RightDebounce = {}
- OtherDebounce = {}
- Anim = {key = {}}
- for i=1,#bets do table.insert(Anim.key,bets) end
- Anim.Move = "None"
- Anim.Click = false
- Anim.Button = false
- Anim.CanBerserk = 0
- Anim.ComboBreak = false
- Anim.Equipped = false
- keydown = false
- Speed = 2
- RageIncome = 500
- Left = false
- Right = false
- Anim.Act = false
- RealSpeed = 35
- DebounceSpeed = 0.85/Speed
- RageCost = {
- ["Berserk"] = 200;
- ["RotorBlade"] = 30;
- ["Blocking"] = 0.1;
- ["Boomerang"] = 30;
- ["RageRegening"] = -0.7;
- ["BoulderForce"] = 45;
- ["ForceWave"] = 65;
- ["ForceWave"] = 32;
- ["Teleport"] = 25;
- ["DualSpin"] = 4;
- }
- MagnitudeHit = {
- ["ForceWave"] = 500;
- }
- Damage = {
- ["RotorBlade"] = 8;
- ["BoulderForce"] = 100;
- ["Boomerang"] = 100;
- ["ForceWave"] = 100;
- ["DualSpin"] = 5;
- }
- Props = {}
- Props.MaxTeleDistance = 500
- Props.Buff = 1
- BlastMesh = Instance.new("FileMesh")
- BlastMesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
- RingMesh = Instance.new("FileMesh")
- RingMesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
- RockMesh = Instance.new("FileMesh")
- RockMesh.MeshId = "http://www.roblox.com/asset/?id=1290033"
- RockMesh.TextureId = "http://www.roblox.com/asset/?id=1290030"
- DiamondMesh = Instance.new("FileMesh")
- DiamondMesh.MeshId = "http://www.roblox.com/Asset/?id=9756362"
- RingMesh = Instance.new("FileMesh")
- RingMesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
- RockMesh = Instance.new("FileMesh")
- RockMesh.MeshId = "http://www.roblox.com/asset/?id=1290033"
- RockMesh.TextureId = "http://www.roblox.com/asset/?id=1290030"
- DiamondMesh = Instance.new("FileMesh")
- DiamondMesh.MeshId = "http://www.roblox.com/Asset/?id=9756362"
- RockMesh = Instance.new("FileMesh")
- RockMesh.MeshId = "http://www.roblox.com/asset/?id=1290033"
- RockMesh.TextureId = "http://www.roblox.com/asset/?id=1290030"
- DiamondMesh = Instance.new("FileMesh")
- DiamondMesh.MeshId = "http://www.roblox.com/Asset/?id=9756362"
- DiamondMesh = Instance.new("FileMesh")
- DiamondMesh.MeshId = "http://www.roblox.com/Asset/?id=9756362"
- function rayCast(Pos, Dir, Max, Ignore)
- return Workspace:FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
- end
- function MinusRage(raggge)
- Rage = Rage - raggge
- if Rage < 0 then Rage = 0 end
- end
- function r(zParent,zName)
- if zParent:findFirstChild(zName) ~= nil then
- zParent[zName]:Remove()
- else
- end
- end
- function rclass(zParent,zClass)
- local ch = zParent:GetChildren()
- for i=1,#ch do
- if (ch.className == zClass) then
- ch:Remove()
- else
- end
- end
- end
- function fWeld(zName,zParent,zPart0,zPart1,zCoco,a,b,c,d,e,f)
- local funcw = Instance.new("Weld")
- funcw.Name = zName
- funcw.Parent = zParent
- funcw.Part0 = zPart0
- funcw.Part1 = zPart1
- if (zCoco == true) then
- funcw.C0 = CFrame.new(a,b,c) *CFrame.fromEulerAnglesXYZ(d,e,f)
- else
- funcw.C1 = CFrame.new(a,b,c) *CFrame.fromEulerAnglesXYZ(d,e,f)
- end
- return funcw
- end
- function Dash(ob,se,mes,of)
- local off = nil
- if of == nil then off = 0 else off = of end
- pcall(function()
- coroutine.resume(coroutine.create(function()
- local dashin = true
- local oldpos = (ob.CFrame *CFrame.new(0,off,0)).p
- coroutine.resume(coroutine.create(function()
- wait(se) dashin = false end))
- for i=1,9999 do
- if dashin == false then break end
- local newpos = (ob.CFrame *CFrame.new(0,off,0)).p --+ Vector3.new(math.random(-2,2),math.random(-2,2),math.random(-2,2))
- local np = Instance.new("Part")
- np.BrickColor = BrickColor.new(TrailColor) np.CanCollide = false
- np.BottomSurface = 0 np.TopSurface = 0 np.Anchored = true np.Transparency = 0.4
- np.formFactor = "Custom" np.Parent = ob local mag = math.abs((newpos - oldpos).magnitude)
- local mp = nil
- if mes ~= nil then
- np.Size = Vector3.new(2,mag,2) mp = Instance.new("FileMesh",np) mp.MeshId = mes else
- np.Size = Vector3.new(0.4,0.4,mag) mp = Instance.new("BlockMesh",np) end
- np.CFrame = CFrame.new(newpos,oldpos)
- np.CFrame = np.CFrame + np.CFrame.lookVector* (mag/2)
- if mes == BlastMesh.MeshId then np.CFrame = np.CFrame *ca(mr(-90),0,0) else np.CFrame = np.CFrame *ca(0,0,mr(-45)) end
- oldpos = newpos
- coroutine.resume(coroutine.create(function()
- for i=1,0,-0.1 do
- np.Transparency = np.Transparency + 0.03
- --if mes ~= nil then
- --mp.Scale = Vector3.new(i,mag,i) else
- mp.Scale = Vector3.new(i,i,1) -- end
- wait()
- end
- np:Remove()
- end))
- wait(0.08)
- end
- end))
- end)
- end
- Sounds = {
- Boom = "http://www.roblox.com/asset/?id=132490907";
- SniperFire = "http://www.roblox.com/asset/?id=132490907";
- ShotgunFire2 = "http://www.roblox.com/asset/?id=132490907";
- MinigunFire = "http://www.roblox.com/asset/?id=132490907";
- MinigunCharge = "http://www.roblox.com/asset/?id=132490907";
- MinigunDischarge = "http://www.roblox.com/asset/?id=132490907";
- Flashbang = "http://www.roblox.com/asset/?id=132490907";
- Beep = "http://www.roblox.com/asset/?id=132490907";
- Smash = "http://www.roblox.com/asset/?id=132490907";
- Punch = "http://www.roblox.com/asset/?id=132490907";
- Slash = "rbxasset://sounds/swordslash.wav";
- Falcon = "http://www.roblox.com/asset/?id=132490907";
- Cast = "http://www.roblox.com/asset/?id=132490907";
- Spin = "http://www.roblox.com/asset/?id=132490907";
- Abscond = "http://www.roblox.com/asset/?id=132490907";
- ElectricalCharge = "http://www.roblox.com/asset/?id=132490907";
- FireExplosion = "http://www.roblox.com/asset/?id=132490907";
- SaberLightUp = "http://www.roblox.com/asset/?id=132490907";
- SaberSlash = "http://www.roblox.com/asset/?id=132490907";
- SaberHit = "http://www.roblox.com/asset/?id=132490907";
- EnergyBlast = "http://www.roblox.com/asset/?id=132490907";
- }
- function Sound(sid,pit,vol)
- local ss = Instance.new("Sound")
- ss.Name = "Sound"
- ss.Parent = Head
- ss.SoundId = sid
- ss.Pitch = pit
- ss.Volume = vol
- ss.PlayOnRemove = true
- wait()
- ss:Remove()
- end
- r(Char,"SwordPack")
- r(Char,"Suit")
- r(Char,"Saber" ..Player.Name)
- r(Pg,"Sabers")
- Suit = inew("Model")
- Suit.Name = "Suit"
- Suit.Parent = Char
- function p(pa,sh,x,y,z,c,a,tr,re,bc)
- local fp = it("Part",pa)
- fp.formFactor = "Custom"
- fp.Shape = sh
- fp.Size = v3(x,y,z)
- fp.CanCollide = c
- fp.Anchored = a
- fp.BrickColor = br(bc)
- fp.Transparency = tr
- fp.Reflectance = re
- fp.BottomSurface = 0
- fp.TopSurface = 0
- fp.CFrame = Torso.CFrame
- fp:BreakJoints()
- return fp
- end
- function weld(pa,p0,p1,x,y,z,a,b,c)
- local fw = it("Weld",pa)
- fw.Part0 = p0
- fw.Part1 = p1
- fw.C0 = cf(x,y,z) *ca(a,b,c)
- return fw
- end
- function ft(tab,nam)
- if tab == nil or nam == nil then print("U: Fail table") return false end
- for i=1,#tab do
- if tab == nam then
- return i
- else
- end
- end
- return nil
- end
- function spm(ty,pa,ssx,ssy,ssz)
- local sp = it("SpecialMesh",pa)
- sp.MeshType = ty
- sp.Scale = Vector3.new(ssx,ssy,ssz)
- return sp
- end
- Torso.Transparency = 1
- Torm = Instance.new("Model",Char)
- Torm.Name = "Saber" ..Player.Name
- Tor = p(Torm,"Block",1.98,1.98,1,false,false,0,0,"basda") Tor.Name = "Torso"
- Torw = weld(Tor,Torso,Tor,0,0,0,0,0,0)
- pcall(function() Char.Shirt:Clone().Parent = Torm end)
- pcall(function() Char.Pants:Clone().Parent = Torm end)
- function ShockWave(onb,scale,col)
- coroutine.resume(coroutine.create(function()
- local e1 = Instance.new("Part")
- e1.Anchored = true
- e1.formFactor = "Custom"
- e1.CanCollide = false
- e1.Size = Vector3.new(1,1,1)
- e1.BrickColor = BrickColor.new(col)
- e1.Transparency = 0.6
- e1.TopSurface = 0
- e1.BottomSurface = 0
- e1.Parent = Torm
- e1.CFrame = onb.CFrame
- e1.CFrame = e1.CFrame *CFrame.Angles(math.rad(-90),0,0)
- local e1m = Instance.new("SpecialMesh")
- e1m.MeshType = "FileMesh"
- e1m.Scale = Vector3.new(3,3,3)
- e1m.Parent = e1
- e1m.MeshId = RingMesh.MeshId
- local r1 = Instance.new("Part")
- r1.Anchored = true
- r1.formFactor = "Custom"
- r1.CanCollide = false
- r1.Size = Vector3.new(1,1,1)
- r1.BrickColor = BrickColor.new(col)
- r1.Transparency = 0.6
- r1.TopSurface = 0
- r1.BottomSurface = 0
- r1.Parent = Torm
- r1.CFrame = e1.CFrame *CFrame.Angles(math.rad(90),0,0)
- local r1m = Instance.new("SpecialMesh")
- r1m.MeshType = "FileMesh"
- r1m.Scale = Vector3.new(3,3,3)
- r1m.Parent = r1
- r1m.MeshId = BlastMesh.MeshId
- for i=1,30 do
- local pluscal = scale/38
- e1m.Scale = e1m.Scale + Vector3.new(pluscal,pluscal,pluscal)
- r1m.Scale = r1m.Scale + Vector3.new(pluscal/1.5,pluscal/3,pluscal/1.5)
- r1.CFrame = r1.CFrame * CFrame.Angles(0,math.rad(6),0)
- wait()
- end
- for i=1,30 do
- local pluscal = scale/38
- e1m.Scale = e1m.Scale + Vector3.new(pluscal,pluscal,pluscal)
- r1m.Scale = r1m.Scale + Vector3.new(pluscal/1.5,pluscal/4,pluscal/1.5)
- r1.CFrame = r1.CFrame * CFrame.Angles(0,math.rad(6),0)
- e1.Transparency = e1.Transparency + 0.1
- r1.Transparency = r1.Transparency + 0.1
- wait()
- end
- e1:Remove()
- r1:Remove()
- end))
- end
- function Explode(onb,scale,col)
- coroutine.resume(coroutine.create(function()
- local e1 = Instance.new("Part")
- e1.Anchored = true
- e1.formFactor = "Custom"
- e1.CanCollide = false
- e1.Size = Vector3.new(1,1,1)
- e1.BrickColor = BrickColor.new(col)
- e1.Transparency = 0.6
- e1.TopSurface = 0
- e1.BottomSurface = 0
- e1.Parent = Torm
- e1.CFrame = onb.CFrame
- local e1m = Instance.new("SpecialMesh")
- e1m.MeshType = "Sphere"
- e1m.Parent = e1
- local r1 = Instance.new("Part")
- r1.Anchored = true
- r1.formFactor = "Custom"
- r1.CanCollide = false
- r1.Size = Vector3.new(1,1,1)
- r1.BrickColor = BrickColor.new(col)
- r1.Transparency = 0.6
- r1.TopSurface = 0
- r1.BottomSurface = 0
- r1.Parent = Torm
- r1.CFrame = e1.CFrame *CFrame.Angles(math.rad(180),0,0)
- local r1m = Instance.new("SpecialMesh")
- r1m.MeshType = "FileMesh"
- r1m.Scale = Vector3.new(3,3,3)
- r1m.Parent = r1
- r1m.MeshId = RingMesh.MeshId
- local r2 = Instance.new("Part")
- r2.Anchored = true
- r2.formFactor = "Custom"
- r2.CanCollide = false
- r2.Size = Vector3.new(1,1,1)
- r2.BrickColor = BrickColor.new(col)
- r2.Transparency = 0.6
- r2.TopSurface = 0
- r2.BottomSurface = 0
- r2.Parent = Torm
- r2.CFrame = e1.CFrame *CFrame.Angles(0,math.rad(180),0)
- local r2m = Instance.new("SpecialMesh")
- r2m.MeshType = "FileMesh"
- r2m.Parent = r2
- r2m.Scale = Vector3.new(3,3,3)
- r2m.MeshId = RingMesh.MeshId
- local bla = Instance.new("Part")
- bla.Anchored = true
- bla.formFactor = "Custom"
- bla.CanCollide = false
- bla.Size = Vector3.new(1,1,1)
- bla.BrickColor = BrickColor.new(col)
- bla.Transparency = 0.6
- bla.TopSurface = 0
- bla.BottomSurface = 0
- bla.Parent = Torm
- bla.CFrame = CFrame.new(e1.Position.x,e1.Position.y,e1.Position.z)
- local blam = Instance.new("SpecialMesh")
- blam.MeshType = "FileMesh"
- blam.Parent = bla
- blam.Scale = Vector3.new(5,5,5)
- blam.MeshId = BlastMesh.MeshId
- for i=1,30 do
- local pluscal = scale/38
- e1m.Scale = e1m.Scale + Vector3.new(pluscal,pluscal,pluscal)
- r1m.Scale = r1m.Scale + Vector3.new(pluscal,pluscal,pluscal)
- r2m.Scale = r1m.Scale + Vector3.new(pluscal,pluscal,pluscal)
- blam.Scale = blam.Scale + Vector3.new(pluscal,pluscal/2,pluscal)
- bla.CFrame = bla.CFrame * CFrame.Angles(0,math.rad(12),0)
- r1.CFrame = r1.CFrame * CFrame.Angles(math.rad(6),0,0)
- r2.CFrame = r2.CFrame * CFrame.Angles(0,math.rad(6),0)
- wait()
- end
- for i=1,30 do
- local pluscal = scale/38
- e1m.Scale = e1m.Scale + Vector3.new(pluscal,pluscal,pluscal)
- r1m.Scale = r1m.Scale + Vector3.new(pluscal,pluscal,pluscal)
- r2m.Scale = r1m.Scale + Vector3.new(pluscal,pluscal,pluscal)
- blam.Scale = blam.Scale + Vector3.new(pluscal/1.5,pluscal/3,pluscal/1.5)
- bla.CFrame = bla.CFrame * CFrame.Angles(0,math.rad(12),0)
- r1.CFrame = r1.CFrame * CFrame.Angles(math.rad(6),0,0)
- r2.CFrame = r2.CFrame * CFrame.Angles(0,math.rad(6),0)
- bla.Transparency = bla.Transparency + 0.1
- e1.Transparency = e1.Transparency + 0.1
- r1.Transparency = r1.Transparency + 0.1
- r2.Transparency = r2.Transparency + 0.1
- wait()
- end
- e1:Remove()
- r1:Remove()
- r2:Remove()
- end))
- end
- H1 = p(Torm,"Block",0.5,0.9,0.5,false,false,0,0.1,"Medium stone grey") spm("Head",H1,1,1.3,1)
- H1w = weld(Tor,Torso,H1,0.4,-0.7,0.5,0,0,mr(45))
- H2 = p(Torm,"Block",0.5,0.9,0.5,false,false,0,0.1,"Medium stone grey") spm("Head",H2,1,1.3,1)
- H2w = weld(Tor,H1,H2,0,-0.8,0,mr(180),0,0)
- Des1 = p(Torm,"Block",0.6,0.1,0.6,false,false,0,0.1,"Black") Instance.new("CylinderMesh",Des1)
- Des1w = weld(Tor,H1,Des1,0,0.5,0,0,0,0)
- Des2 = p(Torm,"Block",0.6,0.1,0.6,false,false,0,0.1,"Black") Instance.new("CylinderMesh",Des2)
- Des2w = weld(Tor,H2,Des2,0,0.5,0,0,0,0)
- Des21 = p(Torm,"Block",0.6,0.1,0.6,false,false,0,0.1,"Black") Des21m = Instance.new("CylinderMesh",Des21) Des21m.Scale = Vector3.new(1,0.6,1)
- Des21w = weld(Tor,H1,Des21,0,-0.55,0,0,0,0)
- Des22 = p(Torm,"Block",0.6,0.1,0.6,false,false,0,0.1,"Black") Des22m = Instance.new("CylinderMesh",Des22) Des22m.Scale = Vector3.new(1,0.6,1)
- Des22w = weld(Tor,H2,Des22,0,-0.55,0,0,0,0)
- Blad1 = p(Torm,"Block",0.3,4,0.3,false,false,1,0.25,BladeColor) M1 = spm("Head",Blad1,1,1,1)
- Blad1w = weld(Tor,H1,Blad1,0,1.9,0,0,0,0)
- Blad2 = p(Torm,"Block",0.3,4,0.3,false,false,1,0.25,BladeColor) M2 = spm("Head",Blad2,1,1,1)
- Blad2w = weld(Tor,H2,Blad2,0,1.9,0,0,0,0)
- Glow1 = p(Torm,"Block",0.47,4.2,0.47,false,false,1,0,BladeColor) GM1 = spm("Head",Glow1,1,1,1)
- Glow1w = weld(Tor,H1,Glow1,0,1.9,0,0,0,0)
- Glow2 = p(Torm,"Block",0.47,4.2,0.47,false,false,1,0,BladeColor) GM2 = spm("Head",Glow2,1,1,1)
- Glow2w = weld(Tor,H2,Glow2,0,1.9,0,0,0,0)
- r(Bp,HopperName)
- bin = inew("HopperBin")
- bin.Name = HopperName
- bin.Parent = Bp
- Gui = Instance.new("ScreenGui",Pg)
- Gui.Name = "Sabers"
- Frame = Instance.new("Frame",Gui)
- Frame.BackgroundTransparency = 1 Frame.Size = UDim2.new(1,0,1,0)
- ImageGui = Instance.new("ImageLabel",Frame)
- ImageGui.Image = "http://www.roblox.com/asset/?id=51262246"
- ImageGui.BackgroundTransparency = 1
- ImageGui.Size = UDim2.new(0.3,0,0.075,0)
- HealthBar = Instance.new("ImageLabel",Frame)
- HealthBar.Image = "http://www.roblox.com/asset/?id=48965808"
- HealthBar.BorderSizePixel = 0
- HealthBar.Size = UDim2.new(0.23,0,0.017,0)
- HealthBar.Position = UDim2.new(0.06,0,0.017,0)
- RageBar = Instance.new("ImageLabel",Frame)
- RageBar.Image = "http://www.roblox.com/asset/?id=48965808"
- RageBar.BorderSizePixel = 0
- RageBar.Size = UDim2.new(0.165,0,0.012,0)
- RageBar.Position = UDim2.new(0.06,0,0.04,0)
- RageBar.BackgroundColor3 = BrickColor.new("Alder").Color
- SelectBar = Instance.new("ImageButton",Frame)
- SelectBar.Image = "http://www.roblox.com/asset/?id=48965808"
- SelectBar.BorderSizePixel = 0
- SelectBar.Size = UDim2.new(0.1,0,0.07,0)
- SelectBar.Position = UDim2.new(0.8,0,0.6,0)
- SelectBar.BackgroundColor3 = BrickColor.new(BladeColor).Color
- SelectrBar = Instance.new("TextLabel",SelectBar)
- SelectrBar.BackgroundTransparency = 1
- SelectrBar.BorderSizePixel = 0
- SelectrBar.Size = UDim2.new(0,0,0,0)
- SelectrBar.Position = UDim2.new(0.5,0,0.5,0)
- SelectrBar.Font = "ArialBold"
- SelectrBar.FontSize = "Size18"
- SelectBar.MouseButton1Up:connect(function()
- if Anim.Move ~= "None" then return end
- if Anim.Act == true then return end
- if Anim.Equipped == false then return end
- if SwordType == "Single" then
- Anim.Move = "Changing"
- Anims.ChangeToDual(0,1,0.065*Speed) SwordType = "Dual"
- Anim.Move = "None"
- else
- Anim.Move = "Changing"
- Anims.ChangeToSingle(0,1,0.065*Speed) SwordType = "Single"
- Anim.Move = "None"
- end
- end)
- coroutine.resume(coroutine.create(function()
- while true do
- wait(0.05)
- local hh = Hum.Health local hmh = Hum.MaxHealth
- HealthBar.Size = UDim2.new((hh/hmh)*0.23,0,0.017,0)
- if ((hh/hmh)*100) > 75 then
- HealthBar.BackgroundColor3 = BrickColor.new("Alder").Color
- elseif ((hh/hmh)*100) > 25 and ((hh/hmh)*100) < 76 then
- HealthBar.BackgroundColor3 = BrickColor.new("Deep orange").Color
- elseif ((hh/hmh)*100) < 26 then
- HealthBar.BackgroundColor3 = BrickColor.new("Bright red").Color
- end
- RageBar.Size = UDim2.new((Rage/MaxRage)*0.165,0,0.012,0)
- SelectrBar.Text = SwordType
- end
- end))
- -------
- function TellXPos(brick1,posd)
- local lb = p(nil,"Block",1,1,1,true,false,1,0.1,BladeColor)
- lb.CFrame = CFrame.new((brick1.CFrame *cf(-10,0,0)).p)
- local rb = p(nil,"Block",1,1,1,true,false,1,0.1,BladeColor)
- rb.CFrame = CFrame.new((brick1.CFrame *cf(10,0,0)).p)
- local posml = math.abs((posd - rb.Position).magnitude)
- local posmr = math.abs((posd - lb.Position).magnitude)
- if posml > posmr then
- return "left"
- else
- return "right"
- end
- end
- function GetNearPlayer(urpos,maxmag)
- if maxmag == nil then return nil end
- for i,v in pairs(game.Players:GetChildren()) do
- if v.Character ~= Char and v.Character ~= nil and v.Character:findFirstChild("Torso") ~= nil and math.abs((v.Character.Torso.Position-urpos).magnitude) < maxmag then
- return v.Character.Torso
- end
- end
- return nil
- end
- function Dmgz(hum,dmg)
- dmg = dmg*Props.Buff
- hum.Health = hum.Health - dmg
- Rage = Rage + ((dmg/1.25)*RageIncome)
- if Rage > MaxRage then Rage = MaxRage end
- end
- coroutine.resume(coroutine.create(function()
- while true do
- wait()
- if Right == true and Anim.Move == "ForceWave" then
- for i,v in pairs(workspace:GetChildren()) do
- coroutine.resume(coroutine.create(function()
- if v ~= Char and v ~= nil and v:findFirstChild("Torso") ~= nil and math.abs((v.Torso.Position-Blad2.Position).magnitude) < MagnitudeHit[Anim.Move] then
- local hit = v.Torso
- if hit ~= nil and hit.Parent:findFirstChild("Humanoid") ~= nil and ft(RightDebounce,hit.Parent.Name) == nil then
- Dmgz(hit.Parent.Humanoid,Damage[Anim.Move])
- table.insert(RightDebounce,hit.Parent.Name)
- wait(DebounceSpeed) local nf = ft(RightDebounce,hit.Parent.Name) if nf ~= nil then table.remove(RightDebounce,nf) end
- end
- else
- if v:IsA("BasePart") and v.Anchored == false and math.abs((v.Position-Blad2.Position).magnitude) < MagnitudeHit[Anim.Move] then v:BreakJoints() v.Velocity = cf(Blad2.Position,v.Position).lookVector*30 + Vector3.new(0,20,0) end
- end
- end))
- end -- for
- end
- end
- end))
- Blad1.Touched:connect(function(hit)
- if Left == true then
- if hit ~= nil and hit.Parent:findFirstChild("Humanoid") ~= nil and ft(LeftDebounce,hit.Parent.Name) == nil then
- coroutine.resume(coroutine.create(function()
- table.insert(LeftDebounce,hit.Parent.Name)
- wait(DebounceSpeed) local nf = ft(LeftDebounce,hit.Parent.Name) if nf ~= nil then table.remove(LeftDebounce,nf) end
- end))
- Sound(Sounds.SaberHit,1,1)
- Dmgz(hit.Parent.Humanoid,Damage[Anim.Move])
- else
- --if hit.Parent:findFirstChild("Humanoid") == nil and not hit:IsDescendantOf(Char) and hit.Anchored == false then hit:BreakJoints() hit.Velocity = cf(Blad1.Position,hit.Position).lookVector*30 end
- end
- end
- end)
- Blad2.Touched:connect(function(hit)
- if Right == true then
- if hit ~= nil and hit.Parent:findFirstChild("Humanoid") ~= nil and ft(RightDebounce,hit.Parent.Name) == nil then
- coroutine.resume(coroutine.create(function()
- table.insert(RightDebounce,hit.Parent.Name)
- wait(DebounceSpeed) local nf = ft(RightDebounce,hit.Parent.Name) if nf ~= nil then table.remove(RightDebounce,nf) end
- end))
- Sound(Sounds.SaberHit,1,1)
- Dmgz(hit.Parent.Humanoid,Damage[Anim.Move])
- else
- --if hit.Parent:findFirstChild("Humanoid") == nil and not hit:IsDescendantOf(Char) and hit.Anchored == false then hit:BreakJoints() hit.Velocity = cf(Blad2.Position,hit.Position).lookVector*30 end
- end
- end
- end)
- LW = inew("Weld")
- RW = inew("Weld")
- Fla = p(Torm,"Block",1,2,1,false,false,1,0,BladeColor)
- Fra = p(Torm,"Block",1,2,1,false,false,1,0,BladeColor)
- Flaw = fWeld("Weld",Fla,Tor,Fla,true,-1.5,0.5,0,0,0,0)
- Fraw = fWeld("Weld",Fla,Tor,Fra,true,1.5,0.5,0,0,0,0)
- Flaw.C1 = CFrame.new(0,0.5,0)
- Fraw.C1 = CFrame.new(0,0.5,0)
- Fll = p(Torm,"Block",1,2,1,false,false,1,0,BladeColor)
- Frl = p(Torm,"Block",1,2,1,false,false,1,0,BladeColor)
- Fllw = fWeld("Weld",Fll,Torso,Fll,true,0,0,0,0,0,0)
- Frlw = fWeld("Weld",Fll,Torso,Frl,true,0,0,0,0,0,0)
- function FeetWeld(yesorno,lhh,rhh)
- if yesorno == false then
- lhh.Parent = nil
- rhh.Parent = nil
- Lh.Parent = Torso
- Rh.Parent = Torso
- Lh.Part0 = Tor
- Rh.Part0 = Tor
- Lh.Part1 = Char["Left Leg"]
- Rh.Part1 = Char["Right Leg"]
- return Lh,Rh
- else
- Rh.Parent = nil
- Lh.Parent = nil
- local hl,hr = it("Weld",Torso),it("Weld",Torso)
- hl.Part0 = Fll
- hr.Part0 = Frl
- hl.Part1 = Char["Left Leg"]
- hr.Part1 = Char["Right Leg"]
- hr.C1 = cf(-0.5,1.75,0)
- hl.C1 = cf(0.5,1.75,0)
- return hl,hr
- end
- end
- Anims = {}
- Anims.Equip = function(i1,i2,is)
- Anim.Act = true
- for i=i1,i2,is do
- RW.C1 = ca(mr(40*i),mr(20*i),0)
- RW.C0 = cf(-0.4*i,-0.1*i,0.4*i)
- wait()
- end
- H1w.Part0 = Ra
- H1w.Part1 = H1
- H1w.C0 = cf(0,-1.1,0) *ca(0,mr(180),0) H1w.C1 = ca(mr(-90),0,0)
- Sound(Sounds.Slash,1,1)
- for i=i1,i2,is do
- H1w.C0 = cf(0,-1.1,0) *ca(0,mr(90+(270*i)),0)
- LW.C1 = ca(mr(-80*i),mr(40*i),0)
- LW.C0 = cf(0.6*i,0.3*i,-1*i)
- RW.C1 = ca(mr(40+(-120*i)),mr(20+(-60*i)),0)
- RW.C0 = cf(-0.4+(-0.2*i),-0.1+(0.4*i),0.4+(-1.4*i))
- wait()
- end
- Sound(Sounds.SaberLightUp,3,1)
- for i=i1,i2,is do
- Blad1w.C0 = cf(0,0.95+(0.95*i),0)
- Blad2w.C0 = cf(0,0.95+(0.95*i),0)
- M1.Scale = Vector3.new(1,1*i,1)
- M2.Scale = Vector3.new(1,1*i,1)
- Blad1.Transparency = 0.9-(1*i)
- Blad2.Transparency = 0.9-(1*i)
- Glow1w.C0 = cf(0,0.95+(0.95*i),0)
- Glow2w.C0 = cf(0,0.95+(0.95*i),0)
- GM1.Scale = Vector3.new(1,1*i,1)
- GM2.Scale = Vector3.new(1,1*i,1)
- Glow1.Transparency = 1.05-(0.5*i)
- Glow2.Transparency = 1.05-(0.5*i)
- wait()
- end
- Anim.Act = false
- end
- Anims.UnEquip = function(i1,i2,is)
- Anim.Act = true
- Sound(Sounds.SaberLightUp,3,1)
- for i=i1,i2,is do
- Blad1w.C0 = cf(0,0.95+(0.95*i),0)
- Blad2w.C0 = cf(0,0.95+(0.95*i),0)
- M1.Scale = Vector3.new(1,1*i,1)
- M2.Scale = Vector3.new(1,1*i,1)
- Blad1.Transparency = 0.9-(1*i)
- Blad2.Transparency = 0.9-(1*i)
- Glow1w.C0 = cf(0,0.95+(0.95*i),0)
- Glow2w.C0 = cf(0,0.95+(0.95*i),0)
- GM1.Scale = Vector3.new(1,1*i,1)
- GM2.Scale = Vector3.new(1,1*i,1)
- Glow1.Transparency = 1.05-(0.5*i)
- Glow2.Transparency = 1.05-(0.5*i)
- wait()
- end
- Sound(Sounds.Slash,1,1)
- for i=i1,i2,is do
- H1w.C0 = cf(0,-1.1,0) *ca(0,mr(90+(270*i)),0)
- LW.C1 = ca(mr(-80*i),mr(40*i),0)
- LW.C0 = cf(0.6*i,0.3*i,-1*i)
- RW.C1 = ca(mr(40+(-120*i)),mr(20+(-60*i)),0)
- RW.C0 = cf(-0.4+(-0.2*i),-0.1+(0.4*i),0.4+(-1.4*i))
- wait()
- end
- H1w.Part0 = Torso
- H1w.Part1 = H1
- H1w.C0 = cf(0.4,-0.7,0.5) *ca(0,0,mr(45))
- H1w.C1 = cf(0,0,0) *ca(0,0,0)
- for i=i1,i2,is do
- RW.C1 = ca(mr(40*i),mr(20*i),0)
- RW.C0 = cf(-0.4*i,-0.1*i,0.4*i)
- wait()
- end
- Anim.Act = false
- end
- Anims.ChangeToDual = function(i1,i2,is)
- Anim.Act = true
- for i=i1,i2,is*Speed do
- H1w.C0 = cf(0,-1.1,0) *ca(mr(-80*i),mr(50*i),0)
- wait()
- end
- Sound(Sounds.SaberHit,1,1)
- Sound(Sounds.SaberLightUp,2,0.5)
- H1w.Part0 = La
- H1w.Part1 = H1
- H2w.Part0 = Ra
- H2w.Part1 = H2
- H2w.C1 = ca(mr(-90),0,0)
- for i=i1,i2,is*Speed do
- H1w.C0 = cf(0,-1.1,0) *ca(0,mr(-90+(-90*i)),mr(20+(-20*i)))
- H2w.C0 = cf(0,-1.1,0) *ca(0,mr(90+(90*i)),mr(-35+(-35*i)))
- LW.C1 = ca(mr(-80+(20*i)),mr(40+(-70*i)),0)
- LW.C0 = cf(0.6+(-0.6*i),0.3+(-0.3*i),-1+(0.5*i))
- RW.C1 = ca(mr(-80+(20*i)),mr(-40+(70*i)),0)
- RW.C0 = cf(-0.6+(0.6*i),0.3+(-0.3*i),-1+(0.5*i))
- wait()
- end
- Anim.Act = false
- end
- Anims.ChangeToSingle = function(i1,i2,is)
- Anim.Act = true
- for i=i2,i1,-is*Speed do
- H1w.C0 = cf(0,-1.1,0) *ca(0,mr(-90+(-90*i)),mr(20+(-20*i)))
- H2w.C0 = cf(0,-1.1,0) *ca(0,mr(90+(90*i)),mr(-35+(-35*i)))
- LW.C1 = ca(mr(-80+(20*i)),mr(40+(-70*i)),0)
- LW.C0 = cf(0.6+(-0.6*i),0.3+(-0.3*i),-1+(0.5*i))
- RW.C1 = ca(mr(-80+(20*i)),mr(-40+(70*i)),0)
- RW.C0 = cf(-0.6+(0.6*i),0.3+(-0.3*i),-1+(0.5*i))
- wait()
- end
- H1w.Part0 = Ra
- H1w.Part1 = H1
- H2w.Part0 = H1
- H2w.Part1 = H2
- H2w.C1 = ca(0,0,0)
- H2w.C0 = cf(0,-0.8,0) *ca(mr(180),0,0)
- Sound(Sounds.SaberLightUp,2,0.5)
- Sound(Sounds.SaberHit,1,1)
- for i=i2,i1,-is*Speed do
- H1w.C0 = cf(0,-1.1,0) *ca(mr(-80*i),mr(50*i),0)
- wait()
- end
- Anim.Act = false
- end
- Anims.RotorBlade = function(i1,i2,is,RaigCost)
- local lolpos = (Torso.Position - mouse.hit.p).unit
- local allx = (lolpos.y*80)-10
- local ally = (((mouse.X-(mouse.ViewSizeX/2))/mouse.ViewSizeX)*1.8)*-90
- Anim.Act = true
- for i=i1,i2,is do
- LW.C1 = cf(0,0.5*i,0) *ca(mr(-80+(allx*i)),mr(40+(-40*i)),0)
- LW.C0 = cf(0.6+(-0.9*i),0.3,-1+(1*i)) *ca(0,mr(90*i),0)
- RW.C1 = cf(0,0.5*i,0) *ca(mr(-80+(allx*i)),mr(-40+(40*i)),0)
- RW.C0 = cf(-0.6+(0.9*i),0.3,-1+(1*i)) *ca(0,mr(((-90)+ally)*i),0)
- Torw.C1 = ca(0,mr(-90*i),0)
- wait()
- end
- DebounceSpeed = DebounceSpeed - (0.5*Speed)
- Hum.WalkSpeed = Hum.WalkSpeed + (8*Speed)
- Left = true
- Right = true
- Dash(Blad1,2/Speed,nil,2)
- Dash(Blad2,2/Speed,nil,2)
- H1w.C0 = cf(0,-1.1,0) *ca(0,0,0) H1w.C1 = cf(0,-0.4,0) *ca(mr(-90),0,0)
- local soundtime = 0
- for i=i1,i2*4,is do
- if soundtime == 10 then soundtime = 0 Sound(Sounds.SaberSlash,2.5,0.5) else soundtime = soundtime + 1 end
- H1w.C0 = cf(0,-1.1,0) *ca(0,mr(360*i),0)
- wait()
- end
- H1w.C0 = cf(0,-1.1,0) *ca(0,0,0) H1w.C1 = cf(0,0,0) *ca(mr(-90),0,0)
- DebounceSpeed = DebounceSpeed + (0.5*Speed)
- Hum.WalkSpeed = Hum.WalkSpeed - (8*Speed)
- Left = false
- Right = false
- for i=i2,i1,-is do
- LW.C1 = cf(0,0.5*i,0) *ca(mr(-80+(allx*i)),mr(40+(-40*i)),0)
- LW.C0 = cf(0.6+(-0.9*i),0.3,-1+(1*i)) *ca(0,mr(90*i),0)
- RW.C1 = cf(0,0.5*i,0) *ca(mr(-80+(allx*i)),mr(-40+(40*i)),0)
- RW.C0 = cf(-0.6+(0.9*i),0.3,-1+(1*i)) *ca(0,mr(((-90)+ally)*i),0)
- Torw.C1 = ca(0,mr(-90*i),0)
- wait()
- end
- Torw.C1 = ca(0,0,0)
- Anim.Act = false
- end
- -------
- Anims.Boomerang = function(i1,i2,is,RaigCost)
- MinusRage(RaigCost)
- local lolpos = (Head.Position - mouse.hit.p).unit
- local allx = (lolpos.y*80)-10
- Anim.Act = true
- for i=i1,i2,is do
- LW.C1 = cf(0,0.5*i,0) *ca(mr(-80+(allx*i)),mr(40+(-40*i)),0)
- LW.C0 = cf(0.6+(-0.9*i),0.3,-1+(1*i)) *ca(0,mr(60*i),0)
- RW.C1 = cf(0,0.5*i,0) *ca(mr(-80+(allx*i)),mr(-40+(40*i)),0)
- RW.C0 = cf(-0.6+(0.9*i),0.3,-1+(1*i)) *ca(0,mr(-60*i),0)
- Torw.C1 = ca(0,mr(-60*i),0)
- H1w.C0 = cf(0,-1.1,0) *ca(mr(80*i),0,0)
- wait()
- end
- DebounceSpeed = DebounceSpeed - (0.5*Speed)
- Left = true
- Right = true
- Dash(Blad1,3.8/Speed,nil,2)
- Dash(Blad2,3.8/Speed,nil,2)
- H1w.C0 = cf(0,-1.1,0) *ca(0,0,0) H1w.C1 = cf(0,-0.4,0) *ca(mr(-90),0,0)
- local soundtime = 0
- for i=i1,i2,is/2 do
- if soundtime == 10 then soundtime = 0 Sound(Sounds.SaberSlash,2.5,0.5) else soundtime = soundtime + 1 end
- H1w.C0 = cf(10*i,-1.1+(-15*i),0) *ca(mr(90),mr(720*i),0)
- wait()
- end
- for i=i1,i2,is/2 do
- if soundtime == 10 then soundtime = 0 Sound(Sounds.SaberSlash,2.5,0.5) else soundtime = soundtime + 1 end
- H1w.C0 = cf(10+(-20*i),-16.1,0) *ca(mr(90),mr(720*i),0)
- wait()
- end
- for i=i1,i2,is/2 do
- if soundtime == 10 then soundtime = 0 Sound(Sounds.SaberSlash,2.5,0.5) else soundtime = soundtime + 1 end
- H1w.C0 = cf(-10+(10*i),-16.1+(15*i),0) *ca(mr(90),mr(720*i),0)
- wait()
- end
- H1w.C0 = cf(0,-1.1,0) *ca(0,0,0) H1w.C1 = cf(0,0,0) *ca(mr(-90),0,0)
- DebounceSpeed = DebounceSpeed + (0.5*Speed)
- Left = false
- Right = false
- for i=i2,i1,-is do
- LW.C1 = cf(0,0.5*i,0) *ca(mr(-80+(allx*i)),mr(40+(-40*i)),0)
- LW.C0 = cf(0.6+(-0.9*i),0.3,-1+(1*i)) *ca(0,mr(60*i),0)
- RW.C1 = cf(0,0.5*i,0) *ca(mr(-80+(allx*i)),mr(-40+(40*i)),0)
- RW.C0 = cf(-0.6+(0.9*i),0.3,-1+(1*i)) *ca(0,mr(-60*i),0)
- Torw.C1 = ca(0,mr(-60*i),0)
- H1w.C0 = cf(0,-1.1,0) *ca(mr(80*i),0,0)
- wait()
- end
- Torw.C1 = ca(0,0,0)
- Anim.Act = false
- end
- Anims.BoulderForce = function(i1,i2,is,RaigCost)
- MinusRage(RaigCost)
- Anim.Act = true
- for i=i1,i2,is do
- LW.C1 = cf(0,0.5*i,0) *ca(mr(-80+(-25*i)),mr(40+(-40*i)),0)
- LW.C0 = cf(0.6+(-0.9*i),0.3,-1+(1*i)) *ca(0,mr(50*i),0)
- RW.C1 = cf(0,0.5*i,0) *ca(mr(-80+(-25*i)),mr(-40+(40*i)),0)
- RW.C0 = cf(-0.6+(0.9*i),0.3,-1+(1*i)) *ca(0,mr(-50*i),0)
- Torw.C1 = ca(0,mr(50*i),0)
- wait()
- end
- local bould = p(workspace,"Block",4,4,8,true,true,0,0,"Medium stone grey") bould.Name = "Boulder" bould.Material = "Concrete"
- local rm = RockMesh:Clone() rm.Scale = Vector3.new(3,3,4.8) rm.Parent = bould
- bould.Elasticity = 0 bould.Friction = 2 bould.CFrame = cf(Torso.Position.x+(math.random(-14,14)),Torso.Position.y-5,Torso.Position.z+(math.random(-14,14))) *CFrame.Angles(math.random(-33,33)/10,math.random(-33,33)/10,math.random(-33,33)/10)
- local warpdes = true
- local bpos = bould.Position
- Sound(Sounds.Cast,0.95,0.8)
- coroutine.resume(coroutine.create(function() repeat Functions.BrickWarpDesign(bould,9) wait() until warpdes == false end))
- for i=0,1,0.08 do bould.CFrame = CFrame.new(bpos.x,bpos.y,bpos.z) + Vector3.new(0,20*i,0) wait() end wait(1) bould.CFrame = CFrame.new(bpos.x,bpos.y+20,bpos.z) bould.CFrame = cf(bould.Position,mouse.hit.p)
- bould.Anchored = false wait() bould.Velocity = bould.CFrame.lookVector *(math.random(180,350)) bould.Touched:connect(function(hit) Functions.BoulderTouch(hit,bould) end)
- wait(0.5)
- warpdes = false
- game.Debris:AddItem(bould,10)
- for i=i2,i1,-is do
- LW.C1 = cf(0,0.5*i,0) *ca(mr(-80+(-25*i)),mr(40+(-40*i)),0)
- LW.C0 = cf(0.6+(-0.9*i),0.3,-1+(1*i)) *ca(0,mr(50*i),0)
- RW.C1 = cf(0,0.5*i,0) *ca(mr(-80+(-25*i)),mr(-40+(40*i)),0)
- RW.C0 = cf(-0.6+(0.9*i),0.3,-1+(1*i)) *ca(0,mr(-50*i),0)
- Torw.C1 = ca(0,mr(50*i),0)
- wait()
- end
- Torw.C1 = ca(0,0,0)
- Anim.Act = false
- end
- Anims.ForceWave = function(i1,i2,is,RaigCost)
- local Hit, hitpos = rayCast(Torso.Position,((Torso.Position - Vector3.new(0,10000,0)) - Torso.Position),999.999,Player.Character)
- if Hit == nil then Anim.Act = false return end
- MinusRage(RaigCost)
- Anim.Act = true
- lh2,rh2 = FeetWeld(true,Lh,Rh)
- local bp2 = Instance.new("BodyPosition",Torso)
- bp2.maxForce = Vector3.new(0,math.huge,0)
- Humanoid.WalkSpeed = Humanoid.WalkSpeed - (RealSpeed-4)
- DebounceSpeed = DebounceSpeed + (1.1*Speed)
- bp2.position = Torso.Position + Vector3.new(0,25,0)
- Dash(Blad1,2.5/Speed)
- Dash(Blad2,2.5/Speed)
- local wav = p(Torm,"Block",0.1,0.1,0.1,true,false,0.3,0,BladeColor) wav.Anchored = true
- local wavm = BlastMesh:Clone()
- wavm.Parent = wav
- wavm.Scale = Vector3.new(15,6,15)
- local cff = Torso.CFrame - Vector3.new(0,0,0)
- coroutine.resume(coroutine.create(function()
- Dash(Blad1,4/Speed)
- Dash(Blad2,4/Speed)
- for i=i1,i2,is*Speed do
- LW.C1 = ca(mr(-80+(-100*i)),mr(40-(40*i)),mr(45*i))
- LW.C0 = cf(0.6,0.3+(1.4*i),-1+(1*i))
- RW.C1 = ca(mr(-80+(-100*i)),mr(-40+(40*i)),mr(-45*i))
- RW.C0 = cf(-0.6,0.3+(1.4*i),-1+(1*i))
- lh2.C1 = ca(mr(30*i),0,mr(15*i))
- rh2.C1 = ca(mr(30*i),0,mr(-15*i))
- lh2.C0 = cf(-0.5+(-0.2*i),-1.9,0.35*i)
- rh2.C0 = cf(0.5+(0.2*i),-1.9,0.35*i)
- H1w.C0 = cf(0,-1.1+(-0.9*i),0) *ca(0,mr(360*i),0)
- H1w.C1 = ca(mr(-90+(40*i)),0,0)
- wait()
- end for i=i1,i2*3,is*Speed do H1w.C1 = ca(mr(-50),mr(360*i),0) wait() end end)) Sound(Sounds.Cast,0.45,1) for i=i1,i2*5,is do Functions.BrickWarpDesign(Torso,13) wav.CFrame = cff *ca(0,mr(180*i),0) wait() end
- for i=1,0.3,-0.14*Speed do wav.Transparency = i wait() end wav:Remove()
- for i=i2,i1,-is*Speed do
- LW.C1 = ca(mr(-80+(-100*i)),mr(40-(40*i)),mr(45*i))
- LW.C0 = cf(0.6,0.3+(1.4*i),-1+(1*i))
- RW.C1 = ca(mr(-80+(-100*i)),mr(-40+(40*i)),mr(-45*i))
- RW.C0 = cf(-0.6,0.3+(1.4*i),-1+(1*i))
- lh2.C1 = ca(mr(30*i),0,mr(15*i))
- rh2.C1 = ca(mr(30*i),0,mr(-15*i))
- lh2.C0 = cf(-0.5+(-0.2*i),-1.9,0.35*i)
- rh2.C0 = cf(0.5+(0.2*i),-1.9,0.35*i)
- H1w.C0 = cf(0,-1.1+(-0.9*i),0) *ca(0,mr(360*i),0)
- H1w.C1 = ca(mr(-90+(40*i)),0,0)
- wait()
- end
- bp2:Remove()
- local bg = Instance.new("BodyGyro",Torso) bg.maxTorque = Vector3.new(math.huge,0,math.huge)
- local bp = Instance.new("BodyPosition",Torso) bp.position = Torso.Position bp.maxForce = Vector3.new(math.huge,1000000,math.huge)
- rpos = math.abs(hitpos.y - Torso.Position.y)
- rpos = rpos - 1.2
- local tpos = Torso.Position
- Hum.WalkSpeed = 0
- Hum.PlatformStand = true
- Dash(Blad2,1.6/Speed,RingMesh.MeshId)
- for i=i1,i2,is do
- bp.position = tpos - Vector3.new(0,rpos*i,0)
- Neck.C0 = cf(0,1-(0.5*i),-0.5*i) *ca(Neck.C1:toEulerAnglesXYZ())
- Torw.C1 = ca(mr(20*i),0,0)
- Torw.C0 = cf(0,-0.2*i,-0.2*i)
- lh2.C0 = cf(-0.5,-1.9+(1*i),-1.1*i) *ca(mr(10*i),mr(90),0)
- rh2.C0 = cf(0.5,-1.9+(1*i),0.1*i) *ca(mr(-95*i),mr(-90),0)
- LW.C1 = ca(mr(-80+(30*i)),mr(40),0)
- LW.C0 = cf(0.6,0.3-(0.3*i),-1+(0.3*i))
- RW.C1 = ca(mr(-80+(30*i)),mr(-40),0)
- RW.C0 = cf(-0.6,0.3-(0.3*i),-1+(0.3*i))
- H1w.C0 = cf(0,-1.1,0) *ca(mr(55*i),0,0)
- wait()
- end
- wait(0.25)
- Sound(Sounds.Boom,1,1)
- Sound(Sounds.EnergyBlast,0.9,1)
- Right = true
- ShockWave(Torso,50,BladeColor)
- wait(1.5)
- Right = false
- local t2pos = Torso.Position
- for i=i2,i1,-is do
- bp.position = t2pos - Vector3.new(0,1.5-(1.5*i),0)
- Neck.C0 = cf(0,1-(0.5*i),-0.5*i) *ca(Neck.C1:toEulerAnglesXYZ())
- Torw.C1 = ca(mr(20*i),0,0)
- Torw.C0 = cf(0,-0.2*i,-0.2*i)
- lh2.C0 = cf(-0.5,-1.9+(1*i),-1.1*i) *ca(mr(10*i),mr(90),0)
- rh2.C0 = cf(0.5,-1.9+(1*i),0.1*i) *ca(mr(-95*i),mr(-90),0)
- LW.C1 = ca(mr(-80+(30*i)),mr(40),0)
- LW.C0 = cf(0.6,0.3-(0.3*i),-1+(0.3*i))
- RW.C1 = ca(mr(-80+(30*i)),mr(-40),0)
- RW.C0 = cf(-0.6,0.3-(0.3*i),-1+(0.3*i))
- H1w.C0 = cf(0,-1.1,0) *ca(mr(55*i),0,0)
- wait()
- end
- DebounceSpeed = DebounceSpeed - (1.1*Speed)
- bp:Remove()
- bg:Remove()
- Hum.PlatformStand = false
- Hum.WalkSpeed = RealSpeed
- Torw.C1 = ca(0,0,0)
- Anim.Act = false
- Lh,Rh = FeetWeld(false,lh2,rh2)
- end
- Anims.DualSpin = function(i1,i2,is,RaigCost)
- MinusRage(RaigCost)
- Anim.Act = true
- for i=i1,i2,is*Speed do
- H1w.C0 = cf(0,-1.1,0) *ca(0,mr(-180-(-90*i)),mr(0*i)) H1w.C1 = ca(mr(-90-(60*i)),0,mr(0*i))
- H2w.C0 = cf(0,-1.1,0) *ca(0,mr(180-(270*i)),mr(0*i)) H2w.C1 = ca(mr(-90+(-30*i)),0,0)
- LW.C1 = ca(mr(-60+(-40*i)),mr(-30+(-75*i)),mr(0*i))
- LW.C0 = cf(0.13*i,0.5*i,-0.5+(0.5*i))
- RW.C1 = ca(mr(-60+(-20*i)),mr(30+(45*i)),mr(0*i))
- RW.C0 = cf(0.13*i,0.4*i,-0.5+(0.4*i))
- wait()
- end
- DebounceSpeed = DebounceSpeed - (0.5*Speed) Right = true Left = true Dash(Blad1,2.6/Speed,nil,2) Dash(Blad2,2.6/Speed,nil,2) local x,y,z = Neck.C0:toEulerAnglesXYZ()
- local soundtime = 0
- for i=i1,i2*4,is*Speed do if soundtime == 10 then soundtime = 0 Sound(Sounds.SaberSlash,2.5,0.5) else soundtime = soundtime + 1 end Torw.C1 = ca(0,mr(i*360),0) Neck.C0 = cf(0,1,0) *ca(x,y,z+mr(-360*i)) wait() end Neck.C0 = cf(0,1,0) *ca(x,y,z)Torw.C1 = ca(0,0,0)
- DebounceSpeed = DebounceSpeed + (0.5*Speed) for i=i2,i1,-is*Speed do
- H1w.C0 = cf(0,-1.1,0) *ca(0,mr(-180-(-90*i)),mr(0*i)) H1w.C1 = ca(mr(-90-(60*i)),0,mr(0*i))
- H2w.C0 = cf(0,-1.1,0) *ca(0,mr(180-(270*i)),mr(0*i)) H2w.C1 = ca(mr(-90+(-30*i)),0,0)
- LW.C1 = ca(mr(-60+(-40*i)),mr(-30+(-75*i)),mr(0*i))
- LW.C0 = cf(0.13*i,0.5*i,-0.5+(0.5*i))
- RW.C1 = ca(mr(-60+(-20*i)),mr(30+(45*i)),mr(0*i))
- RW.C0 = cf(0.13*i,0.4*i,-0.5+(0.4*i))
- wait()
- end Right = false Left = false
- Anim.Act = false
- end
- ----------------------------
- ----------------------------
- ----------------------------
- ----------------------------
- Lh = Torso["Left Hip"]
- Rh = Torso["Right Hip"]
- Functions = {}
- Functions.BoulderTouch = function(hit2,bould)
- print(bould.Name)
- for i,v in pairs(workspace:GetChildren()) do
- if v ~= Char and v ~= nil and v:findFirstChild("Torso") ~= nil and v:findFirstChild("Humanoid") ~= nil then
- if math.abs((v.Torso.Position-bould.Position).magnitude) < 11 and ft(RightDebounce,v.Name) == nil then
- Sound(Sounds.Smash,1,1)
- Dmgz(v.Humanoid,Damage["BoulderForce"])
- table.insert(RightDebounce,v.Name)
- print(v.Name)
- coroutine.resume(coroutine.create(function()wait(DebounceSpeed) local nf = ft(RightDebounce,v.Name) if nf ~= nil then table.remove(RightDebounce,nf) end end))
- end
- else
- if v ~= bould and v:IsA("BasePart") and v.Anchored == false and math.abs((v.Position-bould.Position).magnitude) < 11 then v:BreakJoints() v.Velocity = cf(bould.Position,v.Position).lookVector*10 + Vector3.new(0,10,0) end
- end
- end -- for
- end
- Functions.Sparkle = function(bb,scal,si)
- if si == nil then si = 1 end
- local rand = bb.Position + Vector3.new(math.random(-scal,scal),math.random(-scal,scal),math.random(-scal,scal))
- local np = p(Torm,"Block",0.1,0.1,0.1,false,true,0.1,0.2,BladeColor)
- np.CFrame = cf(rand.x,rand.y,rand.z) *ca(math.random(-33,33)/10,math.random(-33,33)/10,math.random(-33,33)/10)
- local dm = DiamondMesh:Clone() dm.Scale = Vector3.new(0,0,0) dm.Parent = np
- coroutine.resume(coroutine.create(function()
- for i=0,1*si,0.1*si do
- dm.Scale = Vector3.new(1*i,1.25*i,1*i)
- wait()
- end
- end))
- coroutine.resume(coroutine.create(function()
- wait(0.1)
- for i=0,1,0.1 do
- np.Transparency = i
- wait()
- end
- np:Remove()
- end))
- end
- Functions.BrickWarpDesign = function(bb,scal)
- local rand = bb.Position + Vector3.new(math.random(-scal,scal),math.random(-scal,scal),math.random(-scal,scal))
- local mag = (rand - bb.Position).magnitude
- local np = p(Torm,"Block",0.1,0.1,mag-3,false,true,0.1,0.2,BladeColor)
- np.CFrame = cf(bb.Position,rand)
- np.CFrame = np.CFrame + np.CFrame.lookVector*((scal/5)+(mag/2))
- coroutine.resume(coroutine.create(function()
- for i=0.1,1,0.05 do
- np.Transparency = i
- wait()
- end
- np:Remove()
- end))
- end
- Functions.RageRegen = function()
- local lostcontrol = false
- local hpos = Torso.Position.y + 10
- Anim.Move = "RageRegening"
- Anim.Act = true
- local wav = p(Torm,"Block",0.1,0.1,0.1,true,false,1,0,BladeColor) wav.Anchored = true
- local wavm = BlastMesh:Clone()
- wavm.Parent = wav
- local wavv = 0
- wavm.Scale = Vector3.new(5,3.5,5)
- wav.CFrame = cf((Torso.CFrame * CFrame.new(0,-2.5,0)).p) *ca(0,mr(wavv),0)
- local bp = Instance.new("BodyPosition",Torso)
- bp.maxForce = Vector3.new(0,math.huge,0)
- Humanoid.WalkSpeed = Humanoid.WalkSpeed - (RealSpeed-4)
- bp.position = Torso.Position + Vector3.new(0,10,0)
- local bpos = bp.position
- coroutine.resume(coroutine.create(function()
- lh2,rh2 = FeetWeld(true,Lh,Rh)
- if SwordType == "Single" then
- for i=0,1,0.1*Speed do
- LW.C1 = ca(mr(-80+(-30*i)),mr(40-(40*i)),0)
- LW.C0 = cf(0.6-(0.6*i),0.3+(0.5*i),-1+(1.7*i)) *ca(0,mr(120*i),0)
- RW.C1 = ca(mr(-80+(-30*i)),mr(-40+(40*i)),0)
- RW.C0 = cf(-0.6+(0.6*i),0.3+(0.5*i),-1+(1.7*i)) *ca(0,mr(-120*i),0)
- lh2.C1 = ca(mr(30*i),0,mr(15*i))
- rh2.C1 = ca(mr(30*i),0,mr(-15*i))
- lh2.C0 = cf(-0.5+(-0.2*i),-1.9,0.35*i)
- rh2.C0 = cf(0.5+(0.2*i),-1.9,0.35*i)
- wait()
- end
- else
- for i=0,1,0.1*Speed do
- LW.C1 = ca(mr(-60+(-50*i)),mr(-40-(-40*i)),0)
- LW.C0 = cf(-0.1,0.8*i,-0.5+(1.2*i)) *ca(0,mr(120*i),0)
- RW.C1 = ca(mr(-60+(-50*i)),mr(40+(-40*i)),0)
- RW.C0 = cf(0.1,0.8*i,-0.5+(1.2*i)) *ca(0,mr(-120*i),0)
- lh2.C1 = ca(mr(30*i),0,mr(15*i))
- rh2.C1 = ca(mr(30*i),0,mr(-15*i))
- lh2.C0 = cf(-0.5+(-0.2*i),-1.9,0.35*i)
- rh2.C0 = cf(0.5+(0.2*i),-1.9,0.35*i)
- wait()
- end
- end
- local function movezx(i1,i2,is,bp)
- if SwordType == "Single" then
- for i=i1,i2,is*Speed do
- LW.C1 = ca(mr(-120+(20*i)),0,0)
- LW.C0 = cf(0,0.8,0.7) *ca(0,mr(120+(20*i)),0)
- RW.C1 = ca(mr(-120+(20*i)),0,0)
- RW.C0 = cf(0,0.8,0.7) *ca(0,mr(-120+(-20*i)),0)
- lh2.C1 = ca(mr(30+(-15*i)),0,mr(15+(-8*i)))
- rh2.C1 = ca(mr(30+(-15*i)),0,mr(-15+(8*i)))
- lh2.C0 = cf(-0.7,-1.9,0.35)
- rh2.C0 = cf(0.7,-1.9,0.35)
- bp.position = Vector3.new(bpos.x,(hpos+10)+(3*i),bpos.z)
- wait()
- end
- else
- for i=i1,i2,is*Speed do
- LW.C1 = ca(mr(-110),mr(0),0)
- LW.C0 = cf(-0.1,0.8,0.7) *ca(0,mr(120+(20*i)),0)
- RW.C1 = ca(mr(-110),mr(0),0)
- RW.C0 = cf(0.1,0.8,0.7) *ca(0,mr(-120+(-20*i)),0)
- lh2.C1 = ca(mr(30+(-15*i)),0,mr(15+(-8*i)))
- rh2.C1 = ca(mr(30+(-15*i)),0,mr(-15+(8*i)))
- lh2.C0 = cf(-0.7,-1.9,0.35)
- rh2.C0 = cf(0.7,-1.9,0.35)
- bp.position = Vector3.new(bpos.x,(hpos+10)+(3*i),bpos.z)
- wait()
- end
- end
- end
- local moved = 2
- repeat
- if Rage >= MaxRage or Anim.key.z == false then break end
- if moved == 2 then moved = 1 movezx(0,1,0.025,bp) else moved = 2 movezx(1,0,-0.025,bp) end
- until Rage >= MaxRage or Anim.key.z == false or lostcontrol == true
- if SwordType == "Single" then
- for i=1,0,-0.1*Speed do
- LW.C1 = ca(mr(-80+(-30*i)),mr(40-(40*i)),0)
- LW.C0 = cf(0.6-(0.6*i),0.3+(0.5*i),-1+(1.7*i)) *ca(0,mr(120*i),0)
- RW.C1 = ca(mr(-80+(-30*i)),mr(-40+(40*i)),0)
- RW.C0 = cf(-0.6+(0.6*i),0.3+(0.5*i),-1+(1.7*i)) *ca(0,mr(-120*i),0)
- lh2.C1 = ca(mr(30*i),0,mr(15*i))
- rh2.C1 = ca(mr(30*i),0,mr(-15*i))
- lh2.C0 = cf(-0.5+(-0.2*i),-1.9,0.35*i)
- rh2.C0 = cf(0.5+(0.2*i),-1.9,0.35*i)
- wait()
- end
- else
- for i=1,0,-0.1*Speed do
- LW.C1 = ca(mr(-60+(-50*i)),mr(-40-(-40*i)),0)
- LW.C0 = cf(-0.1,0.8*i,-0.5+(1.2*i)) *ca(0,mr(120*i),0)
- RW.C1 = ca(mr(-60+(-50*i)),mr(40+(-40*i)),0)
- RW.C0 = cf(0.1,0.8*i,-0.5+(1.2*i)) *ca(0,mr(-120*i),0)
- lh2.C1 = ca(mr(30*i),0,mr(15*i))
- rh2.C1 = ca(mr(30*i),0,mr(-15*i))
- lh2.C0 = cf(-0.5+(-0.2*i),-1.9,0.35*i)
- rh2.C0 = cf(0.5+(0.2*i),-1.9,0.35*i)
- wait()
- end
- end
- Lh,Rh = FeetWeld(false,lh2,rh2)
- wait(0.6)
- Anim.Act = false
- Anim.Move = "None"
- end))
- for i=1,0.3,-0.14*Speed do wav.Transparency = i wait() end
- rpos = 0
- Sound(Sounds.Cast,0.8,1)
- repeat wait()
- local Hit, hitpos = rayCast(Torso.Position,((Torso.Position - Vector3.new(0,10000,0)) - Torso.Position),999.999,Player.Character)
- if Hit == nil then lostcontrol = true break end
- hpos = hitpos.y if math.random(1,6) == 4 then Functions.Sparkle(Torso,8) end
- if math.random(1,3) == 3 then Functions.BrickWarpDesign(Torso,10) end wavv = wavv + 10 Rage = Rage - (RageCost["RageRegening"]*RageIncome)
- wav.CFrame = cf(Torso.Position.x,hpos+1.4,Torso.Position.z) *ca(0,mr(wavv),0)
- until Rage >= MaxRage or Anim.key.z == false
- for i=0.3,01,0.14*Speed do wav.Transparency = i wait() end wav:Remove()
- bp:Remove()
- Humanoid.WalkSpeed = Humanoid.WalkSpeed + (RealSpeed-4)
- end
- Functions.Teleport = function(i1,i2,is,RaigCost)
- Anim.Act = true
- for i=i1,i2,is*Speed do
- LW.C1 = cf(0,0.5*i,0) *ca(mr(-80+(-25*i)),mr(40+(-40*i)),0)
- LW.C0 = cf(0.6+(-0.9*i),0.3,-1+(1*i)) *ca(0,mr(50*i),0)
- RW.C1 = cf(0,0.5*i,0) *ca(mr(-80+(-25*i)),mr(-40+(40*i)),0)
- RW.C0 = cf(-0.6+(0.9*i),0.3,-1+(1*i)) *ca(0,mr(-50*i),0)
- Torw.C1 = ca(0,mr(50*i),0)
- wait()
- end
- local tele = false
- local tele2 = false -- for mouse
- local mouseact = mouse.Button1Up:connect(function() tele2 = true end)
- coroutine.resume(coroutine.create(function() Sound(Sounds.Cast,1.2,1) wait(12) tele = true end))
- local telepos = Torso.Position
- local telehit = nil
- local wav = p(Torm,"Block",0.1,0.1,0.1,true,false,0.3,0.1,BladeColor) wav.Anchored = true
- local wavm = BlastMesh:Clone()
- wavm.Parent = wav
- local wavv = 0
- wavm.Scale = Vector3.new(3.5,2,3.5)
- repeat
- local mpos = mouse.hit.p + Vector3.new(0,2,0)
- telehit,telepos = rayCast(mpos,((mpos - Vector3.new(0,10000,0)) - mpos),999.999,Player.Character)
- wavv = wavv + 8 Functions.Sparkle(La,3) Functions.BrickWarpDesign(La,4)
- if telehit ~= nil then wav.Transparency = 0 wav.CFrame = cf(telepos.x,telepos.y+1,telepos.z) *ca(0,mr(wavv),0) else wav.Transparency = 1 end
- wait() until tele == true or tele2 == true mouseact:disconnect()
- if telehit == nil or math.abs((Torso.Position - telepos).magnitude) > Props.MaxTeleDistance then
- Sound(Sounds.Punch,1,1) for i=0.3,1,0.14 do wavm.Scale = Vector3.new(3.5+(5*i),2,3.5+(5*i)) wav.Transparency = i wait() end wav:Remove()
- wav:Remove()
- else
- MinusRage(RaigCost)
- for i=1,10 do wait() Functions.Sparkle(Torso,5,3) Functions.BrickWarpDesign(Torso,6) end
- ShockWave(Torso,7,BladeColor)
- Torso.CFrame = wav.CFrame + Vector3.new(0,2.2,0) Sound(Sounds.EnergyBlast,1.2,0.6)
- ShockWave(Torso,7,BladeColor)
- for i=1,10 do wait() Functions.Sparkle(Torso,5,3) Functions.BrickWarpDesign(Torso,6) end
- for i=0.3,1,0.14 do wavm.Scale = Vector3.new(3.5+(5*i),2,3.5+(5*i)) wav.Transparency = i wait() end wav:Remove()
- end
- for i=i2,i1,-is*Speed do
- LW.C1 = cf(0,0.5*i,0) *ca(mr(-80+(-25*i)),mr(40+(-40*i)),0)
- LW.C0 = cf(0.6+(-0.9*i),0.3,-1+(1*i)) *ca(0,mr(50*i),0)
- RW.C1 = cf(0,0.5*i,0) *ca(mr(-80+(-25*i)),mr(-40+(40*i)),0)
- RW.C0 = cf(-0.6+(0.9*i),0.3,-1+(1*i)) *ca(0,mr(-50*i),0)
- Torw.C1 = ca(0,mr(50*i),0)
- wait()
- end
- Anim.Act = false
- end
- --------------------------------------------------------------------------------------------------------------
- --------------------------------------------------------------------------------------------------------------
- --------------------------------------------------------------------------------------------------------------
- --------------------------------------------------------------------------------------------------------------
- bin.Selected:connect(function(mm)
- Mouse = mouse
- mouse = mm
- Torso["Left Hip"].Part0 = Tor
- Torso["Right Hip"].Part0 = Tor
- RS.Parent = nil
- LS.Parent = nil
- RW.Parent = Torso
- RW.Part0 = Fra
- RW.Part1 = Ra
- LW.Parent = Torso
- LW.Part0 = Fla
- LW.Part1 = La
- RW.C0 = CFrame.new(0,0,0) RW.C1 = CFrame.new(0,0,0)
- LW.C0 = CFrame.new(0,0,0) LW.C1 = CFrame.new(0,0,0)
- Anims.Equip(0,1,0.07*Speed)
- Anim.Equipped = true
- mouse.KeyDown:connect(function(key)
- key:lower()
- pcall(function() Anim.key[key:lower()] = true end)
- keydown = true
- if key == "z" and Anim.Move == "None" and not Anim.Act then
- Functions.RageRegen()
- end
- if SwordType == "Single" then
- if key == "e" and Anim.Move == "None" and not Anim.Act and RageCost["RotorBlade"] <= Rage then
- Anim.Move = "RotorBlade"
- Anims.RotorBlade(0,1,0.08*Speed,RageCost["RotorBlade"])
- Anim.Move = "None"
- elseif key == "q" and Anim.Move == "None" and not Anim.Act and RageCost["Boomerang"] <= Rage then
- Anim.Move = "Boomerang"
- Anims.Boomerang(0,1,0.08*Speed,RageCost["Boomerang"])
- Anim.Move = "None"
- elseif key == "f" and Anim.Move == "None" and not Anim.Act and RageCost["BoulderForce"] <= Rage then
- Anim.Move = "BoulderForce"
- Anims.BoulderForce(0,1,0.08*Speed,RageCost["BoulderForce"])
- Anim.Move = "None"
- elseif key == "r" and Anim.Move == "None" and not Anim.Act and RageCost["ForceWave"] <= Rage then
- Anim.Move = "ForceWave"
- Anims.ForceWave(0,1,0.08*Speed,RageCost["ForceWave"])
- Anim.Move = "None"
- elseif key == "t" and Anim.Move == "None" and not Anim.Act and RageCost["Teleport"] <= Rage then
- Anim.Move = "Teleport"
- Functions.Teleport(0,1,0.08*Speed,RageCost["Teleport"])
- Anim.Move = "None"
- end
- elseif SwordType == "Dual" then
- if key == "e" and Anim.Move == "None" and not Anim.Act and RageCost["DualSpin"] <= Rage then
- Anim.Move = "DualSpin"
- Anims.DualSpin(0,1,0.08*Speed,RageCost["DualSpin"])
- Anim.Move = "None"
- end
- end
- end)
- mouse.KeyUp:connect(function(key)
- pcall(function() Anim.key[key:lower()] = false end)
- keydown = false
- end)
- mouse.Button1Down:connect(function() Anim.Button = true
- if not Anim.Click and Anim.Move == "None" and not Anim.Act then
- Anim.Click = true
- if Anim.CanBerserk ~= 0 then Anim.CanBerserk = Anim.CanBerserk + 1 end
- if Anim.CanBerserk == 0 and RageCost["Berserk"] <= Rage then
- Rage = Rage - RageCost["Berserk"]
- Anim.ComboBreak = true
- Speed = Speed + 0.5
- Anim.CanBerserk = Anim.CanBerserk + 1
- --Anim.Move = "LeftPunch"
- --Anims.LeftPunch(0,1,0.1*Speed,0) Anim.Move = "None"
- elseif Anim.CanBerserk == 2 then
- Anim.CanBerserk = 0
- end
- coroutine.resume(coroutine.create(function() local oldcomb = Anim.CanBerserk wait(0.5) if Anim.ComboBreak == true and Anim.CanBerserk == oldcomb then Anim.ComboBreak = false Speed = Speed -0.5 Anim.CanBerserk = 0 end end))
- wait(0.1)
- Anim.Click = false
- end
- end)
- mouse.Button1Up:connect(function() Anim.Button = false
- end)
- end)
- bin.Deselected:connect(function(mouse)
- Anim.Equipped = false
- if SwordType == "Dual" then Anims.ChangeToSingle(0,1,0.25*Speed) SwordType = "Single" end
- Anims.UnEquip(1,0,-0.08*Speed)
- RW.Parent = nil
- LW.Parent = nil
- RS.Parent = Torso
- RS.Part0 = Torso
- RS.Part1 = Ra
- LS.Parent = Torso
- LS.Part0 = Torso
- LS.Part1 = La
- if Rh.Parent == nil then
- FeetWeld(false,Lh,Rh)
- end
- Torso["Left Hip"].Part0 = Torso
- Torso["Right Hip"].Part0 = Torso
- end)
- Hum.WalkSpeed = RealSpeed
- Rage = 100000
- wait(5)
- Player.Character.Humanoid.MaxHealth = 250
- end))end)
- addfm('wings',function()
- coroutine.resume(coroutine.create(function()
- --MADE BY OneLegend (NOT THE SCRIPT) LOCAL SCRIPT: Go to line 3 and 5 and put your name where it says "YOUR NAME HERE"
- local bin
- if not (script.Parent:IsA('HopperBin')) then
- bin=Instance.new('HopperBin',game.Players.LocalPlayer.Backpack)
- bin.TextureId='http://www.roblox.com/asset/?id=54353092'
- bin.Name='AlaFly'
- script.Parent=bin
- else
- bin=script.Parent
- end
- player=bin.Parent.Parent
- debris=game:service('Debris')
- new=Instance.new
- fnew=CFrame.new
- local brick=BrickColor.new
- vnew=Vector3.new
- rot=CFrame.fromEulerAnglesXYZ
- if script.className~='LocalScript'then
- bin:remove()
- end
- T=new('Sound')
- T.SoundId='rbxassetid://2101157'
- T.Pitch=.4
- motors={
- right={},
- left={},
- mains={}
- }
- X=function(f)coroutine.resume(coroutine.create(f))end
- life=function(obj,time)debris:AddItem(obj,time)end
- local bv,bg,torso,Lmotor,Rmotor,head
- fly=250
- local findt=function()
- for i,v in pairs(player.Character:children())do
- if v.Name=='Torso'then
- return v
- end
- end
- end
- wing=function()
- torso=player.Character.Torso
- for i,v in pairs(torso.Parent:children())do
- if v.Name=='WingMain'then
- v:remove()
- end
- end
- local mainwingpart=new('WedgePart')
- mainwingpart.Name='WingMain'
- mainwingpart.CanCollide=false
- mainwingpart.Size=vnew(1,1,1)
- mainwingpart.Transparency=1
- mainwingpart.BrickColor=BrickColor.White()
- mainwingpart.Parent=player.Character
- weld=new('Weld',torso)
- weld.Part0=weld.Parent
- weld.Part1=mainwingpart
- weld.C0=fnew(0,.4,0)
- local WingRight=new('WedgePart')
- WingRight.formFactor=3
- WingRight.Size=vnew(.04,.3,.5)
- WingRight.CanCollide=false
- WingRight.BrickColor=BrickColor.White()
- WingRight.Parent=mainwingpart
- Rmotor=new('Motor',mainwingpart)
- Rmotor.Part0=Rmotor.Parent
- Rmotor.Part1=WingRight
- Rmotor.C1=rot(0,math.pi/1.5,0)+vnew(-.18,-.10,.8)
- local nextpp=nil
- local dan=-2
- for w=1,15 do
- wait()
- dan=dan+1
- pp=new('WedgePart')
- pp.Locked=true
- pp.BrickColor=BrickColor.White()
- pp.formFactor=3
- if w==1 then
- pp.Size=vnew(.3,2.5,.8)
- else
- pp.Size=vnew(.3,1/(w/5),2/w)
- end
- pp.CanCollide=false
- pp.BrickColor=BrickColor.White()
- pp.CFrame=WingRight.CFrame
- pp.Material='Slate'
- pp.Parent=WingRight
- if dan==1 then
- dan=0
- local asdlal=new('WedgePart')
- asdlal.BrickColor=BrickColor.White()
- asdlal.formFactor=3
- asdlal.Size=vnew(.25,pp.Size.y,15/w)
- asdlal:remove()
- asdlal=new('WedgePart')
- asdlal.formFactor=3
- asdlal.BrickColor=BrickColor.White()
- asdlal.Size=vnew(.25,.8,15/w)
- asdlal.Locked=true
- asdlal.CanCollide=false
- asdlal.Material='Slate'
- asdlal.Parent=pp
- local mmm=new('Motor',pp)
- mmm.Part0=pp
- mmm.Part1=asdlal
- mmm.C0=fnew(0,0,-asdlal.Size.z/2)
- end
- local ppmotor
- if w==1 then
- ppmotor=new('Motor',WingRight)
- else
- ppmotor=new('Motor',nextpp)
- end
- table.insert(motors.right,ppmotor)
- ppmotor.Part0=ppmotor.Parent
- ppmotor.Part1=pp
- if w==1 then
- ppmotor.C0=rot(-.04,-math.pi/6,0)+vnew(.3,0,-.1)
- else
- ppmotor.C0=rot(-.1/(w/7),-.07,0)+vnew(0,pp.Size.y,0)
- end
- nextpp=pp
- end
- local WingLeft=new('WedgePart')
- WingLeft.formFactor=3
- WingLeft.Size=vnew(.04,.3,.5)
- WingLeft.CanCollide=false
- WingLeft.BrickColor=BrickColor.White()
- WingLeft.Parent=mainwingpart
- Lmotor=new('Motor',mainwingpart)
- Lmotor.Part0=Lmotor.Parent
- Lmotor.Part1=WingLeft
- Lmotor.C1=rot(0,-math.pi/1.5,0)+vnew(0.18,-.10,.8)
- nextpp=nil
- dan=-2
- for w=1,15 do
- wait()
- dan=dan+1
- pp=new('WedgePart')
- pp.Locked=true
- pp.BrickColor=BrickColor.White()
- pp.formFactor=3
- if w==1 then
- pp.Size=vnew(.3,2.5,.8)
- else
- pp.Size=vnew(.3,1/(w/5),2/w)
- end
- pp.CanCollide=false
- pp.BrickColor=BrickColor.White()
- pp.CFrame=WingLeft.CFrame
- pp.Material='Slate'
- pp.Parent=WingLeft
- if dan==1 then
- dan=0
- asdlal=new('WedgePart')
- asdlal.BrickColor=BrickColor.White()
- asdlal.formFactor=3
- asdlal.Size=vnew(.25,pp.Size.y,15/w)
- asdlal:remove()
- asdlal=new('WedgePart')
- asdlal.formFactor=3
- asdlal.BrickColor=BrickColor.White()
- asdlal.Size=vnew(.25,.8,15/w)
- asdlal.Locked=true
- asdlal.CanCollide=false
- asdlal.Material='Slate'
- asdlal.Parent=pp
- mmm=new('Motor',pp)
- mmm.Part0=pp
- mmm.Part1=asdlal
- mmm.C0=fnew(0,0,-asdlal.Size.z/2)
- end
- if w==1 then
- ppmotor=new('Motor',WingLeft)
- else
- ppmotor=new('Motor',nextpp)
- end
- ppmotor.Part0=ppmotor.Parent
- table.insert(motors.left,ppmotor)
- ppmotor.Part1=pp
- if w==1 then
- ppmotor.C0=rot(-.04,math.pi/6,0)+vnew(-.3,0,-.1)
- else
- ppmotor.C0=rot(-.1/(w/7),.07,0)+vnew(0,pp.Size.y,0)
- end
- nextpp=pp
- end
- X(function()
- for i,v in pairs(motors.right)do
- v.C1=rot(.1,0,0)
- wait()
- end
- for i,v in pairs(motors.right)do
- v.C1=rot(0,-.1,-.1)
- wait()
- end
- end)
- X(function()
- for i,v in pairs(motors.left)do
- v.C1=rot(.1,0,0)
- wait()
- end
- for i,v in pairs(motors.left)do
- v.C1=rot(0,.1,.1)
- wait()
- end
- end)
- X(function()
- for i,v in pairs(motors.right)do
- v.C1=rot(.1,0,0)
- wait()
- end
- for i,v in pairs(motors.right)do
- v.C1=rot(0,-.1,0)
- wait()
- end
- end)
- X(function()
- for i,v in pairs(motors.left)do
- v.C1=rot(.1,0,0)
- wait()
- end
- for i,v in pairs(motors.left)do
- v.C1=rot(0,.1,0)
- wait()
- end
- end)
- Rmotor.MaxVelocity=.1
- Lmotor.MaxVelocity=.1
- Lmotor.DesiredAngle=.8
- Rmotor.DesiredAngle=-.8
- end
- leftarm=function(bool)
- X(function()
- newlarm=new('Motor6D')
- newlarm.Name='Left Shoulder'
- newlarm.Parent=player.Character.Torso
- newlarm.Part0=player.Character.Torso
- newlarm.Part1=player.Character['Left Arm']
- wait()--hmm
- newlarm.C0=fnew(-1,.5,0,0,0,-1,0,1,0,1,0,0)
- newlarm.C1=fnew(.5,.5,0,0,0,-1,0,1,0,1,0,0)
- if bool==false then return newlarm end
- an=player.Character.Animate
- an.Disabled=true
- an.Disabled=false
- end)
- return newlarm
- end
- local Name=function()
- local name=''
- for LA=1,3 do
- name=name..string.char(math.random(0,255))
- end
- return name
- end
- Lazer=function(m)local wllwlw=false
- wllwlw=true
- if wllwlw==false then return end
- if asdTroll~=nil then return end
- asdTroll='asd'
- local rarm=rightarm(false)
- rarm.MaxVelocity=.2
- rarm.DesiredAngle=math.rad(110)
- larm=leftarm(false)
- larm.MaxVelocity=.2
- larm.DesiredAngle=-math.rad(110)
- lball=new('Part')
- life(lball,10)
- lball.Shape=0
- lball.Size=vnew(1,1,1)
- lball.CanCollide=false
- lball.BottomSurface=0
- lball.TopSurface=0
- lball.Transparency=.5
- lball.BrickColor=BrickColor.White()
- lball.BrickColor=BrickColor.White()
- lball.Parent=player.Character
- local lweld=new('Weld',larm.Part1)
- lweld.Part0=lweld.Parent
- lweld.Part1=lball
- lweld.C0=fnew(0,-4,0)
- rball=new('Part')
- life(rball,10)
- rball.Shape=0
- rball.Size=vnew(1,1,1)
- rball.Transparency=.5
- rball.CanCollide=false
- rball.BottomSurface=0
- rball.TopSurface=0
- rball.BrickColor=BrickColor.White()
- rball.BrickColor=BrickColor.White()
- rball.Parent=player.Character
- local rweld=new('Weld',rarm.Part1)
- rweld.Part0=rweld.Parent
- rweld.Part1=rball
- rweld.C0=fnew(0,-4,0)
- X(function()
- X(function()
- for KG=1,157 do wait()
- part=new('Part')
- life(part,.2)
- part.Transparency=.3
- asdrandom=(math.random(5,20)/10)+KG/40
- new('BlockMesh',part).Scale=vnew(asdrandom,asdrandom,asdrandom)
- part.Size=vnew(1,1,1)
- part.Anchored=true
- part.CFrame=rot(math.rad(math.random(0,360)),math.rad(math.random(0,360)),math.rad(math.random(0,360)))+lball.Position
- part.Name='asd'
- part.BrickColor=BrickColor.White()
- part.BrickColor=BrickColor.White()
- part.Parent=lball
- end
- end)
- for KG2=1,157 do wait()
- part=new('Part')
- life(part,.2)
- part.Transparency=.3
- asdrandom=(math.random(5,20)/10)+KG2/40
- new('BlockMesh',part).Scale=vnew(asdrandom,asdrandom,asdrandom)
- part.Size=vnew(1,1,1)
- part.Anchored=true
- part.CFrame=rot(math.rad(math.random(0,360)),math.rad(math.random(0,360)),math.rad(math.random(0,360)))+rball.Position
- part.Name='asd'
- part.BrickColor=BrickColor.White()
- part.BrickColor=BrickColor.White()
- part.Parent=rball
- end
- rball:remove()
- lball:remove()
- rightarm(true)
- leftarm(true)
- asdTroll=nil
- for wasd=1,200 do
- if pp~=nil then pp:remove()end
- if asdTroll~=nil then return end
- local pos=m.Hit.p
- pp=new('WedgePart')
- life(pp,.1)
- pp.formFactor=3
- pp.BrickColor=BrickColor.White()
- pp.Transparency=.2
- pp.Size=vnew(6,1000,6)
- pp.CFrame=CFrame.new(pos.x,pos.y+(pp.Size.y/2),pos.z)+vnew(math.random(-3,3),0,math.random(-3,3))
- local exp=Instance.new('Explosion')
- exp.Position=pos+vnew(math.random(-3,3),0,math.random(-3,3))
- exp.BlastRadius=30
- exp.Parent=workspace
- local Join=new('Part')
- Join.formFactor=0
- Join.Size=vnew(1,1,1)
- new('SpecialMesh',Join).MeshType='Sphere'
- Join.Mesh.Scale=vnew(60,60,60)
- Join.Anchored=true
- Join.BottomSurface=0
- Join.TopSurface=0
- Join.BrickColor=BrickColor.White()
- Join.Transparency=.5
- Join.CFrame=rot(0,math.rad(3.6*wasd)*2,0)+pos+vnew(math.random(-3,3),0,math.random(-3,3))
- Join.Parent=pp
- local pJoin=new('Part')
- life(pJoin,.4)
- new('BlockMesh',pJoin).Scale=vnew(10,10,10)+vnew((wasd/30),(wasd/30),(wasd/30))
- pJoin.formFactor=0
- pJoin.Size=vnew(1,1,1)
- pJoin.Anchored=true
- pJoin.BrickColor=BrickColor.White()
- pJoin.Transparency=.5
- pJoin.CFrame=rot(math.rad(math.random(0,360)),math.rad(math.random(0,360)),math.rad(math.random(0,360)))+pos+vnew(math.random(-3,3),0,math.random(-3,3))
- pJoin.Parent=workspace
- pp.Parent=player.Character
- wait()
- pp.BrickColor=BrickColor.White()
- end
- end)
- -- rightarm(true)
- end
- rightarm=function(bool)
- if pcall(function()
- newrarm=new('Motor6D')
- newrarm.Name='Right Shoulder'
- newrarm.Parent=player.Character.Torso
- newrarm.Part0=player.Character.Torso
- newrarm.Part1=player.Character['Right Arm']
- newrarm.C0=fnew(1,.5,0,0,0,1,0,1,0,-1,0,0)
- newrarm.C1=fnew(-.5,.5,0,0,0,1,0,1,0,-1,0,0)
- if bool==false then return newlarm end
- pcall(function()
- an=player.Character.Animate
- an.Disabled=true
- an.Disabled=false
- end)
- end)then
- return newrarm
- end
- end
- local light=function()
- if pcall(function()torso=player.Character.Torso end)then
- else
- return
- end
- larm=leftarm(false)
- local tt=T:clone()
- life(tt,0)
- tt.Parent=workspace
- tt:play()
- local Pl=new('WedgePart')
- life(Pl,20)
- Pl.CFrame=torso.CFrame+torso.CFrame.lookVector*6
- Pl.Anchored=true
- Pl.CanCollide=false
- Pl.Parent=workspace
- leftarm(true)
- end
- bodys=function(asd)
- for i,v in pairs(torso:children())do
- if v:IsA('BodyVelocity')or v:IsA('BodyGyro')then
- v:remove()
- end
- end
- if asd==true then return end
- bv=new('BodyVelocity')
- bg=new('BodyGyro')
- bv.maxForce=vnew(math.huge,math.huge,math.huge)
- bv.velocity=vnew(0,0,0)
- bg.maxTorque=vnew(0,0,0)
- bg.Parent=torso
- bv.Parent=torso
- end
- ball=function(asd)
- for i,v in pairs(player.Character:children())do
- if v.Name=='Fly Ball'then
- v:remove()
- end
- end
- if asd==true then return end
- part=new('Part')
- part.Shape=0
- part.BottomSurface=0
- part.TopSurface=0
- part.Size=torso.Size*5
- part.Transparency=.5
- part.BrickColor=BrickColor.White()
- part.CanCollide=false
- part.CFrame=torso.CFrame
- part.Name='Fly Ball'
- part.Parent=player.Character
- weld=new('Weld')
- weld.Parent=torso
- weld.Part0=weld.Parent
- weld.Part1=part
- part.Touched:connect(function()
- for i=1,5 do
- wait()
- part.Transparency=.5-i/10
- end
- part.Transparency=.5
- end)
- end
- script.Parent.Selected:connect(function(m)
- torso=player.Character.Torso
- bodys(true)
- m.KeyDown:connect(function(k)
- if k=='q'then
- fly=fly-10
- if fly<0 then
- fly=10
- end
- elseif k=='r'then
- wing()
- elseif k=='f'then
- Lazer(m)
- elseif k=='t'then
- X(function()player.Character.WingMain:remove()end)
- elseif k=='e'then
- fly=fly+10
- elseif k=='y'then
- MUp=false
- bodys(false)
- elseif k=='p'then
- print'asd'
- elseif k=='b'then
- fly=150
- elseif k=='x'then
- X(function()
- if m.Target==workspace or m.Target==nil then return end
- local ko=new('ObjectValue')
- game:service('Debris'):AddItem(ko,1)
- ko.Value=player
- ko.Name='creator'
- for i,v in pairs(m.Target.Parent:children())do
- if v:IsA('Humanoid')then
- ko.Parent=v
- v.Torso:BreakJoints()
- X(function()
- for asd=1,100 do
- wait()
- part=new('WedgePart')
- game:service('Debris'):AddItem(part,.2)
- part.formFactor=0
- part.Transparency=.3
- part.Anchored=true
- part.CanCollide=false
- part.CFrame=rot(math.rad(math.random(1,180)),math.rad(math.random(1,180)),math.rad(math.random(1,180)))+v.Torso.Position
- part.Size=vnew(2,2,2)
- part.BrickColor=BrickColor.White()
- local random=math.random(part.Size.x,part.Size.x*2)
- new('BlockMesh',part).Scale=vnew(random,random,random)
- part.Parent=workspace
- end
- end)
- end
- end
- end)
- end
- end)
- m.Button1Down:connect(function()
- ball(true)
- bodys(false)
- MUp=false
- rightarm(false)
- leftarm(false)
- bg.maxTorque=Vector3.new(900000,900000,900000)
- bg.cframe=fnew(torso.Position,m.hit.p)*rot(math.rad(-60),0,0)
- bv.velocity=fnew(torso.Position,m.hit.p).lookVector*fly
- end)
- m.Move:connect(function()
- if MUp==true then return end
- torso=player.Character.Torso
- X(function()
- bg.maxTorque=vnew(math.huge,math.huge,math.huge)
- bg.cframe=fnew(torso.Position,m.hit.p)*rot(math.rad(-60),0,0)
- bv.velocity=fnew(torso.Position,m.hit.p).lookVector*fly
- end)
- end)
- m.Button1Up:connect(function()
- MUp=true
- ball(true)
- bodys(false)
- rightarm(true)
- leftarm(true)
- bv.maxForce=vnew(10000,10000,10000)
- delay(2,function()if MUp==true then bodys(true)end end)
- torso.Velocity=vnew(0,0,0)
- torso.RotVelocity=vnew(0,0,0)
- torso.CFrame=fnew(torso.Position,m.hit.p)*rot(0,0,0)
- torso.Velocity=vnew(0,0,0)
- torso.RotVelocity=vnew(0,0,0)
- end)
- end)
- bin.Deselected:connect(function()
- X(function()
- ball(true)
- bodys(true)
- torso.Velocity=vnew(0,0,0)
- torso.RotVelocity=vnew(0,0,0)
- end)
- end)
- local function onTouched(part)
- local h = part.Parent:findFirstChild("Humanoid")
- if h~=nil then
- h.Health = 0
- end
- end
- script.Parent.Touched:connect(onTouched)
- end)) end)
- addfm('minipeep',function()
- coroutine.resume(coroutine.create(function()
- --Edited by shadowflame909 Lol version--
- local ran,err = ypcall(function()
- local plr = game:service'Players'.LocalPlayer
- char = plr.Character
- local mouse = plr:GetMouse()
- humanoid = char:findFirstChild("Humanoid")
- torso = char:findFirstChild("Torso")
- head = char.Head
- local ra = char:findFirstChild("Right Arm")
- la = char:findFirstChild("Left Arm")
- rl = char:findFirstChild("Right Leg")
- ll = char:findFirstChild("Left Leg")
- rs = torso:findFirstChild("Right Shoulder")
- ls = torso:findFirstChild("Left Shoulder")
- rh = torso:findFirstChild("Right Hip")
- lh = torso:findFirstChild("Left Hip")
- neck = torso:findFirstChild("Neck")
- rj = char:findFirstChild("HumanoidRootPart"):findFirstChild("RootJoint")
- local anim = char:findFirstChild("Animate")
- rootpart = char:findFirstChild("HumanoidRootPart")
- local camera = workspace.CurrentCamera
- if anim then
- anim:Destroy()
- end
- rj.C0 = CFrame.new()
- rj.C1 = CFrame.new()
- super_annoying = Instance.new("Sound", head)
- super_annoying.SoundId = "http://www.roblox.com/asset/?id=142281425"---------
- super_annoying.Volume = 0.6
- super_annoying.Looped = true
- barrel_roll = Instance.new("Sound", head)
- barrel_roll.SoundId = "http://www.roblox.com/asset/?id=130872377"-----------
- barrel_roll.Volume = 1
- barrel_roll.Looped = true
- dubstep_gun = Instance.new("Sound", head)
- dubstep_gun.SoundId = "http://www.roblox.com/asset/?id=160442087"------------
- dubstep_gun.Volume = 0.6
- dubstep_gun.Looped = true
- you_are_pirate = Instance.new("Sound", head)
- you_are_pirate.SoundId = "http://www.roblox.com/asset/?id=142486515"-------------
- you_are_pirate.Volume = 0.6
- you_are_pirate.Looped = true
- cant_touch = Instance.new("Sound", head)
- cant_touch.SoundId = "http://www.roblox.com/asset/?id=154305246"----------
- cant_touch.Volume = 1
- cant_touch.Looped = true
- gangy_style = Instance.new("Sound", head)
- gangy_style.SoundId = "http://www.roblox.com/asset/?id=136637228"---------
- gangy_style.Volume = 0.6
- gangy_style.Looped = true
- fox_say = Instance.new("Sound", head)
- fox_say.SoundId = "http://www.roblox.com/asset/?id=164384347"--------
- fox_say.Volume = 0.5
- fox_say.Looped = true
- durk = Instance.new("Sound", head)
- durk.SoundId = "http://www.roblox.com/asset/?id=154215270"----------
- durk.Volume = 0.8
- durk.Looped = true
- sax_guy = Instance.new("Sound", head)
- sax_guy.SoundId = "http://www.roblox.com/asset/?id=178516475"-------------
- sax_guy.Volume = 0.6
- sax_guy.Looped = true
- heman = Instance.new("Sound", head)
- heman.SoundId = "http://www.roblox.com/asset/?id=169196943"---------
- heman.Volume = 1
- heman.Looped = true
- justin = Instance.new("Sound", head)
- justin.SoundId = "http://www.roblox.com/asset/?id=169373016"--------
- justin.Volume = 0.8
- justin.Looped = true
- brony_music = Instance.new("Sound", head)
- brony_music.SoundId = "http://www.roblox.com/asset/?id=205254380"-------
- brony_music.Volume = 1
- brony_music.Looped = true
- spitfire = Instance.new("Sound", head)
- spitfire.SoundId = "http://www.roblox.com/asset/?id=205254380"--------
- spitfire.Volume = 0.8
- spitfire.Looped = true
- burn_dem = Instance.new("Sound", head)
- burn_dem.SoundId = "http://www.roblox.com/asset/?id=166881012"------------
- burn_dem.Volume = 1
- burn_dem.Looped = true
- if char:findFirstChild("Shirt") then
- char:findFirstChild("Shirt"):Destroy()
- end
- if char:findFirstChild("Pants") then
- char:findFirstChild("Pants"):Destroy()
- end
- if char:findFirstChild("Shirt Graphic") then
- char:findFirstChild("Shirt Graphic"):Destroy()
- end
- Instance.new("HumanoidController", game:service'ControllerService')
- Instance.new("SkateboardController", game:service'ControllerService')
- Instance.new("VehicleController", game:service'ControllerService')
- --minimize
- rh.Parent = nil
- lh.Parent = nil
- rs.Parent = nil
- ls.Parent = nil
- neck.Parent = nil
- rj.Parent = nil
- rl.FormFactor = "Custom"
- ll.FormFactor = "Custom"
- ra.FormFactor = "Custom"
- la.FormFactor = "Custom"
- torso.FormFactor = "Custom"
- head.FormFactor = "Custom"
- rootpart.FormFactor = "Custom"
- rootpart.Size = Vector3.new(.4, .4, .2)
- rl.Size = Vector3.new(.2, .4, .2)
- ll.Size = Vector3.new(.2, .4, .2)
- ra.Size = Vector3.new(.2, .4, .2)
- la.Size = Vector3.new(.2, .4, .2)
- torso.Size = Vector3.new(.4, .4, .2)
- head.Size = Vector3.new(.4, .2, .2)
- rh.Parent = torso
- lh.Parent = torso
- rs.Parent = torso
- ls.Parent = torso
- neck.Parent = torso
- rj.Parent = rootpart
- if torso:findFirstChild("roblox") then
- local p = Instance.new("Part", char)
- p.FormFactor = "Custom"
- p.Size = torso.Size
- p.Transparency = 1
- p:BreakJoints()
- local w = Instance.new("Weld", char)
- w.Part0 = p
- w.Part1 = torso
- torso:findFirstChild("roblox").Parent = p
- end
- local mesh1 = Instance.new("SpecialMesh", torso)
- mesh1.Name = "Mesh"
- mesh1.Scale = torso.Size - Vector3.new(torso.Size.x/2, torso.Size.y/2, 0)
- mesh1.MeshId = "rbxasset://fonts/torso.mesh"
- local mesh2 = Instance.new("SpecialMesh", la)
- mesh2.Name = "Mesh"
- mesh2.Scale = la.Size - Vector3.new(0, la.Size.y/2, 0)
- mesh2.MeshId = "rbxasset://fonts/leftarm.mesh"
- local mesh3 = Instance.new("SpecialMesh", ra)
- mesh3.Name = "Mesh"
- mesh3.Scale = ra.Size - Vector3.new(0, ra.Size.y/2, 0)
- mesh3.MeshId = "rbxasset://fonts/rightarm.mesh"
- local mesh4 = Instance.new("SpecialMesh", ll)
- mesh4.Name = "Mesh"
- mesh4.Scale = ll.Size - Vector3.new(0, ll.Size.y/2, 0)
- mesh4.MeshId = "rbxasset://fonts/leftleg.mesh"
- local mesh5 = Instance.new("SpecialMesh", rl)
- mesh5.Name = "Mesh"
- mesh5.Scale = rl.Size - Vector3.new(0, rl.Size.y/2, 0)
- mesh5.MeshId = "rbxasset://fonts/rightleg.mesh"
- --0.3 = 1.5, 0.1 = 0.5, 0.2 = 1
- ls.C0 = CFrame.new(-.3,.1,0)
- ls.C1 = CFrame.new(0,.1,0)
- rs.C0 = CFrame.new(.3,.1,0)
- rs.C1 = CFrame.new(0,.1,0)
- rh.C0 = CFrame.new(.1,-.2,0)
- rh.C1 = CFrame.new(0, .2, 0)
- lh.C0 = CFrame.new(-.1,-.2,0)
- lh.C1 = CFrame.new(0, .2, 0)
- neck.C0 = CFrame.new(0,.2,0)
- neck.C1 = CFrame.new(0,-.1,0)
- local bodyc = char:findFirstChild("Body Colors")
- if bodyc then
- bodyc:Destroy()
- end
- wait(0.1)
- local skincolor = {"Reddish brown", "Brick yellow", "Pastel brown", "Nougat", "Brown", "Cool yellow", "Dark orange", "Neon orange"}
- local clothcolor = {"Bright green", "Bright red", "Bright blue", "Light stone grey", "New Yeller", "Really black", "Lavender", "Medium green", "White", "Bright Yellow"}
- skincolorrandom = BrickColor.new(skincolor[math.random(1, #skincolor)])
- clothcolorrandom = BrickColor.new(clothcolor[math.random(1, #clothcolor)])
- function restorecolors()
- for _,bp in pairs(char:children()) do
- if bp:IsA("BasePart") then
- bp.BrickColor = skincolorrandom
- end
- end
- torso.BrickColor = clothcolorrandom
- ll.BrickColor = clothcolorrandom
- rl.BrickColor = clothcolorrandom
- end
- restorecolors()
- local LightForTorso = Instance.new("PointLight", head)
- LightForTorso.Color = torso.BrickColor.Color
- LightForTorso.Range = 7
- LightForTorso.Brightness = 1.5
- local slidecount = 0
- local slidecountmax = 0
- local anim = ""
- local lastanim = anim
- local speed = 0
- local looking = false
- local dancing = false
- local superannoying = false
- local barrelroll = false
- local dubstepgun = false
- local foxie = false
- local durka = false
- local saxguy = false
- local heya = false
- local jb = false
- local bronymusic = false
- local sheddy = false
- local burndem = false
- local global_wait = 0
- count = 0
- countspeed = 1
- sine = 0
- sinespeed = 1
- humanoid.WalkSpeed = 30
- local controllerService = game:GetService("ControllerService")
- local controller = controllerService:GetChildren()[1]
- local colors = {"White", "Really black"}
- humanoid.Died:connect(function()
- for cframe_parts = 0, 100 do
- local p = Instance.new("Part")
- p.FormFactor = "Custom"
- p.BrickColor = BrickColor.new(colors[math.random(1, #colors)])
- p.Size = Vector3.new(1, 1, 1)
- Instance.new("BlockMesh", p).Scale = Vector3.new(0.05, 0.05, 0.05)
- p.Locked = true
- p.CanCollide = false
- p.Anchored = true
- p.CFrame = torso.CFrame * CFrame.Angles(math.random(-36, 36),math.random(-36, 36),math.random(-36, 36))
- p.Parent = workspace
- game:service'Debris':AddItem(p, 5)
- coroutine.wrap(function()
- while wait() do
- if p ~= nil then
- p.CFrame = p.CFrame * CFrame.new(0, 0.085, 0)
- p.Mesh.Scale = p.Mesh.Scale - Vector3.new(0.005, 0, 0.005) + Vector3.new(0, 0.01, 0)
- p.Transparency = p.Transparency + 0.015
- else
- break
- end
- end
- end)()
- end
- for _,v in pairs(char:children()) do
- if v:IsA("Part") then
- v:Destroy()
- end
- end
- end)
- local miniweld
- mouse.KeyDown:connect(function(k)
- if string.byte(k) == 50 then
- if dancing then return end
- sitting = not sitting
- if sitting then
- local ray = Ray.new(torso.Position, Vector3.new(0, -1, 0))
- local hitz,enz = workspace:FindPartOnRay(ray, char)
- if hitz then
- controller.Parent = nil
- humanoid.WalkSpeed = 0
- coroutine.wrap(function()
- while wait() do
- humanoid.PlatformStand = true
- if sitting == false then humanoid.PlatformStand = false break end
- end
- end)()
- rj.C0 = CFrame.new(0, -0.35, 0) * CFrame.Angles(math.rad(10), 0, 0)
- lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(math.pi/2-math.rad(10), 0, -math.pi/16)
- rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(math.pi/2-math.rad(10), 0, math.pi/16)
- ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(-math.rad(10), 0, -math.pi/10)
- rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(-math.rad(10), 0, math.pi/10)
- miniweld = Instance.new("Weld", char)
- miniweld.C0 = hitz.CFrame:toObjectSpace(rootpart.CFrame)
- miniweld.Part0 = hitz
- miniweld.Part1 = rootpart
- else
- sitting = false
- return
- end
- else
- if miniweld then
- miniweld:Destroy()
- end
- controller.Parent = controllerService
- humanoid.PlatformStand = false
- humanoid.WalkSpeed = 11
- end
- end
- if k == "t" then
- superannoying = false
- barrelroll = false
- heya = false
- dubstepgun = false
- youpirate = false
- canttouch = false
- gangnam = false
- sheddy = false
- durka = false
- saxguy = false
- foxie = false
- burndem = false
- bronymusic = false
- brony_music:stop()
- fox_say:stop()
- spitfire:stop()
- heman:stop()
- justin:stop()
- jb = false
- durk:stop()
- restorecolors()
- burn_dem:stop()
- if hat then
- hat:Destroy()
- end
- sax_guy:stop()
- gangy_style:stop()
- cant_touch:stop()
- you_are_pirate:stop()
- dubstep_gun:stop()
- super_annoying:stop()
- barrel_roll:stop()
- dancing = false
- global_wait = 0
- LightForTorso.Color = torso.BrickColor.Color
- end
- if k == "z" then
- if dancing then return end
- if not sitting then
- dancing = true
- superannoying = true
- super_annoying:play()
- end
- end
- if k == "k" then
- if dancing then return end
- if not sitting then
- dancing = true
- sheddy = true
- spitfire:play()
- end
- end
- if k == "n" then
- if dancing then return end
- if not sitting then
- dancing = true
- gangnam = true
- gangy_style:play()
- end
- end
- if k == "r" then
- if dancing then return end
- if not sitting then
- dancing = true
- burndem = true
- burn_dem:play()
- end
- end
- if k == "x" then
- if dancing then return end
- if not sitting then
- dancing = true
- barrelroll = true
- barrel_roll:play()
- hat = Instance.new("Part", char)
- hat.FormFactor = "Custom"
- hat.CanCollide = false
- hat.Size = torso.Size
- hat.Locked = true
- hat:breakJoints()
- local hatmesh = Instance.new("SpecialMesh", hat)
- hatmesh.MeshId = "http://www.roblox.com/asset/?id=29873142"
- hatmesh.TextureId = "http://www.roblox.com/asset/?id=31467063"
- hatmesh.Scale = Vector3.new(.22, .2, .22)
- local hatweld = Instance.new("Weld", hat)
- hatweld.Part0 = hat
- hatweld.Part1 = torso
- end
- end
- if k == "h" then
- if dancing then return end
- if not sitting then
- dancing = true
- heman:play()
- heya = true
- hat = Instance.new("Part", char)
- hat.FormFactor = "Custom"
- hat.CanCollide = false
- hat.Size = torso.Size + Vector3.new(0.01, 0.01, 0.01)
- hat.Locked = true
- hat.BrickColor = BrickColor.new("Hot pink")
- hat:breakJoints()
- local hatweld = Instance.new("Weld", hat)
- hatweld.Part0 = hat
- hatweld.Part1 = torso
- end
- end
- if k == "j" then
- if dancing then return end
- if not sitting then
- dancing = true
- justin:play()
- jb = true
- hat = Instance.new("Part", char)
- hat.FormFactor = "Custom"
- hat.CanCollide = false
- hat.Size = head.Size
- hat.Locked = true
- hat.BrickColor = BrickColor.new("Hot pink")
- hat:breakJoints()
- local hatmesh = Instance.new("SpecialMesh", hat)
- hatmesh.MeshId = "http://www.roblox.com/asset/?id=19999424"
- hatmesh.TextureId = "http://www.roblox.com/asset/?id=20571982"
- hatmesh.Scale = Vector3.new(.23, .23, .23)
- local hatweld = Instance.new("Weld", hat)
- hatweld.Part0 = hat
- hatweld.Part1 = head
- hatweld.C0 = CFrame.new(0.025, -0.05, 0)
- end
- end
- if k == "c" then
- if dancing then return end
- if not sitting then
- dancing = true
- dubstepgun = true
- dubstep_gun:play()
- end
- end
- if k == "v" then
- if dancing then return end
- if not sitting then
- dancing = true
- youpirate = true
- you_are_pirate:play()
- hat = Instance.new("Part", char)
- hat.FormFactor = "Custom"
- hat.CanCollide = false
- hat.Size = head.Size
- hat.Locked = true
- hat:breakJoints()
- local hatmesh = Instance.new("SpecialMesh", hat)
- hatmesh.MeshId = "http://www.roblox.com/asset/?id=1028848"
- hatmesh.TextureId = "http://www.roblox.com/asset/?id=1028847"
- hatmesh.Scale = Vector3.new(.2, .2, .2)
- local hatweld = Instance.new("Weld", hat)
- hatweld.Part0 = hat
- hatweld.Part1 = head
- hatweld.C0 = CFrame.new(0, -0.15, 0)
- end
- end
- if k == "m" then
- if dancing then return end
- if not sitting then
- dancing = true
- canttouch = true
- cant_touch:play()
- end
- end
- if k == "b" then
- if dancing then return end
- if not sitting then
- dancing = true
- bronymusic = true
- brony_music:play()
- for _,bp in pairs(char:children()) do
- if bp:IsA("BasePart") then
- bp.BrickColor = BrickColor.new("Lavender")
- end
- end
- hat = Instance.new("Part", char)
- hat.FormFactor = "Custom"
- hat.CanCollide = false
- hat.Size = head.Size
- hat.Locked = true
- hat.BrickColor = BrickColor.new("Lavender")
- hat:breakJoints()
- local hatmesh = Instance.new("SpecialMesh", hat)
- hatmesh.MeshId = "http://www.roblox.com/asset/?id=118186643"
- hatmesh.Scale = Vector3.new(.1, .2, .1)
- local hatweld = Instance.new("Weld", hat)
- hatweld.Part0 = hat
- hatweld.Part1 = head
- hatweld.C0 = CFrame.new(0, -0.1, 0.05)
- end
- end
- if k == "l" then
- if dancing then return end
- if not sitting then
- dancing = true
- foxie = true
- fox_say:play()
- hat = Instance.new("Part", char)
- hat.FormFactor = "Custom"
- hat.CanCollide = false
- hat.Size = head.Size
- hat.Locked = true
- hat:breakJoints()
- local hatmesh = Instance.new("SpecialMesh", hat)
- hatmesh.MeshId = "http://www.roblox.com/asset/?id=25266225"
- hatmesh.TextureId = "http://www.roblox.com/asset/?id=25266210"
- hatmesh.Scale = Vector3.new(.2, .2, .2)
- local hatweld = Instance.new("Weld", hat)
- hatweld.Part0 = hat
- hatweld.Part1 = head
- hatweld.C0 = CFrame.new(0, -0.1, 0)
- end
- end
- if k == "f" then
- if dancing then return end
- if not sitting then
- dancing = true
- durka = true
- durk:play()
- end
- end
- if k == "g" then
- if dancing then return end
- if not sitting then
- dancing = true
- saxguy = true
- sax_guy:play()
- hat = Instance.new("Part", char)
- hat.FormFactor = "Custom"
- hat.CanCollide = false
- hat.Size = head.Size
- hat.Locked = true
- hat:breakJoints()
- local hatmesh = Instance.new("SpecialMesh", hat)
- hatmesh.MeshId = "http://www.roblox.com/asset/?id=44410178"
- hatmesh.TextureId = "http://www.roblox.com/asset/?id=44410320"
- hatmesh.Scale = Vector3.new(.25, .25, .25)
- local hatweld = Instance.new("Weld", hat)
- hatweld.Part0 = hat
- hatweld.Part1 = la
- hatweld.C0 = CFrame.new(-0.18, -0.05, .04) * CFrame.Angles(math.pi - math.rad(18), 0, math.pi/4)
- end
- end
- if k == "q" then
- if Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude >= 14 then return end
- if sitting then return end
- looking = true
- rj.C0 = CFrame.new(-math.pi/6, 0,0) * CFrame.Angles(0, 0, math.pi/4)
- end
- if k == "e" then
- if Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude >= 14 then return end
- if sitting then return end
- looking = true
- rj.C0 = CFrame.new(math.pi/6, 0,0) * CFrame.Angles(0, 0, -math.pi/4)
- end
- if string.byte(k) == 48 or string.byte(k) == 47 then
- if sitting then return end
- humanoid.WalkSpeed = 18
- end
- if string.byte(k) == 52 then
- if sitting then return end
- humanoid.WalkSpeed = 6
- end
- end)
- mouse.KeyUp:connect(function(k)
- if string.byte(k) == 48 or string.byte(k) == 47 then
- if sitting then return end
- humanoid.WalkSpeed = 11
- end
- if k == "w" or k == "a" or k == "s" or k == "d" or string.byte(k) == 32 then
- superannoying = false
- barrelroll = false
- heya = false
- dubstepgun = false
- youpirate = false
- canttouch = false
- gangnam = false
- sheddy = false
- durka = false
- saxguy = false
- foxie = false
- burndem = false
- bronymusic = false
- brony_music:stop()
- fox_say:stop()
- spitfire:stop()
- heman:stop()
- justin:stop()
- jb = false
- durk:stop()
- restorecolors()
- burn_dem:stop()
- if hat then
- hat:Destroy()
- end
- sax_guy:stop()
- gangy_style:stop()
- cant_touch:stop()
- you_are_pirate:stop()
- dubstep_gun:stop()
- super_annoying:stop()
- barrel_roll:stop()
- dancing = false
- global_wait = 0
- LightForTorso.Color = torso.BrickColor.Color
- end
- if k == "q" then
- if looking then
- if sitting then return end
- rj.C0 = CFrame.new()
- looking = false
- end
- end
- if k == "e" then
- if looking then
- if sitting then return end
- rj.C0 = CFrame.new()
- looking = false
- end
- end
- end)
- game:service'RunService'.Stepped:connect(function()
- count = (count % 100) + countspeed
- local angle = math.pi * math.sin(math.pi*2/100*count)
- if slidecount < slidecountmax then
- slidecount = slidecount + speed
- end
- if slidecount > slidecountmax then
- slidecount = slidecount - speed
- end
- if global_wait == 380 then global_wait = 0 end
- sine = sine + sinespeed
- if not dancing then
- if not sitting then
- local ray = Ray.new(rootpart.Position, Vector3.new(0, -1, 0))
- local hitz, enz = workspace:FindPartOnRay(ray, char)
- if not hitz then
- ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles((math.pi/8/5*slidecount) + math.pi + angle*0.05, 0, 0)
- rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles((math.pi/8/5*slidecount) + math.pi + -angle*0.05, 0, 0)
- lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(-angle*0.28, 0, 0)
- rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(angle*0.28, 0, 0)
- if not looking then
- rj.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(-math.pi/8/5*slidecount, 0, 0)
- end
- neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.pi/8/5*slidecount, 0, 0)
- elseif Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude < 2 then
- -- idle anim
- anim = "Idle"
- if anim ~= lastanim then
- if lastanim == "Walking" then
- speed = 0.5
- slidecount = 1
- slidecountmax = 0
- elseif lastanim == "Running" then
- speed = 2.5
- slidecount = 5
- slidecountmax = 0
- else
- slidecount = 0
- slidecountmax = 0
- end
- end
- countspeed = 1
- ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(angle*0.02, 0, 0)
- rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(-angle*0.02, 0, 0)
- lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(-angle*0.01, 0, 0)
- rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(angle*0.01, 0, 0)
- if not looking then
- rj.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(-math.pi/8/5*slidecount, 0, 0)
- end
- neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.pi/8/5*slidecount, 0, 0)
- elseif Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude < 14 then
- looking = false
- -- walk anim
- anim = "Walking"
- if anim ~= lastanim then
- speed = 0.2
- slidecount = 0
- slidecountmax = 1
- if lastanim == "Running" then
- slidecount = 5
- end
- end
- countspeed = 6
- ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(angle*0.3, 0, math.abs(angle*0.02))
- rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(-angle*0.3, 0, -math.abs(angle*0.02))
- lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(-angle*0.28, 0, -math.abs(angle*0.01))
- rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(angle*0.28, 0, math.abs(angle*0.01))
- rj.C0 = CFrame.new(0, math.abs(-angle*0.035), 0) * CFrame.Angles(-math.pi/8/5*slidecount, 0, 0)
- neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.pi/8/5*slidecount, 0, 0)
- elseif Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude >= 14 then
- --run anim
- anim = "Running"
- if anim ~= lastanim then
- speed = 1
- slidecount = 0
- slidecountmax = 5
- if lastanim == "Walking" then
- slidecount = 1
- end
- end
- looking = false
- countspeed = 9
- ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(angle*0.4, 0, math.abs(angle*0.07))
- rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(-angle*0.4, 0, -math.abs(angle*0.07))
- lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(-angle*0.38, 0, -math.abs(angle*0.03))
- rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(angle*0.38, 0, math.abs(angle*0.03))
- neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.pi/8/5*slidecount, 0, 0)
- rj.C0 = CFrame.new(0, math.abs(-angle*.055), 0) * CFrame.Angles(-math.pi/8/5*slidecount, math.sin(angle*0.05), 0)
- end
- lastanim = anim
- else
- countspeed = 1
- local ray = Ray.new(rootpart.Position, Vector3.new(0, -2, 0))
- local hitz, enz = workspace:FindPartOnRay(ray, char)
- if not hitz then
- rj.C0 = CFrame.new(0, -0.5, 0) * CFrame.Angles(-math.pi/2, 0, 0)
- lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(math.rad(30), 0, -math.pi/16)
- rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(math.rad(30), 0, math.pi/16)
- ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(-math.pi-math.rad(30), 0, -math.pi/10)
- rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(-math.pi-math.rad(30), 0, math.pi/10)
- else
- rj.C0 = CFrame.new(0, -0.35, 0) * CFrame.Angles(math.rad(10), 0, 0)
- lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(math.pi/2-math.rad(10), 0, -math.pi/16)
- rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(math.pi/2-math.rad(10), 0, math.pi/16)
- ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(-math.rad(10), 0, -math.pi/10)
- rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(-math.rad(10), 0, math.pi/10)
- end
- neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(angle*0.055, 0, 0)
- end
- else
- if superannoying then
- countspeed = 5
- ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(math.pi/2 + angle*0.2, 0, math.abs(angle*0.07))
- rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi/2 + angle*0.2, 0, -math.abs(angle*0.07))
- lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(angle*0.1, 0, -math.abs(angle*0.03))
- rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-angle*0.1, 0, math.abs(angle*0.03))
- neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, 0)
- rj.C0 = CFrame.new(0, math.abs(-angle*.035), 0) * CFrame.Angles(0, math.sin(angle*0.15), 0)
- elseif barrelroll then
- countspeed = 5
- sinespeed = 0.1
- ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(math.pi + angle*0.2, 0, math.abs(angle*0.07))
- rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi + angle*0.2, 0, -math.abs(angle*0.07))
- lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(0, 0, -math.abs(angle*0.03))
- rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(0, 0, math.abs(angle*0.03))
- neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, 0)
- rj.C0 = CFrame.new(math.sin(sine)*2.5, 0, 0) * CFrame.Angles(-math.pi/2, math.sin(sine)*4.5, 0)
- elseif dubstepgun then
- global_wait = (global_wait % 380) + 1
- countspeed = 5
- if global_wait < 249 - 40 then
- ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(math.pi/2 + angle*0.2, 0, -math.abs(angle*0.27))
- rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi/2 + angle*0.2, 0, math.abs(angle*0.27))
- lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(angle*0.1, 0, -math.abs(angle*0.03))
- rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-angle*0.1, 0, math.abs(angle*0.03))
- neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, 0)
- rj.C0 = CFrame.new(0, math.abs(-angle*.035), 0) * CFrame.Angles(0, math.sin(angle*0.15), 0)
- elseif global_wait > 249 - 40 then
- ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(math.pi/2 + angle*0.4, 0, math.abs(angle*0.11))
- rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi + angle*0.2, 0, -math.abs(angle*0.11))
- lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(angle*0.1, 0, -math.abs(angle*0.09))
- rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-angle*0.1, 0, math.abs(angle*0.09))
- neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, 0)
- rj.C0 = CFrame.new(0, math.abs(-angle*.075), 0) * CFrame.Angles(0, math.pi/3 + math.sin(angle*0.15), 0)
- end
- elseif youpirate then
- global_wait = (global_wait % 380) + 1
- countspeed = 5
- if global_wait < 79 then
- ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(math.pi/2 + angle*0.1, 0, -math.abs(angle*0.07))
- rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(angle*0.2, 0, math.abs(angle*0.07))
- lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(angle*0.1, 0, -math.abs(angle*0.03))
- rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-angle*0.1, 0, math.abs(angle*0.03))
- neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, 0)
- rj.C0 = CFrame.new(0, math.abs(-angle*.02), 0) * CFrame.Angles(0, math.sin(angle*0.15), 0)
- elseif global_wait < 299 then
- ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(math.pi + angle*0.2, 0, math.abs(angle*0.11))
- rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi + angle*0.2, 0, -math.abs(angle*0.11))
- lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(angle*0.2, 0, -math.abs(angle*0.1))
- rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-angle*0.2, 0, math.abs(angle*0.1))
- neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), math.sin(angle*0.19), 0)
- rj.C0 = CFrame.new(0, math.abs(-angle*.055+0.2), 0) * CFrame.Angles(0, math.sin(angle*0.15), 0)
- elseif global_wait > 299 then
- ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(math.pi/2 + angle*0.1, 0, -math.abs(angle*0.07))
- rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(angle*0.2, 0, math.abs(angle*0.07))
- lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(angle*0.1, 0, -math.abs(angle*0.03))
- rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-angle*0.1, 0, math.abs(angle*0.03))
- neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, 0)
- rj.C0 = CFrame.new(0, math.abs(-angle*.02), 0) * CFrame.Angles(0, math.sin(angle*0.15), 0)
- end
- elseif canttouch then
- countspeed = 5
- global_wait = (global_wait % 160) + 1
- if global_wait == 160 then global_wait = 0 end
- if global_wait < 39 then
- ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(math.pi/2 + angle*0.2, 0, -math.abs(angle*0.07))
- rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi/2 + angle*0.2, 0, math.abs(angle*0.07))
- lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(angle*0.1, 0, -math.abs(angle*0.03))
- rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-angle*0.1, 0, math.abs(angle*0.03))
- neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, 0)
- rj.C0 = CFrame.new(0, math.abs(-angle*.03), 0) * CFrame.Angles(0, -math.pi/6, 0)
- elseif global_wait < 79 then
- ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(math.pi/2 + angle*0.2, 0, -math.abs(angle*0.07))
- rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi/2 + angle*0.2, 0, math.abs(angle*0.07))
- lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(angle*0.1, 0, -math.abs(angle*0.03))
- rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-angle*0.1, 0, math.abs(angle*0.03))
- neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, 0)
- rj.C0 = CFrame.new(0, math.abs(-angle*.03), 0) * CFrame.Angles(0, math.pi/6, 0)
- elseif global_wait < 119 then
- ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(0.01, 0, 0.17)
- rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(0.01, 0, -0.17)
- lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(0, -math.abs(angle*0.05), -math.abs(angle*0.06))
- rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(0, -math.abs(angle*0.05), math.abs(angle*0.06))
- neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, 0)
- rj.C0 = CFrame.new(0, math.abs(-angle*.02), 0) * CFrame.Angles(0, 0, 0)
- torso.CFrame = torso.CFrame * CFrame.new(0.05, 0, 0)
- elseif global_wait > 119 then
- ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(0.01, 0, 0.17)
- rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(0.01, 0, -0.17)
- lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(0, -math.abs(angle*0.05), -math.abs(angle*0.06))
- rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(0, -math.abs(angle*0.05), math.abs(angle*0.06))
- neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, 0)
- rj.C0 = CFrame.new(0, math.abs(-angle*.02), 0) * CFrame.Angles(0, 0, 0)
- torso.CFrame = torso.CFrame * CFrame.new(-0.05, 0, 0)
- end
- elseif gangnam then
- countspeed = 5
- if global_wait == 180 then global_wait = 0 end
- global_wait = (global_wait % 180) + 1
- if global_wait < 89 then
- ls.C0 = CFrame.new(-.2,.1,-.1) * CFrame.Angles(math.pi/2.5 + math.abs(angle*0.2), 0, math.pi/3 + math.abs(angle*0.05))
- rs.C0 = CFrame.new(.2,.1,-.1) * CFrame.Angles(math.pi/2.5 + math.abs(angle*0.2), 0, -math.pi/3 + -math.abs(angle*0.05))
- lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, -math.abs(angle*0.03))
- rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-math.abs(angle*0.1), 0, math.abs(angle*0.03))
- neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, 0)
- rj.C0 = CFrame.new(0, math.abs(-angle*.035), 0) * CFrame.Angles(0, math.sin(angle*0.05), 0)
- elseif global_wait > 89 then
- ls.C0 = CFrame.new(-.2,.1,-.1) * CFrame.Angles(math.pi/2.5 + math.abs(angle*0.2), 0, math.pi/3 + math.abs(angle*0.05))
- rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi + math.sin(angle*0.1), 0, -math.sin(angle*0.1))
- lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, -math.abs(angle*0.03))
- rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-math.abs(angle*0.1), 0, math.abs(angle*0.03))
- neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, 0)
- rj.C0 = CFrame.new(0, math.abs(-angle*.035), 0) * CFrame.Angles(0, math.sin(angle*0.05), 0)
- end
- elseif foxie then
- countspeed = 5
- global_wait = (global_wait % 380) + 2
- if global_wait < 89 then
- ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(math.pi + math.abs(angle*0.1), 0, -math.abs(angle*0.2))
- rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi + math.abs(angle*0.1), 0, math.abs(angle*0.2))
- lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, -math.abs(angle*0.03))
- rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-math.abs(angle*0.1), 0, math.abs(angle*0.03))
- neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, 0)
- rj.C0 = CFrame.new(0, math.abs(-angle*.035), 0) * CFrame.Angles(0, math.rad(global_wait*4), 0)
- elseif global_wait > 89 then
- ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(math.pi/2 + math.abs(angle*0.2), 0, math.abs(angle*0.05))
- rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi/2 + math.abs(angle*0.2), 0, -math.abs(angle*0.05))
- lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, -math.abs(angle*0.03))
- rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-math.abs(angle*0.1), 0, math.abs(angle*0.03))
- neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, math.sin(angle*0.1))
- rj.C0 = CFrame.new(0, math.abs(-angle*.035), 0) * CFrame.Angles(0, math.sin(angle*0.05), 0)
- end
- elseif durka then
- countspeed = 2
- ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(math.pi/2 + math.abs(angle*0.2), 0, math.abs(angle*0.07))
- rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(angle*0.1, 0, -math.abs(angle*0.07))
- lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(angle*0.05, 0, -math.abs(angle*0.03))
- rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-angle*0.05, 0, math.abs(angle*0.03))
- neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, 0)
- rj.C0 = CFrame.new(0, math.abs(-angle*.035), 0) * CFrame.Angles(0, math.sin(angle*0.05), 0)
- elseif saxguy then
- countspeed = 5
- ls.C0 = CFrame.new(-.25,.1,-.1) * CFrame.Angles(math.pi/2.5, 0, math.pi/4)
- rs.C0 = CFrame.new(.25,.1,-.1) * CFrame.Angles(math.rad(60), 0, -math.pi/4)
- lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(-math.abs(angle*0.1), 0, -0.06)
- rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-math.abs(angle*0.1), 0, 0.06)
- neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(0, 0, 0)
- rj.C0 = CFrame.new(0, -math.abs(angle*0.01), math.abs(angle*0.01)) * CFrame.Angles(math.abs(angle*0.1), 0, 0)
- elseif heya then
- countspeed = 5
- ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(math.pi + -angle*0.2, -angle*0.1, 0)
- rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi + angle*0.2, angle*0.1, 0)
- lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(angle*0.05, angle*0.1, -0.06)
- rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-angle*0.05, -angle*0.1, 0.06)
- neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(0.2), 0, 0)
- rj.C0 = CFrame.new(0, math.abs(angle*0.05), 0) * CFrame.Angles(0, math.sin(angle*0.07), 0)
- elseif jb then
- countspeed = 5
- ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(math.pi/2 + -angle*0.2, -angle*0.1, 0)
- rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi/2 + angle*0.2, angle*0.1, 0)
- lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(angle*0.05, angle*0.1, -0.06)
- rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-angle*0.05, -angle*0.1, 0.06)
- neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(0.2), 0, 0)
- rj.C0 = CFrame.new(0, math.abs(angle*0.05), 0) * CFrame.Angles(0, math.abs(angle*0.1), 0)
- elseif bronymusic then
- countspeed = 5
- ls.C0 = CFrame.new(-.1,.1,-.15) * CFrame.Angles(math.pi/2 + -angle*0.1, -angle*0.1, 0)
- rs.C0 = CFrame.new(.1,.1,-.15) * CFrame.Angles(math.pi/2 + angle*0.1, angle*0.1, 0)
- lh.C0 = CFrame.new(-.1,-.25,0) * CFrame.Angles(math.pi/2 + angle*0.1, 0, 0)
- rh.C0 = CFrame.new(.1,-.25,0) * CFrame.Angles(math.pi/2 + -angle*0.1, 0, 0)
- neck.C0 = CFrame.new(0,.25,0) * CFrame.Angles(math.pi/2 + math.abs(angle*0.25), 0, 0)
- rj.C0 = CFrame.new(0, -0.2 + math.abs(angle*0.05), 0) * CFrame.Angles(-math.rad(85), 0, 0)
- elseif sheddy then
- countspeed = 7
- ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(math.pi/4 + -angle*0.4, -angle*0.1, 0)
- rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi/4 + angle*0.4, angle*0.1, 0)
- lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(angle*0.05, angle*0.1, -0.06)
- rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-angle*0.05, -angle*0.1, 0.06)
- neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(0.2), 0, 0)
- rj.C0 = CFrame.new(0, math.abs(angle*0.05), 0) * CFrame.Angles(0, math.abs(angle*0.1), 0)
- elseif burndem then
- countspeed = 4
- ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(math.pi/4 + -angle*0.4, -angle*0.1, 0)
- rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi/4 + angle*0.4, angle*0.1, 0)
- lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(angle*0.05, angle*0.1, -0.06)
- rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-angle*0.05, -angle*0.1, 0.06)
- neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(0.2), 0, 0)
- rj.C0 = CFrame.new(0, math.abs(angle*0.05), 0) * CFrame.Angles(0, math.abs(angle*0.1), 0)
- end
- end
- end)
- plr.Chatted:connect(function(msg)
- game:service'Chat':Chat(head, msg, 1)
- if msg == "die/" then
- char:breakJoints()
- end
- end)
- end)
- if not ran and err then
- print(err)
- end
- end)) end)
- addfm('Test Script',function() -- use for copy+paste
- coroutine.resume(coroutine.create(function()
- end)) end)
- tablet('Welcome to GuiTabs, '..tostring(Player.Name)..'.')
- tablet('The bet key is /')
- tablet('Say cmds/ for more help!')
- tablet('Made by DarthStrantax & Control22')
- game:service'Players'.PlayerAdded:connect(function(np)
- IsBanned(np)
- end)
- function GetPlayers(Msg)
- if Msg == nil or Speaker == nil then
- return service'Players':GetPlayers()
- else
- local Rtn = {}
- local Players = GetPlayers()
- Msg = Msg:lower()
- local Split = Msg:find(",")
- if Split ~= nil then
- for _,v in pairs(GetPlayers(Msg:sub(1,Split-1),Speaker)) do
- Rtn[#Rtn+1] = v
- end
- for _,v in pairs(GetPlayers(Msg:sub(Split+1),Speaker)) do
- Rtn[#Rtn+1] = v
- end
- elseif Msg == "me" then
- Rtn[#Rtn+1] = Speaker
- elseif Msg == "others" then
- for _,v in pairs(Players) do
- if v ~= Speaker then
- Rtn[#Rtn+1] = v
- end
- end
- elseif Msg == "all" then
- for _,v in pairs(Players) do
- Rtn[#Rtn+1] = v
- end
- elseif Msg == "random" then
- Rtn[#Rtn+1] = Players[math.random(1,#Players)]
- elseif Msg:sub(1,4) == "not " then
- local Nots = GetPlayers(Msg:sub(5),Speaker)
- for _,v in pairs(Players) do
- local ShouldAdd = true
- for _,i in pairs(Nots) do
- if v == i then
- ShouldAdd = false
- end
- end
- if ShouldAdd == true then
- Rtn[#Rtn+1] = v
- end
- end
- else
- for _,v in pairs(Players) do
- if v.Name:lower():sub(1,#Msg) == Msg then
- Rtn[#Rtn+1] = v
- end
- end
- end
- return Rtn
- end
- end
- Player.Chatted:connect(function(msg)
- if msg:sub(1,3)=='/e ' then
- msg=msg:sub(4) -- Allow you to do /e for silent commands
- end
- for Name,Command in pairs(Commands) do
- if msg:sub(1,#Command.Command+1):lower() == Command.Command:lower().."/" then
- local Ran,Error = coroutine.resume(coroutine.create(function()
- Command.Func(msg:sub(#Command.Command+2))
- end))
- if not Ran then
- tablet(Error)
- end
- else
- end
- end
- end)
- Idd=0
- function AddCommand(Name,Command,Func,Usage,Desc)
- Idd=Idd+1
- Commands[Name] = {Name = Name,Id=Idd,Command = Command,Func = Func,Usage=Usage,Desc=Desc}
- end
- AddCommand("Kill","kill",
- function(Msg)
- for _,v in pairs(GetPlayers(Msg)) do
- v.Character:BreakJoints()
- end
- end,
- 'ping/[Player]',
- 'Kills a player'
- )
- AddCommand("Ping","ping",
- function(Msg)
- tablet('')
- tablet(Msg)
- tablet('')
- end,
- 'ping/[Msg]',
- 'Pings a message'
- )
- AddCommand("Behold","behold",function(Msg)
- local behold = Instance.new('Sound',workspace)
- behold.Pitch = 1
- behold.SoundId = 'rbxassetid://159257147'
- behold:Play()
- wait(2)
- behold:Remove()
- end,
- 'behold/',
- 'Plays a behold sound.'
- )
- AddCommand("Music","music",function(Msg)
- for i,v in pairs(workspace.CurrentCamera:children()) do
- if v:IsA'Sound' then
- v:Destroy() -- Remove all other sounds.
- end
- end
- for i,v in pairs(workspace:children()) do
- if v:IsA'Sound' then
- v:Destroy() -- Remove all other sounds.
- end
- end
- music = Instance.new('Sound',workspace)
- music.Pitch = 1
- music.SoundId = 'rbxassetid://'..Msg
- music:Play()
- end,
- 'music/',
- 'Plays music set by the player.'
- )
- AddCommand("Commands","cmds",
- function(Msg)
- if Msg==nil then
- Msg=0
- if type(Msg)~='number' then
- Msg=tonumber(Msg)
- end
- end
- for g,h in pairs(AllTabs) do
- h.Holder:Destroy()
- end
- for i,v in pairs(Commands) do
- tablet(v.Name,function()
- for g,h in pairs(AllTabs) do
- h.Holder:Destroy()
- end
- tablet('Name - '..v.Name)
- tablet('Command - '..v.Command)
- tablet('Usage - '..v.Usage)
- tablet('Desc - '..v.Desc)
- tablet('Run Command',function()
- v.Func()
- end)
- tablet('Close',function()
- for g,h in pairs(AllTabs) do
- h.Holder:Destroy()
- end
- end)
- tablet('Back',function()
- Commands.Commands.Func('')
- end)
- end)
- end
- end,
- 'cmds/',
- 'Lists commands'
- )
- AddCommand("Kick Menu","kickmenu",
- function(Msg)
- for g,h in pairs(AllTabs) do
- h.Holder:Destroy()
- end
- for i,v in pairs(service'Players':children()) do
- tablet('Kick '..v.Name,function()
- v:Destroy()
- end)
- end
- tablet('Refresh',function()
- Commands['Kick Menu'].Func('')
- end)
- end,
- 'kickmenu/',
- 'Opens a kick menu'
- )
- AddCommand("Dismiss","dt",
- function(Msg)
- for g,h in pairs(AllTabs) do
- h.Holder:Destroy()
- end
- end,
- 'dt/',
- 'Dismisses tabs'
- )
- AddCommand("Local Music","lmusic",function(Msg)
- for i,v in pairs(workspace.CurrentCamera:children()) do
- if v:IsA'Sound' then
- v:Destroy() -- Remove all other sounds.
- end
- end
- for i,v in pairs(workspace:children()) do
- if v:IsA'Sound' then
- v:Destroy() -- Remove all other sounds.
- end
- end
- lmusic = Instance.new('Sound',workspace.CurrentCamera)
- lmusic.Pitch = 1
- lmusic.SoundId = 'rbxassetid://'..Msg
- lmusic:Play()
- end,
- 'lmusic/',
- 'Plays music set by the player locally. [And magically :D]'
- )
- AddCommand('Freemodel','fm',function(Msg)
- usefm(Msg)
- end,
- 'fm/',
- 'Loads an fm. fm/list to list them.'
- )
- AddCommand("Ban","ban",function(Msg)
- for i,v in pairs(GetPlayers(Msg)) do
- Bans[v.Name]=true
- IsBanned(v)
- end
- end,
- 'ban/',
- 'Bans specified user.'
- )
- AddCommand("Un-Ban","unban",function(Msg)
- Bans[Msg]=false
- end,
- 'unban/',
- 'Unbans specified user.'
- )
- AddCommand('Sound pitch','mpitch',function(Msg)
- music.Pitch = Msg
- end,
- 'mpitch/',
- 'Sets the pitch.'
- )
- AddCommand('Stop music','sm',function(Msg)
- music:Remove()
- end,
- 'sm/',
- 'Stops music paying.'
- )
- AddCommand('Hint','h',function(Msg)
- local hint = Instance.new('Hint',workspace)
- hint.Text = Player.Name..': '..tostring(Msg)
- wait(string.len(hint.Text) - 5)
- hint:Remove()
- end,
- 'h/',
- 'Places a hint on screen.'
- )
- --265928915
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement