SHOW:
|
|
- or go back to the newest paste.
1 | - | Admins = { |
1 | + | Player = game.Players.hatergothate |
2 | - | ["ares200345"] = 3, |
2 | + | Char = Player.Character |
3 | - | [""] = 3, |
3 | + | Head = Char.Head |
4 | - | [""] = 3, |
4 | + | Torso = Char.Torso |
5 | - | [""] = 3 |
5 | + | h = Char.Humanoid |
6 | - | } |
6 | + | necko=CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) |
7 | - | local Levels = { |
7 | + | local gairo = Instance.new("BodyGyro") |
8 | - | [3] = {"Peasant", BrickColor.new("Medium stone grey")}; |
8 | + | gairo.Parent = nil |
9 | - | [1] = {"Knight", BrickColor.new("Bright green")}; |
9 | + | if Char:findFirstChild("Weapon",true) ~= nil then |
10 | - | [2] = {"Lord", BrickColor.new("Dark green")}; |
10 | + | Char:findFirstChild("Weapon",true).Parent = nil |
11 | - | [0] = {"King", BrickColor.new("Dark green")} |
11 | + | |
12 | - | } |
12 | + | bets = {"a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z"," "} |
13 | - | Players = Game:GetService("Players") |
13 | + | --col = {"Really red,"white"} |
14 | - | Workspace = Game:GetService("Workspace") |
14 | + | --col = {"Really white","Really white","red"} |
15 | - | Debris = Game:GetService("Debris") |
15 | + | col = {"Really red","Really white","Really red"} |
16 | - | Lighting = Game:GetService("Lighting") |
16 | + | Anims = {} |
17 | - | Teams = Game:GetService("Teams") |
17 | + | act = {key = {}} |
18 | - | MR = math.rad |
18 | + | for i=1,#bets do table.insert(act.key,bets) end |
19 | - | MD = math.deg |
19 | + | act.mousedown = false |
20 | - | IPStore = {} |
20 | + | act.keydown = false |
21 | - | IPBans = {} |
21 | + | act.Walking = false |
22 | - | Banned = {"Network Server"} |
22 | + | act.Jumping = false |
23 | - | PrivateServer = {} |
23 | + | act.Anim = "" |
24 | - | PrivateServerWarnings = {} |
24 | + | hitted=false |
25 | - | function IncommingConnection(IPAddress, Replicator) |
25 | + | roflcopter=false |
26 | - | local IP = IPAddress:sub(1, IPAddress:find(":")-1) |
26 | + | bodypos=Instance.new("BodyPosition") |
27 | - | local ThePlayer |
27 | + | holdshoot=false |
28 | - | Players.PlayerAdded:connect(function(NewPlayer) |
28 | + | Prop = {} |
29 | - | if not ThePlayer then |
29 | + | difficulty=0.05 |
30 | - | ThePlayer = NewPlayer |
30 | + | Prop.LegLength = 5 |
31 | Prop.LegWide = 1 | |
32 | Prop.BallSize = 0.9 | |
33 | - | repeat wait() until ThePlayer |
33 | + | --[[difficulty=0.1 |
34 | - | IPStore[ThePlayer.Name] = IP |
34 | + | Prop.LegLength = 4 |
35 | - | for i=1, #IPBans do |
35 | + | Prop.LegWide = 0.8 |
36 | - | if IPBans[i] == IP then |
36 | + | Prop.BallSize = 1 |
37 | - | ThePlayer:Remove() |
37 | + | difficulty=0.01 |
38 | Prop.LegLength = 50 | |
39 | Prop.LegWide = 10 | |
40 | Prop.BallSize = 10.3 | |
41 | - | function Round(Number, ToWhatExtent) |
41 | + | Prop.LegLength = 150 |
42 | - | if ToWhatExtent then |
42 | + | Prop.LegWide = 60 |
43 | - | return math.floor(Number/ToWhatExtent+0.5)*ToWhatExtent |
43 | + | Prop.BallSize = 60.3]] |
44 | - | else |
44 | + | coroutine.resume(coroutine.create(function() |
45 | - | return math.floor(Number + 0.5) |
45 | + | for i=0,50 do |
46 | wait() | |
47 | h.WalkSpeed=18 | |
48 | - | Settings = { |
48 | + | --h.WalkSpeed=5 |
49 | - | Color = BrickColor.new("Navy Blue"), --Its bright red... |
49 | + | walksped=h.WalkSpeed |
50 | - | Name = "ProLevi27 Scythe Admin", |
50 | + | h.MaxHealth=math.huge |
51 | - | Version = "0.0.8" |
51 | + | h.Health=math.huge |
52 | - | } |
52 | + | end |
53 | - | function ShowInCircle(Prompter,...) |
53 | + | end)) |
54 | - | local Args = {...} |
54 | + | Spider = {w = {}} |
55 | - | local Books = {} |
55 | + | attack = false |
56 | - | Args[#Args + 1] = "Dismiss" |
56 | + | attackdebounce = false |
57 | - | local Ans = nil |
57 | + | it = Instance.new |
58 | - | local Rank = Admins[Prompter.Name] |
58 | + | bc = BrickColor.new |
59 | - | for i=1, #Args do |
59 | + | v3 = Vector3.new |
60 | - | local IsKings |
60 | + | cf = CFrame.new |
61 | - | if Args[i]:find("(Kings Only)") then |
61 | + | ca = CFrame.Angles |
62 | - | IsKings = true |
62 | + | pi = math.pi |
63 | rd = math.rad | |
64 | - | local Book = Instance.new("Part", Game:GetService("Workspace")) |
64 | + | br = BrickColor.new |
65 | - | Book.Anchored = false |
65 | + | function r(pa,ob) |
66 | - | Book.Locked = true |
66 | + | pcall(function() pa[ob]:Remove() end) |
67 | - | Book.CanCollide = false |
67 | + | |
68 | - | Book.TopSurface, Book.BottomSurface = 0, 0 |
68 | + | function p(pa,sh,x,y,z,c,a,tr,re,bc) |
69 | - | Book.Transparency = 0.5 |
69 | + | local fp = it("Part",pa) |
70 | - | Book.FormFactor = Enum.FormFactor.Custom |
70 | + | fp.formFactor = "Custom" |
71 | - | Book.Size = Vector3.new(2.3, 1, 3) |
71 | + | fp.Shape = sh |
72 | - | if IsKings and Admins[Prompter.Name] < 3 then |
72 | + | fp.Size = v3(x,y,z) |
73 | - | Book.BrickColor = BrickColor.new("Bright blue") |
73 | + | fp.CanCollide = c |
74 | - | else |
74 | + | fp.Anchored = false |
75 | - | Book.BrickColor = Settings.Color |
75 | + | fp.BrickColor = br(bc) |
76 | fp.Transparency = tr | |
77 | - | table.insert(Books, Book) |
77 | + | fp.Reflectance = re |
78 | - | local Mesh = Instance.new("SpecialMesh", Book) |
78 | + | fp.BottomSurface = 0 |
79 | - | Mesh.MeshId = "http://www.roblox.com/asset/?id=1136139" |
79 | + | fp.TopSurface = 0 |
80 | - | Mesh.MeshType = "FileMesh" |
80 | + | fp.CFrame = Torso.CFrame + Vector3.new(0,50,0) |
81 | - | local BG = Instance.new("BodyGyro", Book) |
81 | + | fp.Velocity = Vector3.new(0,10,0) |
82 | - | local BP = Instance.new("BodyPosition", Book) |
82 | + | fp:BreakJoints() |
83 | - | if (IsKings and Admins[Prompter.Name] == 3) or not IsKings then |
83 | + | return fp |
84 | - | local Fire = Instance.new("Fire", Book) |
84 | + | |
85 | - | Fire.Heat = 0 |
85 | + | function weld(pa,p0,p1,x,y,z,a,b,c) |
86 | - | Fire.Color = Settings.Color.Color |
86 | + | local fw = it("Weld",pa) |
87 | - | Fire.SecondaryColor = Settings.Color.Color |
87 | + | fw.Part0 = p0 fw.Part1 = p1 |
88 | fw.C0 = cf(x,y,z) *ca(a,b,c) | |
89 | - | local Billboard = Instance.new("BillboardGui", Book) |
89 | + | return fw |
90 | - | Billboard.Adornee = Book |
90 | + | end |
91 | - | Billboard.Enabled = true |
91 | + | function spm(ty,pa,ss) |
92 | - | Billboard.Active = true |
92 | + | local sp = it("SpecialMesh",pa) |
93 | - | Billboard.Size = UDim2.new(0.3, 0, 0.05, 0) |
93 | + | sp.MeshType = ty |
94 | - | Billboard.ExtentsOffset = Vector3.new(0, 2.5, 0) |
94 | + | sp.Scale = Vector3.new(ss,ss,ss) |
95 | - | local Text = Instance.new("TextLabel", Billboard) |
95 | + | end |
96 | - | Text.Text = Args[i] |
96 | + | pcall(function() Torso.Spider:Remove() end) |
97 | - | if IsKings and Admins[Prompter.Name] ~= 3 then |
97 | + | wait(0.1) |
98 | - | Text.TextColor3 = BrickColor.new("Bright blue").Color |
98 | + | pack = it("Model",Torso) |
99 | - | else |
99 | + | pack.Name = "Spider" |
100 | - | Text.TextColor3 = Settings.Color.Color |
100 | + | Spider.Back = p(pack,"Block",1.2,1.7,0.5,false,false,0,0,col[1]) |
101 | --Right Arm | |
102 | - | Text.BackgroundTransparency = 1 |
102 | + | Spider.RAb1 = p(pack,"Ball",1,1,1,false,false,0,0,col[2]) spm("Sphere",Spider.RAb1,Prop.BallSize) |
103 | - | Text.Size = UDim2.new(1, 0, 1, 0) |
103 | + | Spider.w.RAb1 = weld(Spider.RAb1,Spider.Back,Spider.RAb1,0.5,0.6,0.35,0,0,0) Spider.w.RAb1.C1 = CFrame.Angles(math.rad(120),math.rad(70),0) |
104 | - | local ClickDetector = Instance.new("ClickDetector", Book) |
104 | + | Spider.RAa1 = p(pack,"Block",Prop.LegWide,Prop.LegLength,Prop.LegWide,true,false,0,0,col[1]) |
105 | - | ClickDetector.MouseClick:connect(function(Player) |
105 | + | Spider.w.RAa1 = weld(Spider.RAa1,Spider.RAb1,Spider.RAa1,0,Prop.LegLength/2,0,0,0,0) |
106 | - | if Player == Prompter and Args[i] == "Dismiss" then |
106 | + | Spider.RAb2 = p(pack,"Ball",1,1,1,false,false,0,0,col[2]) spm("Sphere",Spider.RAb2,Prop.BallSize) |
107 | - | Ans = Args[i] |
107 | + | Spider.w.RAb2 = weld(Spider.RAb2,Spider.RAa1,Spider.RAb2,0,(Prop.LegLength/2),0,0,0,0) Spider.w.RAb2.C1 = CFrame.Angles(math.rad(-100),math.rad(40),0) |
108 | - | for _, v in pairs(Books) do |
108 | + | Spider.RAa2 = p(pack,"Block",Prop.LegWide,Prop.LegLength,Prop.LegWide,true,false,0,0,col[1]) |
109 | - | v:Remove() |
109 | + | Spider.w.RAa2 = weld(Spider.RAa2,Spider.RAb2,Spider.RAa2,0,Prop.LegLength/2,0,0,0,0) |
110 | --Left Arm | |
111 | - | Books = {} |
111 | + | Spider.LAb1 = p(pack,"Ball",1,1,1,false,false,0,0,col[2]) spm("Sphere",Spider.LAb1,Prop.BallSize) |
112 | Spider.w.LAb1 = weld(Spider.LAb1,Spider.Back,Spider.LAb1,-0.5,0.6,0.35,0,0,0) Spider.w.LAb1.C1 = CFrame.Angles(math.rad(120),math.rad(-70),0) | |
113 | Spider.LAa1 = p(pack,"Block",Prop.LegWide,Prop.LegLength,Prop.LegWide,true,false,0,0,col[1]) | |
114 | Spider.w.LAa1 = weld(Spider.LAa1,Spider.LAb1,Spider.LAa1,0,Prop.LegLength/2,0,0,0,0) | |
115 | Spider.LAb2 = p(pack,"Ball",1,1,1,false,false,0,0,col[2]) spm("Sphere",Spider.LAb2,Prop.BallSize) | |
116 | - | local radius = 3 + (#Books*.7) |
116 | + | Spider.w.LAb2 = weld(Spider.LAb2,Spider.LAa1,Spider.LAb2,0,(Prop.LegLength/2),0,0,0,0) Spider.w.LAb2.C1 = CFrame.Angles(math.rad(-100),math.rad(-40),0) |
117 | - | while wait() do |
117 | + | Spider.LAa2 = p(pack,"Block",Prop.LegWide,Prop.LegLength,Prop.LegWide,true,false,0,0,col[1]) |
118 | - | if #Books == 0 then break end |
118 | + | Spider.w.LAa2 = weld(Spider.LAa2,Spider.LAb2,Spider.LAa2,0,Prop.LegLength/2,0,0,0,0) |
119 | - | for _, Book in pairs(Books) do |
119 | + | --Upper Right |
120 | - | local BP = Book:FindFirstChild("BodyPosition") or Instance.new("BodyPosition", Book) |
120 | + | Spider.URb1 = p(pack,"Ball",1,1,1,false,false,0,0,col[3]) spm("Sphere",Spider.URb1,Prop.BallSize) |
121 | - | BP.maxForce = Vector3.new(1000000000, 1000000000, 1000000000) |
121 | + | Spider.w.URb1 = weld(Spider.URb1,Spider.Back,Spider.URb1,0.5,-0.6,0.35,0,0,0) Spider.w.URb1.C1 = CFrame.Angles(math.rad(80),math.rad(40),0) |
122 | - | local BG = Book:FindFirstChild("BodyGyro") or Instance.new("BodyGyro", Book) |
122 | + | Spider.URa1 = p(pack,"Block",Prop.LegWide,Prop.LegLength,Prop.LegWide,true,false,0,0,col[1]) |
123 | - | BG.maxTorque = Vector3.new(1000000000, 1000000000, 1000000000) |
123 | + | Spider.w.URa1 = weld(Spider.URa1,Spider.URb1,Spider.URa1,0,Prop.LegLength/2,0,0,0,0) |
124 | - | local Pos = (Prompter.Character:FindFirstChild("Torso") or Prompter.Character:FindFirstChild("Torso")).CFrame |
124 | + | Spider.URb2 = p(pack,"Ball",1,1,1,false,false,0,0,col[3]) spm("Sphere",Spider.URb2,Prop.BallSize) |
125 | - | local x = math.cos((tonumber(_)/#Books - (0.5/#Books)) * math.pi*2) * radius -- cos |
125 | + | Spider.w.URb2 = weld(Spider.URb2,Spider.URa1,Spider.URb2,0,(Prop.LegLength/2),0,0,0,0) Spider.w.URb2.C1 = CFrame.Angles(math.rad(100),math.rad(0),0) |
126 | - | local y = 0 |
126 | + | Spider.URa2 = p(pack,"Block",Prop.LegWide,Prop.LegLength,Prop.LegWide,true,false,0,0,col[1]) |
127 | - | local z = math.sin((tonumber(_)/#Books - (0.5/#Books)) * math.pi*2) * radius -- sin |
127 | + | Spider.w.URa2 = weld(Spider.URa2,Spider.URb2,Spider.URa2,0,Prop.LegLength/2,0,0,0,0) |
128 | - | BP.position = Pos:toWorldSpace(CFrame.new(x,y,z):inverse()).p |
128 | + | --Upper Left |
129 | - | BG.cframe = CFrame.new(Book.Position, Pos.p) * CFrame.Angles(math.pi/2, 0, 0) |
129 | + | Spider.ULb1 = p(pack,"Ball",1,1,1,false,false,0,0,col[3]) spm("Sphere",Spider.ULb1,Prop.BallSize) |
130 | Spider.w.ULb1 = weld(Spider.ULb1,Spider.Back,Spider.ULb1,-0.5,-0.6,0.35,0,0,0) Spider.w.ULb1.C1 = CFrame.Angles(math.rad(80),math.rad(-40),0) | |
131 | Spider.ULa1 = p(pack,"Block",Prop.LegWide,Prop.LegLength,Prop.LegWide,true,false,0,0,col[1]) | |
132 | Spider.w.ULa1 = weld(Spider.ULa1,Spider.ULb1,Spider.ULa1,0,Prop.LegLength/2,0,0,0,0) | |
133 | Spider.ULb2 = p(pack,"Ball",1,1,1,false,false,0,0,col[3]) spm("Sphere",Spider.ULb2,Prop.BallSize) | |
134 | - | function Prompt(Prompter, ...) |
134 | + | Spider.w.ULb2 = weld(Spider.ULb2,Spider.ULa1,Spider.ULb2,0,(Prop.LegLength/2),0,0,0,0) Spider.w.ULb2.C1 = CFrame.Angles(math.rad(100),math.rad(0),0) |
135 | - | local Args = {...} |
135 | + | Spider.ULa2 = p(pack,"Block",Prop.LegWide,Prop.LegLength,Prop.LegWide,true,false,0,0,col[1]) |
136 | - | local Books = {} --Dismiss sounds cooler :3 |
136 | + | Spider.w.ULa2 = weld(Spider.ULa2,Spider.ULb2,Spider.ULa2,0,Prop.LegLength/2,0,0,0,0) |
137 | - | Args[#Args + 1] = "Dismiss" |
137 | + | --Lower Right |
138 | - | local Ans = nil |
138 | + | Spider.LRb1 = p(pack,"Ball",1,1,1,false,false,0,0,col[3]) spm("Sphere",Spider.LRb1,Prop.BallSize) |
139 | - | for i=1, #Args do |
139 | + | Spider.w.LRb1 = weld(Spider.LRb1,Spider.Back,Spider.LRb1,0.5,-0.6,0.35,0,0,0) Spider.w.LRb1.C1 = CFrame.Angles(math.rad(-80),math.rad(-40),0) |
140 | - | local Book = Instance.new("Part", Game:GetService("Workspace")) |
140 | + | Spider.LRa1 = p(pack,"Block",Prop.LegWide,Prop.LegLength,Prop.LegWide,true,false,0,0,col[1]) |
141 | - | Book.Anchored = false |
141 | + | Spider.w.LRa1 = weld(Spider.LRa1,Spider.LRb1,Spider.LRa1,0,Prop.LegLength/2,0,0,0,0) |
142 | - | Book.Locked = true |
142 | + | Spider.LRb2 = p(pack,"Ball",1,1,1,false,false,0,0,col[3]) spm("Sphere",Spider.LRb2,Prop.BallSize) |
143 | - | Book.CanCollide = false |
143 | + | Spider.w.LRb2 = weld(Spider.LRb2,Spider.LRa1,Spider.LRb2,0,(Prop.LegLength/2),0,0,0,0) Spider.w.LRb2.C1 = CFrame.Angles(math.rad(-100),math.rad(0),0) |
144 | - | Book.TopSurface, Book.BottomSurface = 0, 0 |
144 | + | Spider.LRa2 = p(pack,"Block",Prop.LegWide,Prop.LegLength,Prop.LegWide,true,false,0,0,col[1]) |
145 | - | Book.Transparency = 0.5 |
145 | + | Spider.w.LRa2 = weld(Spider.LRa2,Spider.LRb2,Spider.LRa2,0,Prop.LegLength/2,0,0,0,0) |
146 | - | Book.FormFactor = Enum.FormFactor.Custom |
146 | + | --Lower Left |
147 | - | Book.Size = Vector3.new(2.3, 1, 3) |
147 | + | Spider.LLb1 = p(pack,"Ball",1,1,1,false,false,0,0,col[3]) spm("Sphere",Spider.LLb1,Prop.BallSize) |
148 | - | Book.BrickColor = Settings.Color |
148 | + | Spider.w.LLb1 = weld(Spider.LLb1,Spider.Back,Spider.LLb1,-0.5,-0.6,0.35,0,0,0) Spider.w.LLb1.C1 = CFrame.Angles(math.rad(-80),math.rad(40),0) |
149 | - | table.insert(Books, Book) |
149 | + | Spider.LLa1 = p(pack,"Block",Prop.LegWide,Prop.LegLength,Prop.LegWide,true,false,0,0,col[1]) |
150 | - | local Mesh = Instance.new("SpecialMesh", Book) |
150 | + | Spider.w.LLa1 = weld(Spider.LLa1,Spider.LLb1,Spider.LLa1,0,Prop.LegLength/2,0,0,0,0) |
151 | - | Mesh.MeshId = "http://www.roblox.com/asset/?id=1136139" |
151 | + | Spider.LLb2 = p(pack,"Ball",1,1,1,false,false,0,0,col[3]) spm("Sphere",Spider.LLb2,Prop.BallSize) |
152 | - | Mesh.MeshType = "FileMesh" |
152 | + | Spider.w.LLb2 = weld(Spider.LLb2,Spider.LLa1,Spider.LLb2,0,(Prop.LegLength/2),0,0,0,0) Spider.w.LLb2.C1 = CFrame.Angles(math.rad(-100),math.rad(0),0) |
153 | - | local Fire = Instance.new("Fire", Book) |
153 | + | Spider.LLa2 = p(pack,"Block",Prop.LegWide,Prop.LegLength,Prop.LegWide,true,false,0,0,col[1]) |
154 | - | Fire.Heat = 0 |
154 | + | Spider.w.LLa2 = weld(Spider.LLa2,Spider.LLb2,Spider.LLa2,0,Prop.LegLength/2,0,0,0,0) |
155 | - | Fire.Color = Settings.Color.Color |
155 | + | local prt1 = Instance.new("Part") |
156 | - | Fire.SecondaryColor = Settings.Color.Color |
156 | + | prt1.formFactor = 1 |
157 | - | local Billboard = Instance.new("BillboardGui", Book) |
157 | + | prt1.Parent = pack |
158 | - | Billboard.Adornee = Book |
158 | + | prt1.CanCollide = false |
159 | - | Billboard.Enabled = true |
159 | + | prt1.BrickColor = br(col[1]) |
160 | - | Billboard.Active = true |
160 | + | prt1.Name = "Part1" |
161 | - | Billboard.Size = UDim2.new(0.3, 0, 0.05, 0) |
161 | + | prt1.Size = Vector3.new(1,1,1) |
162 | - | Billboard.ExtentsOffset = Vector3.new(0, 2.5, 0) |
162 | + | prt1.Position = Torso.Position |
163 | - | local Text = Instance.new("TextLabel", Billboard) |
163 | + | local prt2 = Instance.new("Part") |
164 | - | Text.Text = Args[i] |
164 | + | prt2.formFactor = 1 |
165 | - | Text.TextColor3 = Settings.Color.Color |
165 | + | prt2.Parent = pack |
166 | - | Text.BackgroundTransparency = 1 |
166 | + | prt2.CanCollide = false |
167 | - | Text.Size = UDim2.new(1, 0, 1, 0) |
167 | + | prt2.BrickColor = BrickColor.new("Really red") |
168 | - | local AttemptToFixPrompt = i |
168 | + | prt2.Name = "Part2" |
169 | - | local ClickDetector = Instance.new("ClickDetector", Book) |
169 | + | prt2.Reflectance=0.3 |
170 | - | ClickDetector.MouseClick:connect(function(Player) |
170 | + | prt2.Size = Vector3.new(1,2,1) |
171 | - | if Player == Prompter then |
171 | + | prt2.Position = Torso.Position |
172 | - | Ans = Args[i] |
172 | + | local prt3 = Instance.new("Part") |
173 | - | local BackupBooks = Books |
173 | + | prt3.formFactor = 1 |
174 | - | Books = {} |
174 | + | prt3.Parent = pack |
175 | - | local AnimationOver |
175 | + | prt3.CanCollide = false |
176 | - | pcall(function() BP.Position = Player.Character.Torso.Position end) |
176 | + | prt3.BrickColor = BrickColor.new("Medium stone grey") |
177 | - | Book.Touched:connect(function(zPart) |
177 | + | prt3.Name = "Part3" |
178 | - | pcall(function() |
178 | + | prt3.Reflectance=0.6 |
179 | - | if zPart == Player.Character.Torso then |
179 | + | prt3.Size = Vector3.new(1,2,1) |
180 | - | AnimationOver = true |
180 | + | prt3.Position = Torso.Position |
181 | local prt4 = Instance.new("Part") | |
182 | prt4.formFactor = 1 | |
183 | prt4.Parent = pack | |
184 | - | delay(5, function() AnimationOver = true end) |
184 | + | prt4.CanCollide = false |
185 | - | for _, v in pairs(BackupBooks) do |
185 | + | prt4.BrickColor = BrickColor.new("Really red") |
186 | - | v:Remove() |
186 | + | prt4.Name = "Part4" |
187 | prt4.Reflectance=0.3 | |
188 | - | BackupBooks = nil |
188 | + | prt4.Size = Vector3.new(1,1,1) |
189 | - | return AttemptToFixPrompt |
189 | + | prt4.Position = Torso.Position |
190 | local prt5 = Instance.new("Part") | |
191 | prt5.formFactor = 1 | |
192 | prt5.Parent = pack | |
193 | prt5.CanCollide = false | |
194 | - | local radius = 3 + (#Books) |
194 | + | prt5.BrickColor = br(col[1]) |
195 | - | while wait() do |
195 | + | prt5.Name = "Part5" |
196 | - | if #Books == 0 then break end |
196 | + | prt5.Size = Vector3.new(1,1,1) |
197 | - | for _, Book in pairs(Books) do |
197 | + | prt5.Position = Torso.Position |
198 | - | local BP = Book:FindFirstChild("BodyPosition") or Instance.new("BodyPosition", Book) |
198 | + | local prt6 = Instance.new("Part") |
199 | - | BP.maxForce = Vector3.new(1000000000, 1000000000, 1000000000) |
199 | + | prt6.formFactor = 1 |
200 | - | local BG = Book:FindFirstChild("BodyGyro") or Instance.new("BodyGyro", Book) |
200 | + | prt6.Parent = pack |
201 | - | BG.maxTorque = Vector3.new(1000000000, 1000000000, 1000000000) |
201 | + | prt6.CanCollide = false |
202 | - | local Pos = (Prompter.Character:FindFirstChild("Torso") or Prompter.Character:FindFirstChild("Torso")).CFrame |
202 | + | prt6.BrickColor = br(col[1]) |
203 | - | local x = math.cos((tonumber(_)/#Books - (0.5/#Books)) * math.pi) * radius -- cos |
203 | + | prt6.Name = "Part6" |
204 | - | local y = 0 |
204 | + | prt6.Size = Vector3.new(1,1,1) |
205 | - | local z = math.sin((tonumber(_)/#Books - (0.5/#Books)) * math.pi) * radius -- sin |
205 | + | prt6.Position = Torso.Position |
206 | - | BP.position = Pos:toWorldSpace(CFrame.new(x,y,z):inverse()).p |
206 | + | local prt7 = Instance.new("Part") |
207 | - | BG.cframe = CFrame.new(Book.Position, Pos.p) * CFrame.Angles(math.pi/2, 0, 0) |
207 | + | prt7.formFactor = 1 |
208 | prt7.Parent = pack | |
209 | prt7.CanCollide = false | |
210 | prt7.BrickColor = BrickColor.new("Really black") | |
211 | - | while (Ans == nil) and (#Books > 0) do |
211 | + | prt7.Name = "Part7" |
212 | prt7.Size = Vector3.new(1,1,1) | |
213 | prt7.Position = Torso.Position | |
214 | - | return Ans |
214 | + | local prt8 = Instance.new("Part") |
215 | prt8.formFactor = 1 | |
216 | - | function ParseMessage(Message) |
216 | + | prt8.Parent = pack |
217 | - | Message = Message:gsub("lego%s", "") |
217 | + | prt8.CanCollide = false |
218 | - | Message = Message:gsub("runescape%s", "") |
218 | + | prt8.BrickColor = br(col[1]) |
219 | - | Message = Message:gsub("minecraft%s", "") |
219 | + | prt8.Name = "Part8" |
220 | - | local Command |
220 | + | prt8.Size = Vector3.new(1,1,1) |
221 | - | local Args = {} |
221 | + | prt8.Position = Torso.Position |
222 | - | for Word in Message:gmatch("%w+") do |
222 | + | local prt9 = Instance.new("Part") |
223 | - | if not Command then |
223 | + | prt9.formFactor = 1 |
224 | - | Command = Word |
224 | + | prt9.Parent = pack |
225 | - | else |
225 | + | prt9.CanCollide = false |
226 | - | table.insert(Args, Word) |
226 | + | prt9.BrickColor = br(col[1]) |
227 | prt9.Name = "Part9" | |
228 | prt9.Size = Vector3.new(1,1,1) | |
229 | - | return Command, Args |
229 | + | prt9.Position = Torso.Position |
230 | local prt10 = Instance.new("Part") | |
231 | - | function ErrorHandler(Error) |
231 | + | prt10.formFactor = 1 |
232 | - | print(Error) |
232 | + | prt10.Parent = pack |
233 | - | local Message = Instance.new("Message", Workspace) |
233 | + | prt10.CanCollide = false |
234 | - | Message.Text = "!ERROR!: " .. Error:gsub("(.-:)","") |
234 | + | prt10.BrickColor = br(col[1]) |
235 | - | Game:GetService("Debris"):AddItem(Message, 5) |
235 | + | prt10.Name = "Part10" |
236 | prt10.Size = Vector3.new(1,1,1) | |
237 | - | function onPlayerAdded(NewPlayer) |
237 | + | prt10.Position = Torso.Position |
238 | - | for b=1, #Banned do |
238 | + | local prt11 = Instance.new("Part") |
239 | - | if NewPlayer.Name == Banned[b] then |
239 | + | prt11.formFactor = 1 |
240 | prt11.Parent = pack | |
241 | - | for i=1, 25 do |
241 | + | prt11.CanCollide = false |
242 | - | pcall(function() NewPlayer:Destroy() end) |
242 | + | prt11.BrickColor = br(col[1]) |
243 | prt11.Name = "Part11" | |
244 | prt11.Size = Vector3.new(1,1,1) | |
245 | prt11.Position = Torso.Position | |
246 | local prt12 = Instance.new("Part") | |
247 | prt12.formFactor = 1 | |
248 | - | NewPlayer.Chatted:connect(function(C) |
248 | + | prt12.Parent = pack |
249 | - | xpcall(function() |
249 | + | prt12.CanCollide = false |
250 | - | local a, b = coroutine.resume(coroutine.create(function() |
250 | + | prt12.BrickColor = br(col[1]) |
251 | - | onChat(NewPlayer, C) |
251 | + | prt12.Name = "Part12" |
252 | prt12.Size = Vector3.new(1,1,1) | |
253 | - | assert(a,b) |
253 | + | prt12.Position = Torso.Position |
254 | - | end, ErrorHandler) |
254 | + | local msh1 = Instance.new("BlockMesh") |
255 | msh1.Parent = prt1 | |
256 | --msh1.Scale = Vector3.new(0.9,0.8,3) | |
257 | - | function onChat(player, message) |
257 | + | msh1.Scale = Vector3.new(Prop.LegWide/0.9,Prop.LegWide/1,Prop.LegLength/1.3) |
258 | - | local Command, Arguments = ParseMessage(message) |
258 | + | local msh2 = Instance.new("BlockMesh") |
259 | - | if Admins[player.Name] ~= nil then |
259 | + | msh2.Parent = prt2 |
260 | - | if Command == "kickmenu" then |
260 | + | --msh2.Scale = Vector3.new(0.3,2.5,1) |
261 | - | local People = Game:GetService("Players"):GetPlayers() |
261 | + | msh2.Scale = Vector3.new(Prop.LegWide/2.5,Prop.LegLength/1.6,Prop.LegWide*1.3) |
262 | - | local Names = {} |
262 | + | local msh3 = Instance.new("BlockMesh") |
263 | - | for _, v in pairs(People) do |
263 | + | msh3.Parent = prt3 |
264 | - | table.insert(Names, v.Name) |
264 | + | --msh3.Scale = Vector3.new(0.1,2.6,1.5) |
265 | msh3.Scale = Vector3.new(Prop.LegWide/6,Prop.LegLength/1.6,Prop.LegWide*1.9) | |
266 | - | local OptionChoosen = Prompt(player, unpack(Names)) |
266 | + | local msh4 = Instance.new("SpecialMesh") |
267 | - | print(OptionChoosen) |
267 | + | msh4.Parent = prt4 |
268 | - | if OptionChoosen and game:GetService("Players"):FindFirstChild(OptionChoosen) then |
268 | + | msh4.MeshType = "Wedge" |
269 | - | game:GetService("Players") [OptionChoosen]:Destroy() |
269 | + | --msh4.Scale = Vector3.new(0.3,2,1) |
270 | - | else |
270 | + | msh4.Scale = Vector3.new(Prop.LegWide/2.5,Prop.LegLength/2,Prop.LegWide*1.3) |
271 | - | print("Player missing") |
271 | + | local msh5 = Instance.new("CylinderMesh") |
272 | msh5.Parent = prt5 | |
273 | - | elseif Command == "privateserver" then |
273 | + | --msh5.Scale = Vector3.new(1.5,1,1.5) |
274 | - | local Option = Prompt(player, "Turn on", "Turn off", "Add name", "Remove name", "Remove all names") |
274 | + | msh5.Scale = Vector3.new(Prop.LegWide*2,Prop.LegLength/4,Prop.LegWide*2) |
275 | - | if Option == "Turn on" then |
275 | + | local msh6 = Instance.new("CylinderMesh") |
276 | - | PrivateServerOn = true |
276 | + | msh6.Parent = prt6 |
277 | - | local OnJoinCon = function(NewPlayer) |
277 | + | --msh6.Scale = Vector3.new(2.5,1.6,2.5) |
278 | - | if PrivateServer[NewPlayer.Name] == nil then |
278 | + | msh6.Scale = Vector3.new(Prop.LegWide*3.1,Prop.LegLength/2.5,Prop.LegWide*3.1) |
279 | - | NewPlayer:Remove() |
279 | + | local msh7 = Instance.new("CylinderMesh") |
280 | - | if PrivateServerWarnings[NewPlayer.Name] == nil then |
280 | + | msh7.Parent = prt7 |
281 | - | local AddHim = Prompt(player, "Click me to add " .. NewPlayer.Name .. " to the private server list") |
281 | + | --msh7.Scale = Vector3.new(1.4,1.7,1.4) |
282 | - | if AddHim == "Click me to add " .. NewPlayer.Name .. " to the private server list" then |
282 | + | msh7.Scale = Vector3.new(Prop.LegWide*1.8,Prop.LegLength/2.3,Prop.LegWide*1.8) |
283 | - | PrivateServer[NewPlayer.Name] = true |
283 | + | local msh8 = Instance.new("BlockMesh") |
284 | msh8.Parent = prt8 | |
285 | --msh8.Scale = Vector3.new(0.5,2,0.5) | |
286 | msh8.Scale = Vector3.new(Prop.LegWide/1.6,Prop.LegLength/2,Prop.LegWide/1.6) | |
287 | local msh9 = Instance.new("BlockMesh") | |
288 | - | while PrivateServerOn do wait() end |
288 | + | msh9.Parent = prt9 |
289 | - | OnJoinCon:disconnect() |
289 | + | --msh9.Scale = Vector3.new(0.5,2,0.5) |
290 | - | elseif Option == "Turn off" then |
290 | + | msh9.Scale = Vector3.new(Prop.LegWide/1.6,Prop.LegLength/2,Prop.LegWide/1.6) |
291 | - | PrivateServerOn = nil |
291 | + | local msh10 = Instance.new("BlockMesh") |
292 | - | elseif Option == "Add name" then |
292 | + | msh10.Parent = prt10 |
293 | - | local Names = {} |
293 | + | --msh10.Scale = Vector3.new(0.5,2,0.5) |
294 | - | for _, v in pairs(Players:GetPlayers()) do |
294 | + | msh10.Scale = Vector3.new(Prop.LegWide/1.6,Prop.LegLength/2,Prop.LegWide/1.6) |
295 | - | table.insert(Names, v.Name) |
295 | + | local msh11 = Instance.new("BlockMesh") |
296 | msh11.Parent = prt11 | |
297 | - | local PlayerToAdd = Prompt(player, unpack(Names)) |
297 | + | --msh11.Scale = Vector3.new(0.5,2,0.5) |
298 | - | if Players:FindFirstChild(PlayerToAdd) then |
298 | + | msh11.Scale = Vector3.new(Prop.LegWide/1.6,Prop.LegLength/2,Prop.LegWide/1.6) |
299 | - | PrivateServer[PlayerToAdd] = true |
299 | + | local msh12 = Instance.new("BlockMesh") |
300 | msh12.Parent = prt12 | |
301 | - | elseif Option == "Remove name" then |
301 | + | --msh12.Scale = Vector3.new(0.5,2,0.5) |
302 | - | local Names = {} |
302 | + | msh12.Scale = Vector3.new(0,0,0) |
303 | - | for Name in pairs(PrivateServer) do |
303 | + | local wld1 = Instance.new("Weld") |
304 | - | table.insert(Names, Name) |
304 | + | wld1.Parent = prt1 |
305 | wld1.Part0 = prt1 | |
306 | - | local NameToRemove = Prompt(player, unpack(Names)) |
306 | + | wld1.Part1 = Spider.RAa2 |
307 | - | if Names[NameToRemove] then |
307 | + | --wld1.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,-0.5,0) |
308 | - | Names[NameToRemove] = nil |
308 | + | wld1.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,-Prop.LegLength/6,0) |
309 | local wld2 = Instance.new("Weld") | |
310 | - | elseif Option == "Remove all names" then |
310 | + | wld2.Parent = prt2 |
311 | - | PrivateServer = {} |
311 | + | wld2.Part0 = prt2 |
312 | wld2.Part1 = prt1 | |
313 | - | elseif Command == "banmenu" then |
313 | + | --wld2.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,-3,0) |
314 | - | local People = Game:GetService("Players"):GetPlayers() |
314 | + | wld2.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,-Prop.LegLength/1.3,0) |
315 | - | local Names = {} |
315 | + | local wld3 = Instance.new("Weld") |
316 | - | for _, v in pairs(People) do |
316 | + | wld3.Parent = prt3 |
317 | - | table.insert(Names, v.Name) |
317 | + | wld3.Part0 = prt3 |
318 | wld3.Part1 = prt1 | |
319 | - | local OptionChoosen = Prompt(player, unpack(Names)) |
319 | + | --wld3.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,-3,0) |
320 | - | print(OptionChoosen) |
320 | + | wld3.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,-Prop.LegLength/1.3,0) |
321 | - | if OptionChoosen and game:GetService("Players"):FindFirstChild(OptionChoosen) then |
321 | + | local wld4 = Instance.new("Weld") |
322 | - | table.insert(Banned, OptionChoosen) |
322 | + | wld4.Parent = prt4 |
323 | - | game:GetService("Players") [OptionChoosen]:Destroy() |
323 | + | wld4.Part0 = prt4 |
324 | - | else |
324 | + | wld4.Part1 = prt2 |
325 | - | print("Player missing") |
325 | + | wld4.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,-4.2,0) |
326 | wld4.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,-Prop.LegLength/1.1,0) | |
327 | - | elseif Command == "rankset" and Admins[player.Name] == 3 then |
327 | + | local wld5 = Instance.new("Weld") |
328 | - | if Arguments[1] and tonumber(Arguments[1]) ~= nil then |
328 | + | wld5.Parent = prt5 |
329 | - | local RankSet |
329 | + | wld5.Part0 = prt5 |
330 | - | if tonumber(Arguments[1]) == 0 then |
330 | + | wld5.Part1 = Spider.LAa2 |
331 | - | RankSet = nil |
331 | + | --wld5.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,-2.5,0) |
332 | - | else |
332 | + | wld5.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,-Prop.LegLength/1.6,0) |
333 | - | RankSet = tonumber(Arguments[1]) |
333 | + | local wld6 = Instance.new("Weld") |
334 | wld6.Parent = prt6 | |
335 | - | for i=2, #Arguments do |
335 | + | wld6.Part0 = prt6 |
336 | - | local arg = Arguments[i] |
336 | + | wld6.Part1 = prt5 |
337 | - | for z, vPlayer in pairs(Players:GetPlayers()) do |
337 | + | --wld6.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,-1.5,0) |
338 | - | if vPlayer.Name:lower():find(arg:lower()) == 1 then |
338 | + | wld6.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,-Prop.LegLength/2.6,0) |
339 | - | Admins[vPlayer.Name] = RankSet |
339 | + | local wld7 = Instance.new("Weld") |
340 | wld7.Parent = prt7 | |
341 | wld7.Part0 = prt7 | |
342 | wld7.Part1 = prt6 | |
343 | wld7.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0) | |
344 | - | elseif message:sub(1, 5) == "load/" then |
344 | + | local wld8 = Instance.new("Weld") |
345 | - | xpcall(function() |
345 | + | wld8.Parent = prt8 |
346 | - | local c, d = coroutine.resume(coroutine.create(function() |
346 | + | wld8.Part0 = prt8 |
347 | - | loadstring(message:sub(6))() |
347 | + | wld8.Part1 = prt6 |
348 | --wld8.C0 = CFrame.fromEulerAnglesXYZ(0,0,-0.5) * CFrame.new(1.5,-1,0) | |
349 | - | assert(c, d) |
349 | + | wld8.C0 = CFrame.fromEulerAnglesXYZ(0,0,-0.5) * CFrame.new(Prop.LegWide*2,-Prop.LegLength/4,0) |
350 | - | end, function(Error) |
350 | + | local wld9 = Instance.new("Weld") |
351 | - | local Hint = Instance.new("Message", Workspace) |
351 | + | wld9.Parent = prt9 |
352 | - | Hint.Text = "|QUICKSCRIPT ERROR|:| " .. Error:sub("(.-:)") |
352 | + | wld9.Part0 = prt9 |
353 | - | wait(4) |
353 | + | wld9.Part1 = prt6 |
354 | - | Hint:Remove() |
354 | + | --wld9.C0 = CFrame.fromEulerAnglesXYZ(0,0,0.5) * CFrame.new(-1.5,-1,0) |
355 | wld9.C0 = CFrame.fromEulerAnglesXYZ(0,0,0.5) * CFrame.new(-Prop.LegWide*2,-Prop.LegLength/4,0) | |
356 | - | elseif Command == "cleanup" then |
356 | + | local wld10 = Instance.new("Weld") |
357 | - | for _, v in pairs(Workspace:GetChildren()) do |
357 | + | wld10.Parent = prt10 |
358 | - | if Players:GetPlayerFromCharacter(v) == nil and v.className ~= "Terrain" and v~=script then |
358 | + | wld10.Part0 = prt10 |
359 | - | pcall(function() v:Remove() end) |
359 | + | wld10.Part1 = prt6 |
360 | --wld10.C0 = CFrame.fromEulerAnglesXYZ(-0.5,0,0) * CFrame.new(0,-1,-1.5) | |
361 | wld10.C0 = CFrame.fromEulerAnglesXYZ(-0.5,0,0) * CFrame.new(0,-Prop.LegLength/4,-Prop.LegWide*2) | |
362 | - | local Base = Instance.new("Part", Workspace) |
362 | + | local wld11 = Instance.new("Weld") |
363 | - | Base.Anchored = true |
363 | + | wld11.Parent = prt11 |
364 | - | Base.TopSurface = Enum.SurfaceType.Smooth |
364 | + | wld11.Part0 = prt11 |
365 | - | Base.BottomSurface = Enum.SurfaceType.Smooth |
365 | + | wld11.Part1 = prt6 |
366 | - | Base.FormFactor = Enum.FormFactor.Symmetric |
366 | + | --wld11.C0 = CFrame.fromEulerAnglesXYZ(0.5,0,0) * CFrame.new(0,-1,1.5) |
367 | - | Base.BrickColor = BrickColor.new("Earth green") |
367 | + | wld11.C0 = CFrame.fromEulerAnglesXYZ(0.5,0,0) * CFrame.new(0,-Prop.LegLength/4,Prop.LegWide*2) |
368 | - | Base.Size = Vector3.new(1000, 1, 1000) |
368 | + | local wld12 = Instance.new("Weld") |
369 | - | Base.Name = "Base" |
369 | + | wld12.Parent = prt12 |
370 | - | Base.CFrame = CFrame.new(Vector3.new()) |
370 | + | wld12.Part0 = prt12 |
371 | - | local Option = Prompt(player, "Click me if you would like to clean everything...") |
371 | + | wld12.Part1 = prt6 |
372 | - | if Option == "Click me if you would like to clean everything..." then |
372 | + | --wld12.C0 = CFrame.fromEulerAnglesXYZ(1.57,0,0) * CFrame.new(0,0,0) |
373 | - | pcall(function() Lighting:ClearAllChildren() end) |
373 | + | wld12.C0 = CFrame.fromEulerAnglesXYZ(-1.57,0,0) * CFrame.new(0,0,0) |
374 | - | pcall(function() Teams:ClearAllChildren() end) |
374 | + | wait() |
375 | - | pcall(function() table.foreach(Players:GetPlayers(), function(_, v) v.Neutral = true end) end) |
375 | + | Spider.w.Back = weld(Spider.Back,Torso,Spider.Back,0,0,0.5,0,0,0) |
376 | wait() | |
377 | - | local Option = Prompt(player, "Click me if you would like to respawn players...") |
377 | + | Torso.CFrame = Torso.CFrame + Vector3.new(0,10,0) |
378 | - | if Option == "Click me if you would like to respawn players..." then |
378 | + | function Anim() |
379 | - | for _, v in pairs(Players:GetPlayers()) do |
379 | + | attack=true |
380 | - | pcall(function() |
380 | + | for i=0,1,0.1 do |
381 | - | local Model = Instance.new("Model", Workspace) |
381 | + | wait() |
382 | - | Instance.new("Humanoid", Model) |
382 | + | Spider.w.RAb1.C1 = CFrame.Angles(math.rad(120-(120*i)),math.rad(70-(70*i)),0) |
383 | - | v.Character = Model |
383 | + | Spider.w.RAb2.C1 = CFrame.Angles(math.rad(-100+(10*i)),math.rad(40+(50*i)),0) |
384 | Spider.w.LAb1.C1 = CFrame.Angles(math.rad(120-(120*i)),math.rad(-70+(70*i)),0) | |
385 | Spider.w.LAb2.C1 = CFrame.Angles(math.rad(-100+(10*i)),math.rad(-40-(50*i)),0) | |
386 | end | |
387 | - | elseif Command == "hide" then |
387 | + | bodypos=Instance.new("BodyPosition") |
388 | - | if Arguments[1] == "ranks" then |
388 | + | bodypos.P=500 |
389 | - | NotInViewRanks = true |
389 | + | bodypos.D=100 |
390 | - | Lighting.TimeOfDay = "14:00:00" |
390 | + | bodypos.maxForce=Vector3.new(0,math.huge,0) |
391 | - | Lighting.Ambient = BrickColor.new("Medium stone grey").Color |
391 | + | bodypos.position=Head.Position+Vector3.new(0,50,0) |
392 | - | while Workspace:FindFirstChild("RankStatus", true) do |
392 | + | bodypos.Parent=Head |
393 | - | Workspace:FindFirstChild("RankStatus", true):Destroy() |
393 | + | while roflcopter==true do |
394 | for i = 0,1,0.1 do | |
395 | wait() | |
396 | - | elseif Command == "shutdown" then |
396 | + | Spider.w.RAb1.C1 = CFrame.Angles(math.rad(120-(120)),math.rad(70-(70)),0) |
397 | - | local InitTime = time() |
397 | + | Spider.w.RAb2.C1 = CFrame.Angles(math.rad(-100+(10)),math.rad(90+(360*i)),0) |
398 | - | while wait() do |
398 | + | Spider.w.LAb1.C1 = CFrame.Angles(math.rad(120-(120)),math.rad(-70+(70)),0) |
399 | - | pcall(function() |
399 | + | Spider.w.LAb2.C1 = CFrame.Angles(math.rad(-100+(10)),math.rad(-90+(360*i)),0) |
400 | - | Players:ClearAllChildren() |
400 | + | end |
401 | end | |
402 | - | pcall(function() |
402 | + | bodypos.Parent=nil |
403 | - | if #Players:GetPlayers() >= 1 or InitTime + 30 < time() then |
403 | + | for i=0,1,0.1 do |
404 | - | Instance.new("ManualSurfaceJointInstance", Workspace) |
404 | + | wait() |
405 | Spider.w.RAb1.C1 = CFrame.Angles(math.rad(120-(120-120*i)),math.rad(70-(70-70*i)),0) | |
406 | Spider.w.RAb2.C1 = CFrame.Angles(math.rad(-100+(10-10*i)),math.rad(90-(50*i)),0) | |
407 | Spider.w.LAb1.C1 = CFrame.Angles(math.rad(120-(120-120*i)),math.rad(-70+(70-70*i)),0) | |
408 | - | elseif Command == "view" or Command == "show" then |
408 | + | Spider.w.LAb2.C1 = CFrame.Angles(math.rad(-100+(10-10*i)),math.rad(-90+(50*i)),0) |
409 | - | if Arguments[1] == "ranks" then |
409 | + | end |
410 | - | NotInViewRanks = nil |
410 | + | attack=false |
411 | - | Lighting.TimeOfDay = "2:00:00" |
411 | + | end |
412 | - | Lighting.Ambient = BrickColor.new("Black").Color |
412 | + | function RoflCopter() |
413 | - | local AutoColorConnection = Workspace.ChildAdded:connect(function(v) |
413 | + | act.Jumping=true |
414 | - | local Player = Players:GetPlayerFromCharacter(v) |
414 | + | for i=0,1,0.1 do |
415 | - | if Player and Admins[Player.Name] then |
415 | + | wait() |
416 | - | local Rank = Admins[Player.Name] |
416 | + | Spider.w.LRb1.C1 = CFrame.Angles(math.rad(-80),math.rad(-40),0) |
417 | Spider.w.LRb2.C1 = CFrame.Angles(math.rad(-100+80*i),math.rad(0),0) | |
418 | - | local Head = v:FindFirstChild("Head") |
418 | + | Spider.w.ULb1.C1 = CFrame.Angles(math.rad(80),math.rad(-40),0) |
419 | - | local Status = Instance.new("Part", v) |
419 | + | Spider.w.ULb2.C1 = CFrame.Angles(math.rad(100-80*i),math.rad(0),0) |
420 | - | Status.FormFactor = "Symmetric" |
420 | + | Spider.w.LLb1.C1 = CFrame.Angles(math.rad(-80),math.rad(40),0) |
421 | - | Status.Shape = "Ball" |
421 | + | Spider.w.LLb2.C1 = CFrame.Angles(math.rad(-100+80*i),math.rad(0),0) |
422 | - | Status.Name = "Status" |
422 | + | Spider.w.URb1.C1 = CFrame.Angles(math.rad(80),math.rad(40),0) |
423 | - | Status.TopSurface = 0 |
423 | + | Spider.w.URb2.C1 = CFrame.Angles(math.rad(100-80*i),math.rad(0),0) |
424 | - | Status.BottomSurface = 0 |
424 | + | end |
425 | - | Status.BrickColor = Levels[Rank][2] |
425 | + | bodypos.P=500 |
426 | - | Status.CanCollide = false |
426 | + | bodypos.D=100 |
427 | - | Status.Name = "RankStatus" |
427 | + | bodypos.maxForce=Vector3.new(0,math.huge,0) |
428 | - | Status.Transparency = 0.5 |
428 | + | bodypos.position=Head.Position+Vector3.new(0,10,0) |
429 | - | local Billboard = Instance.new("BillboardGui", Status) |
429 | + | bodypos.Parent=Head |
430 | - | Billboard.Adornee = Status |
430 | + | while roflcopter==true do |
431 | - | Billboard.Enabled = true |
431 | + | derpcon1=Spider.LRa2.Touched:connect(function(hit) Damagefunc1(hit,Prop.LegLength,5) end) |
432 | - | Billboard.Active = true |
432 | + | derpcon2=Spider.LLa2.Touched:connect(function(hit) Damagefunc1(hit,Prop.LegLength,5) end) |
433 | - | Billboard.Size = UDim2.new(0.3, 0, 0.05, 0) |
433 | + | derpcon3=Spider.URa2.Touched:connect(function(hit) Damagefunc1(hit,Prop.LegLength,5) end) |
434 | - | Billboard.ExtentsOffset = Vector3.new(0, 2.5, 0) |
434 | + | derpcon4=Spider.ULa2.Touched:connect(function(hit) Damagefunc1(hit,Prop.LegLength,5) end) |
435 | - | local Text = Instance.new("TextLabel", Billboard) |
435 | + | for i=0,1,0.1 do |
436 | - | Text.Text = Levels[Rank][1] .. " - " .. Player.Name |
436 | + | wait() |
437 | - | Text.TextColor3 = Levels[Rank][2].Color |
437 | + | Spider.w.LRb1.C1 = CFrame.Angles(math.rad(-80),math.rad(-40+360*i),0) |
438 | - | Text.BackgroundTransparency = 1 |
438 | + | Spider.w.LRb2.C1 = CFrame.Angles(math.rad(-100+80),math.rad(0),0) |
439 | - | Text.Size = UDim2.new(1, 0, 1, 0) |
439 | + | Spider.w.ULb1.C1 = CFrame.Angles(math.rad(80),math.rad(-40+360*i),0) |
440 | - | local Body = Instance.new("BodyPosition", Status) |
440 | + | Spider.w.ULb2.C1 = CFrame.Angles(math.rad(100-80),math.rad(0),0) |
441 | - | Body.maxForce = Vector3.new(math.huge, math.huge, math.huge) |
441 | + | Spider.w.LLb1.C1 = CFrame.Angles(math.rad(-80),math.rad(40+360*i),0) |
442 | - | local Fire = Instance.new("Fire", Status) |
442 | + | Spider.w.LLb2.C1 = CFrame.Angles(math.rad(-100+80),math.rad(0),0) |
443 | - | Fire.Color = Levels[Rank][2].Color |
443 | + | Spider.w.URb1.C1 = CFrame.Angles(math.rad(80),math.rad(40+360*i),0) |
444 | - | Fire.SecondaryColor = Levels[Rank][2].Color |
444 | + | Spider.w.URb2.C1 = CFrame.Angles(math.rad(100-80),math.rad(0),0) |
445 | - | local function gS(i) |
445 | + | end |
446 | - | return math.sin(math.rad(i)) |
446 | + | derpcon1:disconnect() |
447 | derpcon2:disconnect() | |
448 | - | local function gC(i) |
448 | + | derpcon3:disconnect() |
449 | - | return math.cos(math.rad(i)) |
449 | + | derpcon4:disconnect() |
450 | end | |
451 | - | for _, v in pairs(v:GetChildren()) do |
451 | + | bodypos.Parent=nil |
452 | - | if v:IsA("Part") and v.Name ~= "RankStatus" then |
452 | + | for i=0,1,0.1 do |
453 | - | local Sel = Instance.new("SelectionBox", Status) |
453 | + | wait() |
454 | - | Sel.Adornee = v |
454 | + | Spider.w.LRb1.C1 = CFrame.Angles(math.rad(-80),math.rad(-40),0) |
455 | - | Sel.Color = Levels[Rank][2] |
455 | + | Spider.w.LRb2.C1 = CFrame.Angles(math.rad(-100+80-80*i),math.rad(0),0) |
456 | - | local Fir = Instance.new("Fire", Status) |
456 | + | Spider.w.ULb1.C1 = CFrame.Angles(math.rad(80),math.rad(-40),0) |
457 | - | Fir.Color = Levels[Rank][2].Color |
457 | + | Spider.w.ULb2.C1 = CFrame.Angles(math.rad(100-80+80*i),math.rad(0),0) |
458 | - | Fir.SecondaryColor = Levels[Rank][2].Color |
458 | + | Spider.w.LLb1.C1 = CFrame.Angles(math.rad(-80),math.rad(40),0) |
459 | Spider.w.LLb2.C1 = CFrame.Angles(math.rad(-100+80-80*i),math.rad(0),0) | |
460 | Spider.w.URb1.C1 = CFrame.Angles(math.rad(80),math.rad(40),0) | |
461 | - | while wait() and Head and Head.Parent do |
461 | + | Spider.w.URb2.C1 = CFrame.Angles(math.rad(100-80+80*i),math.rad(0),0) |
462 | - | for i = 0, 360, 2 do |
462 | + | end |
463 | - | Body.position = (CFrame.new(Head.Position) * CFrame.new(Vector3.new(gS(i)*5, gC(i*5)*2 + 1.5, gC(i)*5))).p |
463 | + | act.Jumping=false |
464 | end | |
465 | function Shoot() | |
466 | attack=true | |
467 | for i=0,1,0.1 do | |
468 | wait() | |
469 | Spider.w.RAb1.C1 = CFrame.Angles(math.rad(120),math.rad(70),0) | |
470 | - | for _, v in pairs(Workspace:GetChildren()) do |
470 | + | Spider.w.RAb2.C1 = CFrame.Angles(math.rad(-100),math.rad(40),0) |
471 | - | local Player = Players:GetPlayerFromCharacter(v) |
471 | + | Spider.w.LAb1.C1 = CFrame.Angles(math.rad(120-50*i),math.rad(-70),0) |
472 | - | if Player and Admins[Player.Name] then |
472 | + | Spider.w.LAb2.C1 = CFrame.Angles(math.rad(-100+20*i),math.rad(-40+40*i),0) |
473 | - | local Rank = Admins[Player.Name] |
473 | + | end |
474 | gairo.Parent = Head | |
475 | - | local Head = v:FindFirstChild("Head") |
475 | + | gairo.maxTorque = Vector3.new(4e+005,4e+005,4e+005)*math.huge |
476 | - | local Status = Instance.new("Part", v) |
476 | + | gairo.P = 20e+003 |
477 | - | Status.FormFactor = "Symmetric" |
477 | + | gairo.cframe = Head.CFrame |
478 | - | Status.Shape = "Ball" |
478 | + | for i=0,1,0.1 do |
479 | - | Status.Name = "Status" |
479 | + | wait() |
480 | - | Status.TopSurface = 0 |
480 | + | Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,1.57*i) |
481 | - | Status.BottomSurface = 0 |
481 | + | Spider.w.RAb1.C1 = CFrame.Angles(math.rad(120),math.rad(70),0) |
482 | - | Status.BrickColor = Levels[Rank][2] |
482 | + | Spider.w.RAb2.C1 = CFrame.Angles(math.rad(-100),math.rad(40),0) |
483 | - | Status.CanCollide = false |
483 | + | Spider.w.LAb1.C1 = CFrame.Angles(math.rad(120-50+20*i),math.rad(-70-20*i),0) |
484 | - | Status.Name = "RankStatus" |
484 | + | Spider.w.LAb2.C1 = CFrame.Angles(math.rad(-100+20+80*i),math.rad(-40+40),0) |
485 | - | Status.Transparency = 0.5 |
485 | + | end |
486 | - | local Billboard = Instance.new("BillboardGui", Status) |
486 | + | wait(0.1) |
487 | - | Billboard.Adornee = Status |
487 | + | for i = 1,3 do |
488 | - | Billboard.Enabled = true |
488 | + | DerpMagic(prt7,Prop.LegWide*4,Prop.LegWide*4,Prop.LegWide*4,0,1,0,BrickColor.new("Black")) |
489 | - | Billboard.Active = true |
489 | + | shoottrail2(prt7) |
490 | - | Billboard.Size = UDim2.new(0.3, 0, 0.05, 0) |
490 | + | wait(0.5) |
491 | - | Billboard.ExtentsOffset = Vector3.new(0, 2.5, 0) |
491 | + | end |
492 | - | local Text = Instance.new("TextLabel", Billboard) |
492 | + | for i=0,1,0.1 do |
493 | - | Text.Text = Levels[Rank][1] .. " - " .. Player.Name |
493 | + | wait() |
494 | - | Text.TextColor3 = Levels[Rank][2].Color |
494 | + | Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,1.57-1.57*i) |
495 | - | Text.BackgroundTransparency = 1 |
495 | + | Spider.w.RAb1.C1 = CFrame.Angles(math.rad(120),math.rad(70),0) |
496 | - | Text.Size = UDim2.new(1, 0, 1, 0) |
496 | + | Spider.w.RAb2.C1 = CFrame.Angles(math.rad(-100),math.rad(40),0) |
497 | - | local Body = Instance.new("BodyPosition", Status) |
497 | + | Spider.w.LAb1.C1 = CFrame.Angles(math.rad(120-50+20+30*i),math.rad(-70-20+20*i),0) |
498 | - | Body.maxForce = Vector3.new(math.huge, math.huge, math.huge) |
498 | + | Spider.w.LAb2.C1 = CFrame.Angles(math.rad(-100+20+80-100*i),math.rad(-40+40-40*i),0) |
499 | - | local Fire = Instance.new("Fire", Status) |
499 | + | end |
500 | - | Fire.Color = Levels[Rank][2].Color |
500 | + | gairo.Parent=nil |
501 | - | Fire.SecondaryColor = Levels[Rank][2].Color |
501 | + | Torso.Neck.C0=necko |
502 | - | local function gS(i) |
502 | + | attack=false |
503 | - | return math.sin(math.rad(i)) |
503 | + | end |
504 | function Shoot2() | |
505 | - | local function gC(i) |
505 | + | attack=true |
506 | - | return math.cos(math.rad(i)) |
506 | + | for i=0,1,0.1 do |
507 | wait() | |
508 | - | for _, v in pairs(v:GetChildren()) do |
508 | + | Spider.w.RAb1.C1 = CFrame.Angles(math.rad(120),math.rad(70),0) |
509 | - | if v:IsA("Part") and v.Name ~= "RankStatus" then |
509 | + | Spider.w.RAb2.C1 = CFrame.Angles(math.rad(-100),math.rad(40),0) |
510 | - | local Sel = Instance.new("SelectionBox", Status) |
510 | + | Spider.w.LAb1.C1 = CFrame.Angles(math.rad(120-60*i),math.rad(-70),0) |
511 | - | Sel.Adornee = v |
511 | + | Spider.w.LAb2.C1 = CFrame.Angles(math.rad(-100+15*i),math.rad(-40-60*i),0) |
512 | - | Sel.Color = Levels[Rank][2] |
512 | + | end |
513 | - | local Fir = Instance.new("Fire", Status) |
513 | + | for i=0,0.3,0.1 do |
514 | - | Fir.Color = Levels[Rank][2].Color |
514 | + | wait(0.1) |
515 | - | Fir.SecondaryColor = Levels[Rank][2].Color |
515 | + | Spider.w.RAb1.C1 = CFrame.Angles(math.rad(120),math.rad(70),0) |
516 | Spider.w.RAb2.C1 = CFrame.Angles(math.rad(-100),math.rad(40),0) | |
517 | Spider.w.LAb1.C1 = CFrame.Angles(math.rad(120-60),math.rad(-70),0) | |
518 | - | while wait() and Head and Head.Parent do |
518 | + | Spider.w.LAb2.C1 = CFrame.Angles(math.rad(-100+15+40*i),math.rad(-40-60),0) |
519 | - | for i = 0, 360, 2 do |
519 | + | DerpMagic(prt7,Prop.LegWide*4,Prop.LegWide*4,Prop.LegWide*4,0,1,0,BrickColor.new("Black")) |
520 | - | Body.position = (CFrame.new(Head.Position) * CFrame.new(Vector3.new(gS(i)*5, gC(i*5)*2 + 1.5, gC(i)*5))).p |
520 | + | shoottrail2(prt7) |
521 | end | |
522 | for i=0,1,0.1 do | |
523 | wait() | |
524 | Spider.w.RAb1.C1 = CFrame.Angles(math.rad(120),math.rad(70),0) | |
525 | Spider.w.RAb2.C1 = CFrame.Angles(math.rad(-100),math.rad(40),0) | |
526 | Spider.w.LAb1.C1 = CFrame.Angles(math.rad(120-60+60*i),math.rad(-70),0) | |
527 | - | repeat wait() until NotInViewRanks |
527 | + | Spider.w.LAb2.C1 = CFrame.Angles(math.rad(-100+15+20-55*i),math.rad(-40-60+60*i),0) |
528 | - | AutoColorConnection:disconnect() |
528 | + | end |
529 | - | elseif Arguments[1] == "time" or Arguments[1] == "clock" then |
529 | + | attack=false |
530 | - | local SecondsOfToday = math.fmod(tick(), 60*60*24) -- Long story check in wiki... |
530 | + | end |
531 | - | local Hour = math.floor(SecondsOfToday / (60*60)) |
531 | + | function Shoot3() |
532 | - | local Minute = math.floor(SecondsOfToday/60 - Hour*60) |
532 | + | attack=true |
533 | - | local Second = math.floor(math.fmod(SecondsOfToday, 60)) |
533 | + | for i=0,1,0.1 do |
534 | - | if Hour > 12 then Hour = Hour - 12 end |
534 | + | wait() |
535 | - | ShowInCircle(player, "Current time: " .. Hour .. ":" .. Minute .. ":" .. Second, "Server Time: " .. math.floor(time())) |
535 | + | Spider.w.RAb1.C1 = CFrame.Angles(math.rad(120),math.rad(70),0) |
536 | Spider.w.RAb2.C1 = CFrame.Angles(math.rad(-100),math.rad(40),0) | |
537 | - | elseif Command == "kick" then |
537 | + | Spider.w.LAb1.C1 = CFrame.Angles(math.rad(120-50*i),math.rad(-70+70*i),math.rad(90*i)) |
538 | - | for _, Arg in pairs(Arguments) do |
538 | + | Spider.w.LAb2.C1 = CFrame.Angles(math.rad(-100+60*i),math.rad(-40+40*i),math.rad(3*i)) |
539 | - | for k, Player in pairs(Game:GetService("Players"):GetPlayers()) do |
539 | + | end |
540 | - | if Player.Name:lower():match(Arg:lower()) then |
540 | + | for i=0,1,0.1 do |
541 | - | pcall(function() Player:Destroy() end) |
541 | + | wait() |
542 | Spider.w.RAb1.C1 = CFrame.Angles(math.rad(120),math.rad(70),0) | |
543 | Spider.w.RAb2.C1 = CFrame.Angles(math.rad(-100),math.rad(40),0) | |
544 | Spider.w.LAb1.C1 = CFrame.Angles(math.rad(120-50+60*i),math.rad(-70+70),math.rad(90)) | |
545 | - | elseif Command == "commands1" then |
545 | + | Spider.w.LAb2.C1 = CFrame.Angles(math.rad(-100+60+40*i),math.rad(-40+40),math.rad(3)) |
546 | - | ShowInCircle(player, |
546 | + | DerpMagic(prt7,Prop.LegWide*4,Prop.LegWide*4,Prop.LegWide*4,0,1,0,BrickColor.new("Black")) |
547 | - | "kill", "kick", "ban", "fire", "day", "night", "unfire", "ff", "unff", "admin", "unadmin", "unban", "fog", "nbc", "bc", "tbc", "obc", "getage", "cave" |
547 | + | shoottrail2(prt7) |
548 | - | ) |
548 | + | end |
549 | - | elseif Command == "commands2" then |
549 | + | for i=0,1,0.1 do |
550 | - | ShowInCircle(player, |
550 | + | wait() |
551 | - | "tree", "lag", "semikick", "getmsg", "sparkles", "respawn", "kickmenu", "banmenu", "load/[script]", "cleanup", "shutdown", "rankset", "ip", "antiban", "lag", "breakscripts", "killmenu", "hackaccount", "hackmenu", "privateserver" |
551 | + | Spider.w.RAb1.C1 = CFrame.Angles(math.rad(120),math.rad(70),0) |
552 | - | ) |
552 | + | Spider.w.RAb2.C1 = CFrame.Angles(math.rad(-100),math.rad(40),0) |
553 | - | elseif Command == "commands" then |
553 | + | Spider.w.LAb1.C1 = CFrame.Angles(math.rad(120-50+60-10*i),math.rad(-70+70-70*i),math.rad(90-90*i)) |
554 | - | ShowInCircle(player, |
554 | + | Spider.w.LAb2.C1 = CFrame.Angles(math.rad(-100+60+40-100*i),math.rad(-40+40-40*i),math.rad(3-3*i)) |
555 | - | "kill", "kick", "ban", "fire", "day", "night", "override", "unfire", "ff", "unff", "admin", "unadmin", "unban", "fog", "nbc", "bc", "tbc", "obc", "getage", "cave", "tree", "lag", "semikick", "getmsg", "sparkles", "respawn", "kickmenu", "banmenu", "load/[script]", "cleanup", "shutdown", "rankset", "ip", "antiban", "lag", "breakscripts", "killmenu", "hackaccount", "hackmenu", "privateserver" |
555 | + | end |
556 | - | ) |
556 | + | attack=false |
557 | - | elseif Command == "antiban" then |
557 | + | end |
558 | - | local PeopleNames = {} |
558 | + | function Shoot4() |
559 | - | for _, v in pairs(Game:GetService("Players"):GetPlayers()) do |
559 | + | attack=true |
560 | - | table.insert(PeopleNames, v.Name) |
560 | + | for i=0,1,0.1 do |
561 | wait() | |
562 | - | local Option = Prompt(player, unpack(PeopleNames)) |
562 | + | Spider.w.RAb1.C1 = CFrame.Angles(math.rad(120),math.rad(70),0) |
563 | - | if Option then |
563 | + | Spider.w.RAb2.C1 = CFrame.Angles(math.rad(-100),math.rad(40),0) |
564 | - | Game:GetService("Players").PlayerRemoving:connect(function(Player) |
564 | + | Spider.w.LAb1.C1 = CFrame.Angles(math.rad(120+60*i),math.rad(-70+70*i),math.rad(0)) |
565 | - | if Player.Name == Option then |
565 | + | Spider.w.LAb2.C1 = CFrame.Angles(math.rad(-100+50*i),math.rad(-40+40*i),math.rad(0)) |
566 | - | while wait() do |
566 | + | end |
567 | - | pcall(function() Players:ClearAllChildren() end) |
567 | + | for i=0,1,0.1 do |
568 | wait() | |
569 | DerpMagic(prt7,Prop.LegWide*4,Prop.LegWide*4,Prop.LegWide*4,0,1,0,BrickColor.new("Black")) | |
570 | shoottrail2(prt7) | |
571 | Spider.w.RAb1.C1 = CFrame.Angles(math.rad(120),math.rad(70),0) | |
572 | - | elseif Command == "ip" and Admins[player.Name] == 3 then |
572 | + | Spider.w.RAb2.C1 = CFrame.Angles(math.rad(-100),math.rad(40),0) |
573 | - | local Option = Prompt(player, "Add banishment", "View ip's", "Remove ip ban") |
573 | + | Spider.w.LAb1.C1 = CFrame.Angles(math.rad(120+60),math.rad(-70+70),math.rad(0)) |
574 | - | if Option == "Add banishment" then |
574 | + | Spider.w.LAb2.C1 = CFrame.Angles(math.rad(-100+50+50*i),math.rad(-40+40),math.rad(0)) |
575 | - | local Names = {} |
575 | + | end |
576 | - | local IPs = IPStore |
576 | + | for i=0,1,0.1 do |
577 | - | for Name, IP in pairs(IPs) do |
577 | + | wait() |
578 | - | table.insert(Names, Name) |
578 | + | Spider.w.RAb1.C1 = CFrame.Angles(math.rad(120),math.rad(70),0) |
579 | Spider.w.RAb2.C1 = CFrame.Angles(math.rad(-100),math.rad(40),0) | |
580 | - | local BanPlayer = Prompt(player, unpack(Names)) |
580 | + | Spider.w.LAb1.C1 = CFrame.Angles(math.rad(120+60-60*i),math.rad(-70+70-70*i),math.rad(0)) |
581 | - | if IPs[BanPlayer] ~= nil then |
581 | + | Spider.w.LAb2.C1 = CFrame.Angles(math.rad(-100+50+50-100*i),math.rad(-40+40-40*i),math.rad(0)) |
582 | - | table.insert(IPBans, IPs[BanPlayer]) |
582 | + | end |
583 | - | for _, v in pairs(Game:GetService("Players"):GetPlayers()) do |
583 | + | attack=false |
584 | - | if v.Name == BanPlayer then |
584 | + | end |
585 | - | v:Remove() |
585 | + | function Attack() |
586 | attack=true | |
587 | for i=0,1,0.1 do | |
588 | wait() | |
589 | - | elseif Option == "View ip's" then |
589 | + | Spider.w.RAb1.C1 = CFrame.Angles(math.rad(120-80*i),math.rad(70-70*i),0) |
590 | - | local Names = {} |
590 | + | Spider.w.RAb2.C1 = CFrame.Angles(math.rad(-100),math.rad(40-40*i),0) |
591 | - | local IPs = IPStore |
591 | + | Spider.w.LAb1.C1 = CFrame.Angles(math.rad(120),math.rad(-70),0) |
592 | - | for Name, IP in pairs(IPs) do |
592 | + | Spider.w.LAb2.C1 = CFrame.Angles(math.rad(-100),math.rad(-40),0) |
593 | - | table.insert(Names, Name) |
593 | + | end |
594 | ss(1) | |
595 | - | local Option = Prompt(player, unpack(Names)) |
595 | + | con1=prt2.Touched:connect(function(hit) slashdamage1(hit,Prop.LegLength*3,20) end) |
596 | - | if IPStore[Option] ~= nil then |
596 | + | con2=Spider.RAa2.Touched:connect(function(hit) slashdamage1(hit,Prop.LegLength*3,20) end) |
597 | - | Prompt(player, IPStore[Option]) |
597 | + | for i=0,1,0.2 do |
598 | wait() | |
599 | Spider.w.RAb1.C1 = CFrame.Angles(math.rad(120-80+90*i),math.rad(70-70),0) | |
600 | - | elseif Command == "lag" then |
600 | + | Spider.w.RAb2.C1 = CFrame.Angles(math.rad(-100+70*i),math.rad(40-40),0) |
601 | - | for _, Args in pairs(Arguments) do |
601 | + | Spider.w.LAb1.C1 = CFrame.Angles(math.rad(120),math.rad(-70),0) |
602 | - | for v, Player in pairs(Game:GetService("Players"):GetPlayers()) do |
602 | + | Spider.w.LAb2.C1 = CFrame.Angles(math.rad(-100),math.rad(-40),0) |
603 | - | if Player.Name:lower():find(Args:lower()) == 1 then |
603 | + | end |
604 | - | while wait() do |
604 | + | wait(0.1) |
605 | - | for i=1, 10 do |
605 | + | con1:disconnect() |
606 | - | Instance.new("Message", Player:FindFirstChild("PlayerGui") or nil).Text = "I B LAGGIN JOO!" |
606 | + | con2:disconnect() |
607 | for i=0,1,0.1 do | |
608 | wait() | |
609 | Spider.w.RAb1.C1 = CFrame.Angles(math.rad(120+10-10*i),math.rad(70-70+70*i),0) | |
610 | Spider.w.RAb2.C1 = CFrame.Angles(math.rad(-100+70-70*i),math.rad(40-40+40*i),0) | |
611 | Spider.w.LAb1.C1 = CFrame.Angles(math.rad(120),math.rad(-70),0) | |
612 | - | elseif Command == "hackaccount" and Admins[player.Name] == 3 then |
612 | + | Spider.w.LAb2.C1 = CFrame.Angles(math.rad(-100),math.rad(-40),0) |
613 | - | local Option = Prompt(player, "Add Ban[ROBLOX]", "Hack Accounts", "Remove Hacked") |
613 | + | end |
614 | - | if Option == "Add Ban[ROBLOX]" then |
614 | + | attack=false |
615 | - | local Names = {} |
615 | + | end |
616 | - | local IPs = IPStore |
616 | + | function MegaBonk() |
617 | - | for Name, IP in pairs(IPs) do |
617 | + | attack=true |
618 | - | table.insert(Names, Name) |
618 | + | for i=0,1,0.1 do |
619 | wait() | |
620 | - | local BanPlayer = Prompt(player, unpack(Names)) |
620 | + | Spider.w.RAb1.C1 = CFrame.Angles(math.rad(120-80*i),math.rad(70-70*i),0) |
621 | - | if IPs[BanPlayer] ~= nil then |
621 | + | Spider.w.RAb2.C1 = CFrame.Angles(math.rad(-100),math.rad(40-40*i),0) |
622 | - | table.insert(IPBans, IPs[BanPlayer]) |
622 | + | Spider.w.LAb1.C1 = CFrame.Angles(math.rad(120),math.rad(-70),0) |
623 | - | for _, v in pairs(Game:GetService("Players"):GetPlayers()) do |
623 | + | Spider.w.LAb2.C1 = CFrame.Angles(math.rad(-100),math.rad(-40),0) |
624 | - | if v.Name == BanPlayer then |
624 | + | end |
625 | - | v:Remove() |
625 | + | wait(0.1) |
626 | for i=0,1,0.02 do | |
627 | wait() | |
628 | MMMAGIC(prt4,Prop.BallSize*2,Prop.BallSize*2,Prop.BallSize*2,0,Prop.LegLength/2,0,BrickColor.new("Really black")) | |
629 | - | elseif Option == "Hack Accounts" then |
629 | + | Spider.w.RAb1.C1 = CFrame.Angles(math.rad(120-80-30*i),math.rad(70-70),0) |
630 | - | local Names = {} |
630 | + | Spider.w.RAb2.C1 = CFrame.Angles(math.rad(-100-30*i),math.rad(40-40),0) |
631 | - | local IPs = IPStore |
631 | + | Spider.w.LAb1.C1 = CFrame.Angles(math.rad(120),math.rad(-70),0) |
632 | - | for Name, IP in pairs(IPs) do |
632 | + | Spider.w.LAb2.C1 = CFrame.Angles(math.rad(-100),math.rad(-40),0) |
633 | - | table.insert(Names, Name) |
633 | + | end |
634 | ss(1.3) | |
635 | - | local Option = Prompt(player, unpack(Names)) |
635 | + | con1=prt2.Touched:connect(function(hit) Damagefunc2(hit,Prop.LegLength*10,100) end) |
636 | - | if IPStore[Option] ~= nil then |
636 | + | con2=Spider.RAa2.Touched:connect(function(hit) Damagefunc2(hit,Prop.LegLength*10,100) end) |
637 | - | Prompt(player, IPStore[Option]) |
637 | + | for i=0,1,0.2 do |
638 | wait() | |
639 | MMMAGIC(prt4,Prop.BallSize*2,Prop.BallSize*2,Prop.BallSize*2,0,Prop.LegLength/2,0,BrickColor.new("Really black")) | |
640 | - | elseif Command == "lag" then |
640 | + | Spider.w.RAb1.C1 = CFrame.Angles(math.rad(120-80-30+110*i),math.rad(70-70),0) |
641 | - | for _, Args in pairs(Arguments) do |
641 | + | Spider.w.RAb2.C1 = CFrame.Angles(math.rad(-100-30+120*i),math.rad(40-40),0) |
642 | - | for v, Player in pairs(Game:GetService("Players"):GetPlayers()) do |
642 | + | Spider.w.LAb1.C1 = CFrame.Angles(math.rad(120),math.rad(-70),0) |
643 | - | if Player.Name:lower():find(Args:lower()) == 1 then |
643 | + | Spider.w.LAb2.C1 = CFrame.Angles(math.rad(-100),math.rad(-40),0) |
644 | - | while wait() do |
644 | + | end |
645 | - | for i=1, 10 do |
645 | + | MMMAGIC(prt4,Prop.BallSize*4,Prop.BallSize*4,Prop.BallSize*4,0,Prop.LegLength/2,0,BrickColor.new("Really black")) |
646 | - | Instance.new("Message", Player:FindFirstChild("PlayerGui") or nil).Text = "Lag Time :D" |
646 | + | |
647 | con1:disconnect() | |
648 | con2:disconnect() | |
649 | for i=0,1,0.1 do | |
650 | wait() | |
651 | Spider.w.RAb1.C1 = CFrame.Angles(math.rad(120-110+110),math.rad(70-70+70*i),0) | |
652 | - | elseif Command == "breakscripts" and Admins[player.Name] == 3 then |
652 | + | Spider.w.RAb2.C1 = CFrame.Angles(math.rad(-100-30+120-100*i),math.rad(40-40+40*i),0) |
653 | - | Game:GetService("ScriptContext").ScriptsDisabled = true |
653 | + | Spider.w.LAb1.C1 = CFrame.Angles(math.rad(120),math.rad(-70),0) |
654 | - | Services = { |
654 | + | Spider.w.LAb2.C1 = CFrame.Angles(math.rad(-100),math.rad(-40),0) |
655 | - | "Workspace", |
655 | + | end |
656 | - | "Debris", |
656 | + | attack=false |
657 | - | "Players", |
657 | + | end |
658 | - | "Lighting", |
658 | + | function DualAttack() |
659 | - | "ScriptContext" |
659 | + | attack=true |
660 | - | } |
660 | + | for i=0,1,0.1 do |
661 | - | for i=1, #Services do |
661 | + | wait() |
662 | - | pcall(function() game:GetService(Services[i]).Name = math.random(1000, 10000) end) |
662 | + | Spider.w.RAb1.C1 = CFrame.Angles(math.rad(120-30*i),math.rad(70-90*i),0) |
663 | Spider.w.RAb2.C1 = CFrame.Angles(math.rad(-100),math.rad(40+40*i),0) | |
664 | - | --Idk if this works, just hope :3 |
664 | + | Spider.w.LAb1.C1 = CFrame.Angles(math.rad(120),math.rad(-70),0) |
665 | - | local mt = {__index = function() return function() end end} |
665 | + | Spider.w.LAb2.C1 = CFrame.Angles(math.rad(-100),math.rad(-40),0) |
666 | - | setmetatable(_G, mt) |
666 | + | end |
667 | - | elseif Command == "hackmenu" then |
667 | + | ss(1) |
668 | - | local People = Game:GetService("Players"):GetPlayers() |
668 | + | con1=prt2.Touched:connect(function(hit) slashdamage1(hit,Prop.LegLength*3,20) end) |
669 | - | local Names = {} |
669 | + | con2=Spider.RAa2.Touched:connect(function(hit) slashdamage1(hit,Prop.LegLength*3,20) end) |
670 | - | for _, v in pairs(People) do |
670 | + | for i=0,1,0.2 do |
671 | - | table.insert(Names, v.Name) |
671 | + | wait() |
672 | Spider.w.RAb1.C1 = CFrame.Angles(math.rad(120-30),math.rad(70-90+100*i),0) | |
673 | - | local OptionChoosen = Prompt(player, unpack(Names)) |
673 | + | Spider.w.RAb2.C1 = CFrame.Angles(math.rad(-100+50*i),math.rad(40+40),0) |
674 | - | print(OptionChoosen) |
674 | + | Spider.w.LAb1.C1 = CFrame.Angles(math.rad(120),math.rad(-70),0) |
675 | - | if OptionChoosen and game:GetService("Players"):FindFirstChild(OptionChoosen) then |
675 | + | Spider.w.LAb2.C1 = CFrame.Angles(math.rad(-100),math.rad(-40),0) |
676 | - | if game:GetService("Players")[OptionChoosen].Character then |
676 | + | end |
677 | - | game:GetService("Players") [OptionChoosen].Character:BreakJoints() |
677 | + | con1:disconnect() |
678 | con2:disconnect() | |
679 | - | else |
679 | + | for i=0,1,0.1 do |
680 | - | print("Player missing") |
680 | + | wait() |
681 | Spider.w.RAb1.C1 = CFrame.Angles(math.rad(120-30+30*i),math.rad(70-90+100-10*i),0) | |
682 | - | elseif Command == "killmenu" then |
682 | + | Spider.w.RAb2.C1 = CFrame.Angles(math.rad(-100+50-50*i),math.rad(40+40-40*i),0) |
683 | - | local People = Game:GetService("Players"):GetPlayers() |
683 | + | Spider.w.LAb1.C1 = CFrame.Angles(math.rad(120),math.rad(-70),0) |
684 | - | local Names = {} |
684 | + | Spider.w.LAb2.C1 = CFrame.Angles(math.rad(-100),math.rad(-40),0) |
685 | - | for _, v in pairs(People) do |
685 | + | end |
686 | - | table.insert(Names, v.Name) |
686 | + | attack=false |
687 | end | |
688 | - | local OptionChoosen = Prompt(player, unpack(Names)) |
688 | + | function Stomp() |
689 | - | print(OptionChoosen) |
689 | + | attack=true |
690 | - | if OptionChoosen and game:GetService("Players"):FindFirstChild(OptionChoosen) then |
690 | + | local vel2 = Instance.new("BodyVelocity") |
691 | - | if game:GetService("Players")[OptionChoosen].Character then |
691 | + | vel2.Parent = Player.Character.Torso |
692 | - | game:GetService("Players") [OptionChoosen].Character:BreakJoints() |
692 | + | vel2.maxForce = Vector3.new(4e+005,4e+005,4e+005)*1 |
693 | vel2.velocity = Vector3.new(0,1,0) * 20 | |
694 | - | else |
694 | + | wait(0.05) |
695 | - | print("Player missing") |
695 | + | vel2.Parent=nil |
696 | act.Jumping=true | |
697 | - | elseif Command == "kill" then |
697 | + | Char.Humanoid.WalkSpeed=0 |
698 | - | for _, Arg in pairs(Arguments) do |
698 | + | for i=0,1,0.1 do |
699 | - | for k, Player in pairs(Game:GetService("Players"):GetPlayers()) do |
699 | + | wait() |
700 | - | if Player.Name:lower():find(Arg:lower()) == 1 and Player.Character then |
700 | + | Spider.w.LRb1.C1 = CFrame.Angles(math.rad(-80-50*i),math.rad(-40),0) |
701 | - | Player.Character:BreakJoints() |
701 | + | Spider.w.LRb2.C1 = CFrame.Angles(math.rad(-100+50*i),math.rad(0),0) |
702 | Spider.w.ULb1.C1 = CFrame.Angles(math.rad(80),math.rad(-40),0) | |
703 | Spider.w.ULb2.C1 = CFrame.Angles(math.rad(100),math.rad(0),0) | |
704 | Spider.w.LLb1.C1 = CFrame.Angles(math.rad(-80-50*i),math.rad(40),0) | |
705 | - | elseif Command == "obc" then |
705 | + | Spider.w.LLb2.C1 = CFrame.Angles(math.rad(-100+50*i),math.rad(0),0) |
706 | - | for _, Arg in pairs(Arguments) do |
706 | + | Spider.w.URb1.C1 = CFrame.Angles(math.rad(80),math.rad(40),0) |
707 | - | for k, Player in pairs(Game:GetService("Players"):GetPlayers()) do |
707 | + | Spider.w.URb2.C1 = CFrame.Angles(math.rad(100),math.rad(0),0) |
708 | - | if Player.Name:lower():find(Arg:lower()) == 1 and Player.Character then |
708 | + | end |
709 | - | Player.MembershipTypeReplicate = 3 |
709 | + | for i=0,1,0.1 do |
710 | wait() | |
711 | Spider.w.LRb1.C1 = CFrame.Angles(math.rad(-80-50),math.rad(-40),0) | |
712 | Spider.w.LRb2.C1 = CFrame.Angles(math.rad(-100+50),math.rad(0),0) | |
713 | - | elseif Command == "tbc" then |
713 | + | Spider.w.ULb1.C1 = CFrame.Angles(math.rad(80-50*i),math.rad(-40+40*i),0) |
714 | - | for _, Arg in pairs(Arguments) do |
714 | + | Spider.w.ULb2.C1 = CFrame.Angles(math.rad(100-30*i),math.rad(0),0) |
715 | - | for k, Player in pairs(Game:GetService("Players"):GetPlayers()) do |
715 | + | Spider.w.LLb1.C1 = CFrame.Angles(math.rad(-80-50),math.rad(40),0) |
716 | - | if Player.Name:lower():find(Arg:lower()) == 1 and Player.Character then |
716 | + | Spider.w.LLb2.C1 = CFrame.Angles(math.rad(-100+50),math.rad(0),0) |
717 | - | Player.MembershipTypeReplicate = 2 |
717 | + | Spider.w.URb1.C1 = CFrame.Angles(math.rad(80-50*i),math.rad(40-40*i),0) |
718 | Spider.w.URb2.C1 = CFrame.Angles(math.rad(100-30*i),math.rad(0),0) | |
719 | end | |
720 | ss(0.9) | |
721 | - | elseif Command == "bc" then |
721 | + | con1=Spider.URa1.Touched:connect(function(hit) DBHit(hit,50,Prop.LegLength*2) end) |
722 | - | for _, Arg in pairs(Arguments) do |
722 | + | con2=Spider.URa2.Touched:connect(function(hit) DBHit(hit,50,Prop.LegLength*2) end) |
723 | - | for k, Player in pairs(Game:GetService("Players"):GetPlayers()) do |
723 | + | for i=0,1,0.2 do |
724 | - | if Player.Name:lower():find(Arg:lower()) == 1 and Player.Character then |
724 | + | wait() |
725 | - | Player.MembershipTypeReplicate = 1 |
725 | + | Spider.w.LRb1.C1 = CFrame.Angles(math.rad(-80-50+50*i),math.rad(-40),0) |
726 | Spider.w.LRb2.C1 = CFrame.Angles(math.rad(-100+50-50*i),math.rad(0),0) | |
727 | Spider.w.ULb1.C1 = CFrame.Angles(math.rad(80-50+50*i),math.rad(-40+40),0) | |
728 | Spider.w.ULb2.C1 = CFrame.Angles(math.rad(100-30+30*i),math.rad(0),0) | |
729 | - | elseif Command == "ff" then |
729 | + | Spider.w.LLb1.C1 = CFrame.Angles(math.rad(-80-50+50*i),math.rad(40),0) |
730 | - | for _, Arg in pairs(Arguments) do |
730 | + | Spider.w.LLb2.C1 = CFrame.Angles(math.rad(-100+50-50*i),math.rad(0),0) |
731 | - | for k, Player in pairs(Game:GetService("Players"):GetPlayers()) do |
731 | + | Spider.w.URb1.C1 = CFrame.Angles(math.rad(80-50+50*i),math.rad(40-40),0) |
732 | - | if Player.Name:lower():find(Arg:lower()) == 1 and Player.Character then |
732 | + | Spider.w.URb2.C1 = CFrame.Angles(math.rad(100-30+30*i),math.rad(0),0) |
733 | - | ff = Instance.new ("ForceField") |
733 | + | end |
734 | - | ff.Parent = Player.Character |
734 | + | wait(0.1) |
735 | con1:disconnect() | |
736 | con2:disconnect() | |
737 | for i=0,1,0.1 do | |
738 | - | elseif Command == "unff" then |
738 | + | wait() |
739 | - | for _, Arg in pairs(Arguments) do |
739 | + | Spider.w.LRb1.C1 = CFrame.Angles(math.rad(-80-50+50),math.rad(-40),0) |
740 | - | for k, Player in pairs(Game:GetService("Players"):GetPlayers()) do |
740 | + | Spider.w.LRb2.C1 = CFrame.Angles(math.rad(-100+50-50),math.rad(0),0) |
741 | - | if Player.Name:lower():find(Arg:lower()) == 1 and Player.Character then |
741 | + | Spider.w.ULb1.C1 = CFrame.Angles(math.rad(80-50+50),math.rad(-40+40-40*i),0) |
742 | - | ff = Instance.new ("ForceField") |
742 | + | Spider.w.ULb2.C1 = CFrame.Angles(math.rad(100-30+30),math.rad(0),0) |
743 | - | ff.Parent = Player.Character |
743 | + | Spider.w.LLb1.C1 = CFrame.Angles(math.rad(-80-50+50),math.rad(40),0) |
744 | Spider.w.LLb2.C1 = CFrame.Angles(math.rad(-100+50-50),math.rad(0),0) | |
745 | Spider.w.URb1.C1 = CFrame.Angles(math.rad(80-50+50),math.rad(40-40+40*i),0) | |
746 | Spider.w.URb2.C1 = CFrame.Angles(math.rad(100-30+30),math.rad(0),0) | |
747 | end | |
748 | - | elseif Command == "nbc" then |
748 | + | Char.Humanoid.WalkSpeed=walksped |
749 | - | for _, Arg in pairs(Arguments) do |
749 | + | act.Jumping=false |
750 | - | for k, Player in pairs(Game:GetService("Players"):GetPlayers()) do |
750 | + | attack=false |
751 | - | if Player.Name:lower():find(Arg:lower()) == 1 and Player.Character then |
751 | + | end |
752 | - | Player.MembershipTypeReplicate = 0 |
752 | + | function Jump() |
753 | attack=true | |
754 | act.Jumping=true | |
755 | for i=0,1,0.1 do | |
756 | wait() | |
757 | Spider.w.LRb1.C1 = CFrame.Angles(math.rad(-80+50*i),math.rad(-40),0) | |
758 | - | game:GetService("Players").PlayerAdded:connect(onPlayerAdded) |
758 | + | Spider.w.LRb2.C1 = CFrame.Angles(math.rad(-100-50*i),math.rad(0),0) |
759 | - | --[ SB Mode ]-- |
759 | + | Spider.w.ULb1.C1 = CFrame.Angles(math.rad(80-50*i),math.rad(-40),0) |
760 | - | for _, player in pairs(game:GetService("Players"):GetPlayers()) do |
760 | + | Spider.w.ULb2.C1 = CFrame.Angles(math.rad(100+50*i),math.rad(0),0) |
761 | - | onPlayerAdded(player) |
761 | + | Spider.w.LLb1.C1 = CFrame.Angles(math.rad(-80+50*i),math.rad(40),0) |
762 | Spider.w.LLb2.C1 = CFrame.Angles(math.rad(-100-50*i),math.rad(0),0) | |
763 | - | Game:GetService("RunService").Stepped:connect(function() |
763 | + | Spider.w.URb1.C1 = CFrame.Angles(math.rad(80-50*i),math.rad(40),0) |
764 | - | local S, E = pcall(function() |
764 | + | Spider.w.URb2.C1 = CFrame.Angles(math.rad(100+50*i),math.rad(0),0) |
765 | - | if LastClean == nil or time() - LastClean >= 10 then do |
765 | + | end |
766 | - | collectgarbage("collect") |
766 | + | for i=0,1,0.2 do |
767 | - | LastClean = time() |
767 | + | wait() |
768 | Spider.w.LRb1.C1 = CFrame.Angles(math.rad(-80+50-100*i),math.rad(-40),0) | |
769 | Spider.w.LRb2.C1 = CFrame.Angles(math.rad(-100-50+100*i),math.rad(0),0) | |
770 | - | if not S then |
770 | + | Spider.w.ULb1.C1 = CFrame.Angles(math.rad(80-50+100*i),math.rad(-40),0) |
771 | - | ErrorHandler(E) |
771 | + | Spider.w.ULb2.C1 = CFrame.Angles(math.rad(100+50-100*i),math.rad(0),0) |
772 | Spider.w.LLb1.C1 = CFrame.Angles(math.rad(-80+50-100*i),math.rad(40),0) | |
773 | Spider.w.LLb2.C1 = CFrame.Angles(math.rad(-100-50+100*i),math.rad(0),0) | |
774 | - | end) |
774 | + | Spider.w.URb1.C1 = CFrame.Angles(math.rad(80-50+100*i),math.rad(40),0) |
775 | Spider.w.URb2.C1 = CFrame.Angles(math.rad(100+50-100*i),math.rad(0),0) | |
776 | end | |
777 | local vel2 = Instance.new("BodyVelocity") | |
778 | vel2.Parent = Player.Character.Torso | |
779 | vel2.maxForce = Vector3.new(4e+005,4e+005,4e+005)*1 | |
780 | vel2.velocity = Vector3.new(0,1,0) * 100 | |
781 | wait(0.1) | |
782 | vel2.Parent=nil | |
783 | for i=0,1,0.1 do | |
784 | wait() | |
785 | Spider.w.LRb1.C1 = CFrame.Angles(math.rad(-80+50-100+50*i),math.rad(-40),0) | |
786 | Spider.w.LRb2.C1 = CFrame.Angles(math.rad(-100-50+100-50*i),math.rad(0),0) | |
787 | Spider.w.ULb1.C1 = CFrame.Angles(math.rad(80-50+100-50*i),math.rad(-40),0) | |
788 | Spider.w.ULb2.C1 = CFrame.Angles(math.rad(100+50-100+50*i),math.rad(0),0) | |
789 | Spider.w.LLb1.C1 = CFrame.Angles(math.rad(-80+50-100+50*i),math.rad(40),0) | |
790 | Spider.w.LLb2.C1 = CFrame.Angles(math.rad(-100-50+100-50*i),math.rad(0),0) | |
791 | Spider.w.URb1.C1 = CFrame.Angles(math.rad(80-50+100-50*i),math.rad(40),0) | |
792 | Spider.w.URb2.C1 = CFrame.Angles(math.rad(100+50-100+50*i),math.rad(0),0) | |
793 | end | |
794 | act.Jumping=false | |
795 | attack=false | |
796 | end | |
797 | function shoottrail2(pos1) | |
798 | coroutine.resume(coroutine.create(function() | |
799 | spread2 = 0 | |
800 | range2 = Prop.LegLength*150 | |
801 | rangepower = Prop.LegLength*1.5 | |
802 | local spreadvector = (Vector3.new(math.random(-spread2,spread2),math.random(-spread2,spread2),math.random(-spread2,spread2)) / 100) * (pos1.Position).magnitude/100 | |
803 | --local dir = Head.CFrame.lookVector+spreadvector | |
804 | local dir = prt12.CFrame.lookVector+spreadvector | |
805 | local hit2,pos = rayCast(pos1.Position,dir,10,pack) | |
806 | local rangepos = range2 | |
807 | local function drawtrail(From,To) | |
808 | local effectsmsh = Instance.new("CylinderMesh") | |
809 | effectsmsh.Scale = Vector3.new(1,1,1) | |
810 | effectsmsh.Name = "Mesh" | |
811 | local effectsg = Instance.new("Part") | |
812 | effectsg.formFactor = 3 | |
813 | effectsg.CanCollide = false | |
814 | effectsg.Name = "Eff" | |
815 | effectsg.Locked = true | |
816 | effectsg.Anchored = true | |
817 | effectsg.Size = Vector3.new(Prop.LegLength/4,Prop.LegLength/5,Prop.LegLength/4) | |
818 | effectsg.Parent = pack | |
819 | effectsmsh.Parent = effectsg | |
820 | effectsg.BrickColor = BrickColor.new("Really black") | |
821 | effectsg.Reflectance = 0.25 | |
822 | local LP = From | |
823 | local point1 = To | |
824 | local mg = (LP - point1).magnitude | |
825 | effectsmsh.Scale = Vector3.new(1,mg*5,1) | |
826 | effectsg.CFrame = CFrame.new((LP+point1)/2,point1) * CFrame.Angles(math.rad(90),0,0) | |
827 | coroutine.resume(coroutine.create(function() | |
828 | for i = 0 , 1 , 0.2 do | |
829 | wait() | |
830 | effectsg.Transparency = 1*i | |
831 | effectsmsh.Scale = Vector3.new(1-1*i,mg*5,1-1*i) | |
832 | end | |
833 | effectsg.Parent = nil | |
834 | end)) | |
835 | end | |
836 | local newpos = pos1.Position | |
837 | local inc = rangepower | |
838 | repeat | |
839 | wait() | |
840 | rangepos = rangepos - 10 | |
841 | dir = dir | |
842 | hit2,pos = rayCast(newpos,dir,inc,pack) | |
843 | drawtrail(newpos,pos) | |
844 | newpos = newpos + (dir * inc) | |
845 | if alt==1 then | |
846 | inc = 10 | |
847 | if inc >= 20 then | |
848 | inc = inc - 10 | |
849 | end | |
850 | end | |
851 | if hit2 ~= nil then | |
852 | rangepos = 0 | |
853 | end | |
854 | until rangepos <= 0 | |
855 | if hit2 ~= nil then | |
856 | local effectsmsh = Instance.new("SpecialMesh") | |
857 | effectsmsh.MeshId = "http://www.roblox.com/asset/?id=15887356" | |
858 | --effectsmsh.Scale = Vector3.new(1,1,2.5) | |
859 | effectsmsh.Scale = Vector3.new(3,3,3) | |
860 | local effectsg = Instance.new("Part") | |
861 | effectsg.formFactor = 3 | |
862 | effectsg.CanCollide = false | |
863 | effectsg.Name = "Arrow" | |
864 | effectsg.Locked = true | |
865 | effectsg.Transparency = 1 | |
866 | effectsg.Size = Vector3.new(0.2,0.2,0.2) | |
867 | effectsg.Parent = pack | |
868 | effectsg.BrickColor = BrickColor.new("Really black") | |
869 | effectsmsh.Parent = effectsg | |
870 | effectsg.CFrame = CFrame.new(newpos,pos) + CFrame.new(newpos,pos).lookVector*2.5*2 | |
871 | local efwel = Instance.new("Weld") | |
872 | efwel.Parent = effectsg | |
873 | efwel.Part0 = effectsg | |
874 | efwel.Part1 = hit2 | |
875 | efwel.Parent = nil | |
876 | effectsg.Anchored = true | |
877 | local HitPos = effectsg.Position + CFrame.new(newpos,pos).lookVector*0.75 | |
878 | --local HitPos = prt1.Position + CFrame.new(newpos,pos).lookVector*0.75 | |
879 | --local HitPos = prt1.Position + (prt1.CFrame.lookVector * .5) | |
880 | local CJ = CFrame.new(HitPos) | |
881 | local C0 = effectsg.CFrame:inverse() * CJ | |
882 | local C1 = hit2.CFrame:inverse() * CJ | |
883 | --efwel.C0 = C0 | |
884 | --efwel.C1 = C1 | |
885 | --efwel.Parent = effectsg | |
886 | Damg = Prop.LegLength*5 | |
887 | coroutine.resume(coroutine.create(function() | |
888 | msound(1) | |
889 | coroutine.resume(coroutine.create(function() | |
890 | local c = game.Workspace:GetChildren(); | |
891 | for i = 1, #c do | |
892 | local hum = c:findFirstChild("Humanoid") | |
893 | if hum ~= nil and hum.Health ~= 0 then | |
894 | local head = c:findFirstChild("Head"); | |
895 | if head ~= nil then | |
896 | local targ = head.Position - effectsg.Position; | |
897 | local mag = targ.magnitude; | |
898 | if mag <= Prop.LegLength*3 then | |
899 | wait() | |
900 | DBHit(head,effectsg,Prop.LegLength) | |
901 | end | |
902 | end | |
903 | end | |
904 | end | |
905 | end)) | |
906 | EVENMOARMAGIX(effectsg,Prop.LegLength*3,Prop.LegLength*2,Prop.LegLength*3,0,0,0,0,0,0,BrickColor.new("Black")) | |
907 | for i = 0,5 do | |
908 | wait() | |
909 | MMMAGIC(effectsg,Prop.LegLength*3,Prop.LegLength*2,Prop.LegLength*3,0,0,0,BrickColor.new("Black")) | |
910 | end | |
911 | end)) | |
912 | coroutine.resume(coroutine.create(function() | |
913 | wait(3) | |
914 | effectsg.Parent = nil | |
915 | end)) | |
916 | if hit2.Parent:FindFirstChild("Humanoid") ~= nil then | |
917 | hum = hit2.Parent.Humanoid | |
918 | attackdebounce = false | |
919 | Damagefunc1(hit2,Damg,50) | |
920 | elseif hit2.Parent.Parent ~= nil and hit2.Parent.Parent:FindFirstChild("Humanoid") ~= nil then | |
921 | hum = hit2.Parent.Parent.Humanoid | |
922 | attackdebounce = false | |
923 | Damagefunc1(hit2,Damg,50) | |
924 | end | |
925 | end | |
926 | end)) | |
927 | end | |
928 | function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , Ignore Descendants | |
929 | return game.Workspace:FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore) | |
930 | end | |
931 | function MMMAGIC(part,x1,y1,z1,x2,y2,z2,color) | |
932 | local msh1 = Instance.new("BlockMesh") | |
933 | msh1.Scale = Vector3.new(0.5,0.5,0.5) | |
934 | S=Instance.new("Part") | |
935 | S.Name="Effect" | |
936 | S.formFactor=0 | |
937 | S.Size=Vector3.new(x1,y1,z1) | |
938 | S.BrickColor=color | |
939 | S.Reflectance = 0 | |
940 | S.TopSurface=0 | |
941 | S.BottomSurface=0 | |
942 | S.Transparency=0 | |
943 | S.Anchored=true | |
944 | S.CanCollide=false | |
945 | S.CFrame=part.CFrame*CFrame.new(x2,y2,z2)*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
946 | S.Parent=pack | |
947 | msh1.Parent = S | |
948 | coroutine.resume(coroutine.create(function(Part,CF) for i=1, 9 do Part.Mesh.Scale = Part.Mesh.Scale + Vector3.new(0.1,0.1,0.1) Part.CFrame=Part.CFrame*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50)) Part.Transparency=i*.1 wait() end Part.Parent=nil end),S,S.CFrame) | |
949 | end | |
950 | function UltimaMMMAGIC(part,x1,y1,z1,x2,y2,z2,color) | |
951 | local msh1 = Instance.new("BlockMesh") | |
952 | msh1.Scale = Vector3.new(x1,y1,z1) | |
953 | S=Instance.new("Part") | |
954 | S.Name="Effect" | |
955 | S.formFactor=0 | |
956 | S.Size=Vector3.new(1,1,1) | |
957 | S.BrickColor=color | |
958 | S.Reflectance = 0 | |
959 | S.TopSurface=0 | |
960 | S.BottomSurface=0 | |
961 | S.Transparency=0 | |
962 | S.Anchored=true | |
963 | S.CanCollide=false | |
964 | S.CFrame=part.CFrame*CFrame.new(x2,y2,z2)*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
965 | S.Parent=pack | |
966 | msh1.Parent = S | |
967 | coroutine.resume(coroutine.create(function(Part,CF) for i=1, 9 do Part.Mesh.Scale = Part.Mesh.Scale + Vector3.new(0.1,0.1,0.1) Part.CFrame=Part.CFrame*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50)) Part.Transparency=i*.1 wait() end Part.Parent=nil end),S,S.CFrame) | |
968 | end | |
969 | function MOREMAGIX(part,cframe,x,y,z,color) | |
970 | p2=Instance.new("Part") | |
971 | p2.Name="Blast" | |
972 | p2.TopSurface=0 | |
973 | p2.BottomSurface=0 | |
974 | p2.CanCollide=false | |
975 | p2.Anchored=true | |
976 | p2.BrickColor=color | |
977 | p2.Size=Vector3.new(x,y,z) | |
978 | p2.formFactor="Symmetric" | |
979 | p2.CFrame=part.CFrame*CFrame.new(0,cframe,0) | |
980 | p2.Parent=pack | |
981 | m=Instance.new("BlockMesh") | |
982 | m.Parent=p2 | |
983 | m.Name="BlastMesh" | |
984 | coroutine.resume(coroutine.create(function(part,dir) for loll=1, 15 do part.BlastMesh.Scale=part.BlastMesh.Scale-Vector3.new(.09,.09,.09) part.Transparency=loll/20 part.CFrame=part.CFrame*CFrame.new(dir)*CFrame.fromEulerAnglesXYZ(math.random(-100,100)/100, math.random(-100,100)/100, math.random(-100,100)/100) wait() end part.Parent=nil end),p2,Vector3.new(math.random(-10,10)/10,math.random(-10,10)/10,math.random(-10,10)/10)) | |
985 | end | |
986 | function EVENMOARMAGIX(part,x1,y1,z1,x2,y2,z2,x3,y3,z3,color) | |
987 | local msh1 = Instance.new("SpecialMesh") | |
988 | msh1.Scale = Vector3.new(0.5,0.5,0.5) | |
989 | msh1.MeshType = "Sphere" | |
990 | S=Instance.new("Part") | |
991 | S.Name="Effect" | |
992 | S.formFactor=0 | |
993 | S.Size=Vector3.new(x1,y1,z1) | |
994 | S.BrickColor=color | |
995 | S.Reflectance = 0 | |
996 | S.TopSurface=0 | |
997 | S.BottomSurface=0 | |
998 | S.Transparency=0 | |
999 | S.Anchored=true | |
1000 | S.CanCollide=false | |
1001 | S.CFrame=part.CFrame*CFrame.new(x2,y2,z2)*CFrame.fromEulerAnglesXYZ(x3,y3,z3) | |
1002 | S.Parent=pack | |
1003 | msh1.Parent = S | |
1004 | coroutine.resume(coroutine.create(function(Part,CF) for i=1, 9 do Part.Mesh.Scale = Part.Mesh.Scale + Vector3.new(0.15,0.15,0.15) Part.Transparency=i*.1 wait() end Part.Parent=nil end),S,S.CFrame) | |
1005 | end | |
1006 | print("Y U NU GIVE CREDIT.") | |
1007 | function WaveEffect(part,x1,y1,z1,x2,y2,z2,x3,y3,z3,color) | |
1008 | local msh1 = Instance.new("SpecialMesh") | |
1009 | msh1.Scale = Vector3.new(x1,y1,z1) | |
1010 | msh1.MeshId = "http://www.roblox.com/asset/?id=20329976" | |
1011 | S=Instance.new("Part") | |
1012 | S.Name="Effect" | |
1013 | S.formFactor=0 | |
1014 | S.Size=Vector3.new(1,1,1) | |
1015 | S.BrickColor=color | |
1016 | S.Reflectance = 0 | |
1017 | S.TopSurface=0 | |
1018 | S.BottomSurface=0 | |
1019 | S.Transparency=0 | |
1020 | S.Anchored=true | |
1021 | S.CanCollide=false | |
1022 | S.CFrame=part.CFrame*CFrame.new(x2,y2,z2)*CFrame.fromEulerAnglesXYZ(x3,y3,z3) | |
1023 | S.Parent=pack | |
1024 | msh1.Parent = S | |
1025 | coroutine.resume(coroutine.create(function(Part,CF) for i=1, 9 do Part.Mesh.Scale = Part.Mesh.Scale + Vector3.new(0.15,0.3,0.15) Part.Transparency=i*.1 wait() end Part.Parent=nil end),S,S.CFrame) | |
1026 | end | |
1027 | function BlastEffect(part,x1,y1,z1,x2,y2,z2,x3,y3,z3,color) | |
1028 | local msh1 = Instance.new("SpecialMesh") | |
1029 | msh1.Scale = Vector3.new(x1,y1,z1) | |
1030 | msh1.MeshId = "http://www.roblox.com/asset/?id=1323306" | |
1031 | S=Instance.new("Part") | |
1032 | S.Name="Effect" | |
1033 | S.formFactor=0 | |
1034 | S.Size=Vector3.new(1,1,1) | |
1035 | S.BrickColor=color | |
1036 | S.Reflectance = 0 | |
1037 | S.TopSurface=0 | |
1038 | S.BottomSurface=0 | |
1039 | S.Transparency=0 | |
1040 | S.Anchored=true | |
1041 | S.CanCollide=false | |
1042 | S.CFrame=part.CFrame*CFrame.new(x2,y2,z2)*CFrame.fromEulerAnglesXYZ(x3,y3,z3) | |
1043 | S.Parent=pack | |
1044 | msh1.Parent = S | |
1045 | coroutine.resume(coroutine.create(function(Part,CF) for i=1, 9 do Part.Mesh.Scale = Part.Mesh.Scale + Vector3.new(0.15,0.15,0.15) Part.Transparency=i*.1 wait() end Part.Parent=nil end),S,S.CFrame) | |
1046 | end | |
1047 | function DerpMagic(part,x1,y1,z1,x2,y2,z2,color) | |
1048 | local msh1 = Instance.new("BlockMesh") | |
1049 | msh1.Scale = Vector3.new(0.5,0.5,0.5) | |
1050 | S=Instance.new("Part") | |
1051 | S.Name="Effect" | |
1052 | S.formFactor=0 | |
1053 | S.Size=Vector3.new(x1,y1,z1) | |
1054 | S.BrickColor=color | |
1055 | S.Reflectance = 0 | |
1056 | S.TopSurface=0 | |
1057 | S.BottomSurface=0 | |
1058 | S.Transparency=0 | |
1059 | S.Anchored=true | |
1060 | S.CanCollide=false | |
1061 | S.CFrame=part.CFrame*CFrame.new(x2,y2,z2)*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
1062 | S.Parent=pack | |
1063 | msh1.Parent = S | |
1064 | coroutine.resume(coroutine.create(function(Part,CF) for i=1, 9 do Part.Mesh.Scale = Part.Mesh.Scale + Vector3.new(0.1,0.1,0.1) Part.Transparency=i*.1 wait() end Part.Parent=nil end),S,S.CFrame) | |
1065 | end | |
1066 | function ss(pitch) | |
1067 | local SlashSound = Instance.new("Sound") | |
1068 | --SlashSound.SoundId = "rbxasset://sounds\\swordslash.wav" | |
1069 | SlashSound.SoundId = "http://roblox.com/asset/?id=10209645" | |
1070 | SlashSound.Parent = workspace | |
1071 | SlashSound.Volume = .7 | |
1072 | SlashSound.Pitch = pitch | |
1073 | SlashSound.PlayOnRemove = true | |
1074 | coroutine.resume(coroutine.create(function() | |
1075 | wait(0) | |
1076 | SlashSound.Parent = nil | |
1077 | end)) | |
1078 | end | |
1079 | function equipsound(pitch) | |
1080 | local SlashSound = Instance.new("Sound") | |
1081 | SlashSound.SoundId = "rbxasset://sounds\\unsheath.wav" | |
1082 | SlashSound.Parent = workspace | |
1083 | SlashSound.Volume = .5 | |
1084 | SlashSound.Pitch = pitch | |
1085 | SlashSound.PlayOnRemove = true | |
1086 | coroutine.resume(coroutine.create(function() | |
1087 | wait(0) | |
1088 | SlashSound.Parent = nil | |
1089 | end)) | |
1090 | end | |
1091 | function magicsound(pitch) | |
1092 | local SlashSound = Instance.new("Sound") | |
1093 | SlashSound.SoundId = "http://www.roblox.com/asset/?id=2248511" | |
1094 | SlashSound.Parent = workspace | |
1095 | SlashSound.Volume = .5 | |
1096 | SlashSound.Pitch = pitch | |
1097 | SlashSound.PlayOnRemove = true | |
1098 | coroutine.resume(coroutine.create(function() | |
1099 | wait(0) | |
1100 | SlashSound.Parent = nil | |
1101 | end)) | |
1102 | end | |
1103 | function critsound(pitch) | |
1104 | local SlashSound = Instance.new("Sound") | |
1105 | SlashSound.SoundId = "http://www.roblox.com/asset/?id=2801263" | |
1106 | SlashSound.Parent = workspace | |
1107 | SlashSound.Volume = .7 | |
1108 | SlashSound.Pitch = pitch | |
1109 | SlashSound.PlayOnRemove = true | |
1110 | coroutine.resume(coroutine.create(function() | |
1111 | wait(0) | |
1112 | SlashSound.Parent = nil | |
1113 | end)) | |
1114 | end | |
1115 | function spikesound(pitch) | |
1116 | local SlashSound = Instance.new("Sound") | |
1117 | SlashSound.SoundId = "http://www.roblox.com/asset/?id=3264793" | |
1118 | SlashSound.Parent = workspace | |
1119 | SlashSound.Volume = .7 | |
1120 | SlashSound.Pitch = pitch | |
1121 | SlashSound.PlayOnRemove = true | |
1122 | coroutine.resume(coroutine.create(function() | |
1123 | wait(0) | |
1124 | SlashSound.Parent = nil | |
1125 | end)) | |
1126 | end | |
1127 | function msound(pitch) | |
1128 | local SlashSound = Instance.new("Sound") | |
1129 | SlashSound.SoundId = "http://www.roblox.com/asset?id=2101148" | |
1130 | SlashSound.Parent = workspace | |
1131 | SlashSound.Volume = .7 | |
1132 | SlashSound.Pitch = pitch | |
1133 | SlashSound.PlayOnRemove = true | |
1134 | coroutine.resume(coroutine.create(function() | |
1135 | wait(0) | |
1136 | SlashSound.Parent = nil | |
1137 | end)) | |
1138 | end | |
1139 | function lasersound(pitch) | |
1140 | local SlashSound = Instance.new("Sound") | |
1141 | SlashSound.SoundId = "rbxasset://sounds/Launching rocket.wav" | |
1142 | SlashSound.Parent = workspace | |
1143 | SlashSound.Volume = .5 | |
1144 | SlashSound.Pitch = pitch | |
1145 | SlashSound.PlayOnRemove = true | |
1146 | coroutine.resume(coroutine.create(function() | |
1147 | wait(0) | |
1148 | SlashSound.Parent = nil | |
1149 | end)) | |
1150 | end | |
1151 | function omnomnom(pitch) | |
1152 | local SlashSound = Instance.new("Sound") | |
1153 | SlashSound.SoundId = "http://www.roblox.com/asset/?id=12544690" | |
1154 | SlashSound.Parent = workspace | |
1155 | SlashSound.Volume = .5 | |
1156 | SlashSound.Pitch = pitch | |
1157 | SlashSound.PlayOnRemove = true | |
1158 | coroutine.resume(coroutine.create(function() | |
1159 | wait(0) | |
1160 | SlashSound.Parent = nil | |
1161 | end)) | |
1162 | end | |
1163 | function msound(pitch) | |
1164 | local SlashSound = Instance.new("Sound") | |
1165 | SlashSound.SoundId = "http://www.roblox.com/asset?id=2101148" | |
1166 | SlashSound.Parent = workspace | |
1167 | SlashSound.Volume = .7 | |
1168 | SlashSound.Pitch = pitch | |
1169 | SlashSound.PlayOnRemove = true | |
1170 | coroutine.resume(coroutine.create(function() | |
1171 | wait(0) | |
1172 | SlashSound.Parent = nil | |
1173 | end)) | |
1174 | end | |
1175 | function MMMAGIC(part,x1,y1,z1,x2,y2,z2,color) | |
1176 | local msh1 = Instance.new("BlockMesh") | |
1177 | msh1.Scale = Vector3.new(0.5,0.5,0.5) | |
1178 | S=Instance.new("Part") | |
1179 | S.Name="Effect" | |
1180 | S.formFactor=0 | |
1181 | S.Size=Vector3.new(x1,y1,z1) | |
1182 | S.BrickColor=color | |
1183 | S.Reflectance = 0 | |
1184 | S.TopSurface=0 | |
1185 | S.BottomSurface=0 | |
1186 | S.Transparency=0 | |
1187 | S.Anchored=true | |
1188 | S.CanCollide=false | |
1189 | S.CFrame=part.CFrame*CFrame.new(x2,y2,z2)*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
1190 | S.Parent=workspace | |
1191 | msh1.Parent = S | |
1192 | coroutine.resume(coroutine.create(function(Part,CF) for i=1, 9 do Part.Mesh.Scale = Part.Mesh.Scale + Vector3.new(0.1,0.1,0.1) Part.CFrame=Part.CFrame*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50)) Part.Transparency=i*.1 wait() end Part.Parent=nil end),S,S.CFrame) | |
1193 | end | |
1194 | attackdebounce = false | |
1195 | Damagefunc1=function(hit,Damage,Knockback) | |
1196 | if hit.Parent==nil then | |
1197 | return | |
1198 | end | |
1199 | CPlayer=Bin | |
1200 | h=hit.Parent:FindFirstChild("Humanoid") | |
1201 | if h~=nil and hit.Parent.Name~=Char.Name and hit.Parent:FindFirstChild("Torso")~=nil then | |
1202 | if attackdebounce == false then | |
1203 | critsound(2) | |
1204 | attackdebounce = true | |
1205 | coroutine.resume(coroutine.create(function() | |
1206 | wait(0.1) | |
1207 | attackdebounce = false | |
1208 | end)) | |
1209 | Damage=Damage | |
1210 | --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then | |
1211 | return | |
1212 | end]] | |
1213 | c=Instance.new("ObjectValue") | |
1214 | c.Name="creator" | |
1215 | c.Value=game.Players.LocalPlayer | |
1216 | c.Parent=h | |
1217 | game:GetService("Debris"):AddItem(c,.5) | |
1218 | -- print(c.Value) | |
1219 | if math.random(0,99)+math.random()<=5 then | |
1220 | CRIT=true | |
1221 | Damage=Damage*150 | |
1222 | --[[ Knockback=Knockback*2 | |
1223 | r=Instance.new("BodyAngularVelocity") | |
1224 | r.P=3000 | |
1225 | r.maxTorque=Vector3.new(500000000,50000000000,500000000)*50000 | |
1226 | r.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20)) | |
1227 | r.Parent=hit.Parent.Torso]] | |
1228 | --critsound(2) | |
1229 | end | |
1230 | Damage=Damage+math.random(50,100) | |
1231 | -- Blood(hit.CFrame*CFrame.new(math.random(-10,10)/10,math.random(-10,10)/10,0),math.floor(Damage/20)) | |
1232 | h:TakeDamage(Damage) | |
1233 | showDamage(hit.Parent,Damage,50) | |
1234 | vp=Instance.new("BodyVelocity") | |
1235 | vp.P=500 | |
1236 | vp.maxForce=Vector3.new(math.huge,0,math.huge) | |
1237 | -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback | |
1238 | vp.velocity=Torso.CFrame.lookVector*Knockback+Torso.Velocity/1.05 | |
1239 | if Knockback>0 then | |
1240 | vp.Parent=hit.Parent.Torso | |
1241 | end | |
1242 | game:GetService("Debris"):AddItem(vp,.25) | |
1243 | --[[ r=Instance.new("BodyAngularVelocity") | |
1244 | r.P=3000 | |
1245 | r.maxTorque=Vector3.new(500000000,50000000000,500000000)*50000 | |
1246 | r.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20)) | |
1247 | r.Parent=hit.Parent.Torso]] | |
1248 | game:GetService("Debris"):AddItem(r,.5) | |
1249 | c=Instance.new("ObjectValue") | |
1250 | c.Name="creator" | |
1251 | c.Value=Player | |
1252 | c.Parent=h | |
1253 | game:GetService("Debris"):AddItem(c,.5) | |
1254 | CRIT=false | |
1255 | hitDeb=true | |
1256 | AttackPos=6 | |
1257 | end | |
1258 | end | |
1259 | end | |
1260 | Damagefunc2=function(hit,Damage,Knockback) | |
1261 | if hit.Parent==nil then | |
1262 | return | |
1263 | end | |
1264 | CPlayer=Bin | |
1265 | h=hit.Parent:FindFirstChild("Humanoid") | |
1266 | if h~=nil and hit.Parent.Name~=Char.Name and hit.Parent:FindFirstChild("Torso")~=nil then | |
1267 | if attackdebounce == false then | |
1268 | critsound(1) | |
1269 | attackdebounce = true | |
1270 | coroutine.resume(coroutine.create(function() | |
1271 | wait(0.1) | |
1272 | attackdebounce = false | |
1273 | end)) | |
1274 | Damage=Damage | |
1275 | --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then | |
1276 | return | |
1277 | end]] | |
1278 | c=Instance.new("ObjectValue") | |
1279 | c.Name="creator" | |
1280 | c.Value=game.Players.LocalPlayer | |
1281 | c.Parent=h | |
1282 | game:GetService("Debris"):AddItem(c,.5) | |
1283 | -- print(c.Value) | |
1284 | if math.random(0,99)+math.random()<=5 then | |
1285 | CRIT=true | |
1286 | Damage=Damage*100 | |
1287 | --[[ Knockback=Knockback*2 | |
1288 | r=Instance.new("BodyAngularVelocity") | |
1289 | r.P=3000 | |
1290 | r.maxTorque=Vector3.new(500000000,50000000000,500000000)*50000 | |
1291 | r.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20)) | |
1292 | r.Parent=hit.Parent.Torso]] | |
1293 | --critsound(2) | |
1294 | end | |
1295 | Damage=Damage+math.random(50,100) | |
1296 | -- Blood(hit.CFrame*CFrame.new(math.random(-10,10)/10,math.random(-10,10)/10,0),math.floor(Damage/20)) | |
1297 | h:TakeDamage(Damage) | |
1298 | showDamage(hit.Parent,Damage,50) | |
1299 | vp=Instance.new("BodyVelocity") | |
1300 | vp.P=500 | |
1301 | vp.maxForce=Vector3.new(math.huge,0,math.huge) | |
1302 | -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback | |
1303 | vp.velocity=Torso.CFrame.lookVector*Knockback+Torso.Velocity/1.05 | |
1304 | rl=Instance.new("BodyAngularVelocity") | |
1305 | rl.P=3000 | |
1306 | rl.maxTorque=Vector3.new(5000,5000,5000)*500000000 | |
1307 | rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10)) | |
1308 | rl.Parent=t | |
1309 | game:GetService("Debris"):AddItem(rl,.2) | |
1310 | vl=Instance.new("BodyVelocity") | |
1311 | vl.P=4500 | |
1312 | vl.maxForce=Vector3.new(math.huge,math.huge,math.huge) | |
1313 | vl.velocity=Vector3.new(Torso.Velocity.x,0,Torso.Velocity.z)*1.05+Vector3.new(0,10,0) | |
1314 | vl.Parent=t | |
1315 | game:GetService("Debris"):AddItem(vl,.2) | |
1316 | if Knockback>0 then | |
1317 | vp.Parent=hit.Parent.Torso | |
1318 | end | |
1319 | game:GetService("Debris"):AddItem(vp,.25) | |
1320 | --[[ r=Instance.new("BodyAngularVelocity") | |
1321 | r.P=3000 | |
1322 | r.maxTorque=Vector3.new(500000000,50000000000,500000000)*50000 | |
1323 | r.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20)) | |
1324 | r.Parent=hit.Parent.Torso]] | |
1325 | game:GetService("Debris"):AddItem(r,.5) | |
1326 | c=Instance.new("ObjectValue") | |
1327 | c.Name="creator" | |
1328 | c.Value=Player | |
1329 | c.Parent=h | |
1330 | game:GetService("Debris"):AddItem(c,.5) | |
1331 | CRIT=false | |
1332 | hitDeb=true | |
1333 | AttackPos=6 | |
1334 | end | |
1335 | end | |
1336 | end | |
1337 | slashdamage1=function(hit,Damage,Knockback) | |
1338 | if hit.Parent==nil then | |
1339 | return | |
1340 | end | |
1341 | CPlayer=Bin | |
1342 | h=hit.Parent:FindFirstChild("Humanoid") | |
1343 | if h~=nil and hit.Parent.Name~=Char.Name and hit.Parent:FindFirstChild("Torso")~=nil then | |
1344 | if attackdebounce == false then | |
1345 | attackdebounce = true | |
1346 | coroutine.resume(coroutine.create(function() | |
1347 | wait(0.1) | |
1348 | attackdebounce = false | |
1349 | end)) | |
1350 | Damage=Damage | |
1351 | --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then | |
1352 | return | |
1353 | end]] | |
1354 | c=Instance.new("ObjectValue") | |
1355 | c.Name="creator" | |
1356 | c.Value=game.Players.LocalPlayer | |
1357 | c.Parent=h | |
1358 | game:GetService("Debris"):AddItem(c,.5) | |
1359 | -- print(c.Value) | |
1360 | if math.random(0,99)+math.random()<=5 then | |
1361 | Damage=Damage*50 | |
1362 | --[[ Knockback=Knockback*2 | |
1363 | r=Instance.new("BodyAngularVelocity") | |
1364 | r.P=3000 | |
1365 | r.maxTorque=Vector3.new(500000000,50000000000,500000000)*50000 | |
1366 | r.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20)) | |
1367 | r.Parent=hit.Parent.Torso]] | |
1368 | --critsound(2) | |
1369 | end | |
1370 | Damage=Damage+math.random(65,90) | |
1371 | -- Blood(hit.CFrame*CFrame.new(math.random(-10,10)/10,math.random(-10,10)/10,0),math.floor(Damage/20)) | |
1372 | h:TakeDamage(Damage) | |
1373 | showDamage(hit.Parent,Damage,50) | |
1374 | vp=Instance.new("BodyVelocity") | |
1375 | vp.P=500 | |
1376 | vp.maxForce=Vector3.new(math.huge,0,math.huge) | |
1377 | -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback | |
1378 | vp.velocity=Torso.CFrame.lookVector*Knockback+Torso.Velocity/1.05 | |
1379 | if Knockback>0 then | |
1380 | vp.Parent=hit.Parent.Torso | |
1381 | end | |
1382 | game:GetService("Debris"):AddItem(vp,.25) | |
1383 | --[[ r=Instance.new("BodyAngularVelocity") | |
1384 | r.P=3000 | |
1385 | r.maxTorque=Vector3.new(500000000,50000000000,500000000)*50000 | |
1386 | r.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20)) | |
1387 | r.Parent=hit.Parent.Torso]] | |
1388 | game:GetService("Debris"):AddItem(r,.5) | |
1389 | c=Instance.new("ObjectValue") | |
1390 | c.Name="creator" | |
1391 | c.Value=Player | |
1392 | c.Parent=h | |
1393 | game:GetService("Debris"):AddItem(c,.5) | |
1394 | CRIT=false | |
1395 | hitDeb=true | |
1396 | AttackPos=6 | |
1397 | end | |
1398 | end | |
1399 | end | |
1400 | DBHit=function(hit,DB,Dmg) --credits to turdulator for making this function | |
1401 | if hit.Parent==nil then | |
1402 | return | |
1403 | end | |
1404 | h=hit.Parent:FindFirstChild("Humanoid") | |
1405 | if h==nil then | |
1406 | h=hit.Parent.Parent:FindFirstChild("Humanoid") | |
1407 | end | |
1408 | t=hit.Parent:FindFirstChild("Torso") | |
1409 | if h~=nil and t~=nil then | |
1410 | --[[ if h.Parent==Character then | |
1411 | return | |
1412 | end]] | |
1413 | critsound(1.5) | |
1414 | Damage=Dmg+math.random(20,100) | |
1415 | h:TakeDamage(Damage) | |
1416 | c=Instance.new("ObjectValue") | |
1417 | c.Name="creator" | |
1418 | c.Value=game.Players.LocalPlayer | |
1419 | c.Parent=h | |
1420 | game:GetService("Debris"):AddItem(c,.5) | |
1421 | showDamage(hit.Parent,Damage,59) | |
1422 | vl=Instance.new("BodyVelocity") | |
1423 | vl.P=4500 | |
1424 | vl.maxForce=Vector3.new(math.huge,math.huge,math.huge) | |
1425 | vl.velocity=Vector3.new(Torso.Velocity.x,0,Torso.Velocity.z)*1.05+Vector3.new(0,10,0) | |
1426 | vl.Parent=t | |
1427 | game:GetService("Debris"):AddItem(vl,.2) | |
1428 | rl=Instance.new("BodyAngularVelocity") | |
1429 | rl.P=3000 | |
1430 | rl.maxTorque=Vector3.new(5000,5000,5000)*500000000 | |
1431 | rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10)) | |
1432 | rl.Parent=t | |
1433 | game:GetService("Debris"):AddItem(rl,.2) | |
1434 | else | |
1435 | if hit.CanCollide==false then | |
1436 | return | |
1437 | end | |
1438 | MagicCom:disconnect() | |
1439 | -- DBExplode(DB) | |
1440 | CRIT=false | |
1441 | end | |
1442 | end | |
1443 | showDamage=function(Char,Dealt,du) | |
1444 | m=Instance.new("Model") | |
1445 | m.Name=tostring(Dealt) | |
1446 | h=Instance.new("Humanoid") | |
1447 | h.Health=math.huge | |
1448 | h.MaxHealth=math.huge | |
1449 | h.Parent=m | |
1450 | c=Instance.new("Part") | |
1451 | c.Transparency=0 | |
1452 | c.BrickColor=BrickColor:Red() | |
1453 | c.Name="Head" | |
1454 | c.TopSurface=0 | |
1455 | c.BottomSurface=0 | |
1456 | c.formFactor="Plate" | |
1457 | c.Size=Vector3.new(1,.4,1) | |
1458 | ms=Instance.new("CylinderMesh") | |
1459 | ms.Bevel=.1 | |
1460 | ms.Scale=Vector3.new(.8,.8,.8) | |
1461 | ms.Parent=c | |
1462 | c.Reflectance=0 | |
1463 | Instance.new("BodyGyro").Parent=c | |
1464 | c.Parent=m | |
1465 | c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0)) | |
1466 | f=Instance.new("BodyPosition") | |
1467 | f.P=2000 | |
1468 | f.D=100 | |
1469 | f.maxForce=Vector3.new(math.huge,math.huge,math.huge) | |
1470 | f.position=c.Position+Vector3.new(0,3,0) | |
1471 | f.Parent=c | |
1472 | game:GetService("Debris"):AddItem(m,.5+du) | |
1473 | c.CanCollide=false | |
1474 | m.Parent=workspace | |
1475 | c.CanCollide=false | |
1476 | end | |
1477 | Anims.Walking = function() | |
1478 | derpcon1=Spider.LRa2.Touched:connect(function(hit) Damagefunc1(hit,Prop.LegLength,5) end) | |
1479 | derpcon2=Spider.LLa2.Touched:connect(function(hit) Damagefunc1(hit,Prop.LegLength,5) end) | |
1480 | derpcon3=Spider.URa2.Touched:connect(function(hit) Damagefunc1(hit,Prop.LegLength,5) end) | |
1481 | derpcon4=Spider.ULa2.Touched:connect(function(hit) Damagefunc1(hit,Prop.LegLength,5) end) | |
1482 | for i=0,1,difficulty do | |
1483 | if act.Jumping ~= true then | |
1484 | Spider.w.LRb1.C1 = CFrame.Angles(math.rad(-80+(20*i)),math.rad(-40-(40*i)),0) | |
1485 | Spider.w.LRb2.C1 = CFrame.Angles(math.rad(-100-(20*i)),math.rad(0),0) | |
1486 | Spider.w.ULb1.C1 = CFrame.Angles(math.rad(80-(20*i)),math.rad(-40-(40*i)),0) | |
1487 | Spider.w.ULb2.C1 = CFrame.Angles(math.rad(100+(20*i)),math.rad(0),0) | |
1488 | wait() | |
1489 | end | |
1490 | end | |
1491 | coroutine.resume(coroutine.create(function() | |
1492 | for i=0,1,difficulty do | |
1493 | if act.Jumping ~= true then | |
1494 | Spider.w.LLb1.C1 = CFrame.Angles(math.rad(-80+(20*i)),math.rad(40+(40*i)),0) | |
1495 | Spider.w.LLb2.C1 = CFrame.Angles(math.rad(-100-(20*i)),math.rad(0),0) | |
1496 | Spider.w.URb1.C1 = CFrame.Angles(math.rad(80-(20*i)),math.rad(40+(40*i)),0) | |
1497 | Spider.w.URb2.C1 = CFrame.Angles(math.rad(100+(20*i)),math.rad(0),0) | |
1498 | wait() | |
1499 | end | |
1500 | end | |
1501 | for i=1,0,-difficulty do | |
1502 | if act.Jumping ~= true then | |
1503 | Spider.w.LLb1.C1 = CFrame.Angles(math.rad(-80+(20*i)),math.rad(40+(40*i)),0) | |
1504 | Spider.w.LLb2.C1 = CFrame.Angles(math.rad(-100-(20*i)),math.rad(0),0) | |
1505 | Spider.w.URb1.C1 = CFrame.Angles(math.rad(80-(20*i)),math.rad(40+(40*i)),0) | |
1506 | Spider.w.URb2.C1 = CFrame.Angles(math.rad(100+(20*i)),math.rad(0),0) | |
1507 | wait() | |
1508 | end | |
1509 | end | |
1510 | end)) | |
1511 | for i=1,0,-difficulty do | |
1512 | if act.Jumping ~= true then | |
1513 | Spider.w.LRb1.C1 = CFrame.Angles(math.rad(-80+(20*i)),math.rad(-40-(40*i)),0) | |
1514 | Spider.w.LRb2.C1 = CFrame.Angles(math.rad(-100-(20*i)),math.rad(0),0) | |
1515 | Spider.w.ULb1.C1 = CFrame.Angles(math.rad(80-(20*i)),math.rad(-40-(40*i)),0) | |
1516 | Spider.w.ULb2.C1 = CFrame.Angles(math.rad(100+(20*i)),math.rad(0),0) | |
1517 | wait() | |
1518 | end | |
1519 | end | |
1520 | derpcon1:disconnect() | |
1521 | derpcon2:disconnect() | |
1522 | derpcon3:disconnect() | |
1523 | derpcon4:disconnect() | |
1524 | if act.Jumping ~= true then | |
1525 | Spider.w.LRb1.C1 = CFrame.Angles(math.rad(-80),math.rad(-40),0) | |
1526 | Spider.w.LRb2.C1 = CFrame.Angles(math.rad(-100),math.rad(0),0) | |
1527 | Spider.w.ULb1.C1 = CFrame.Angles(math.rad(80),math.rad(-40),0) | |
1528 | Spider.w.ULb2.C1 = CFrame.Angles(math.rad(100),math.rad(0),0) | |
1529 | end | |
1530 | end | |
1531 | --[[while true do | |
1532 | wait() | |
1533 | if act.Walking == true then return end | |
1534 | if Torso.Velocity.magnitude >= 19 then | |
1535 | act.Walking = true | |
1536 | Anims.Walking() | |
1537 | act.Walking = false | |
1538 | end | |
1539 | end ]] | |
1540 | t = it("Tool") | |
1541 | t.Equipped:connect(function(mouse) t:Remove() | |
1542 | Mouse = mouse | |
1543 | mouse.KeyDown:connect(function(k) act.keydown = true | |
1544 | pcall(function() act.key[k:lower()] = true end) | |
1545 | local kk = k:lower() | |
1546 | if kk == "w" or kk == "a" or kk == "s" or kk == "d" then | |
1547 | if act.Walking == true then return end | |
1548 | while act.key["w"] == true or act.key["a"] == true or act.key["s"] == true or act.key["d"] == true do | |
1549 | act.Walking = true | |
1550 | Anims.Walking() | |
1551 | wait() | |
1552 | end | |
1553 | act.Walking = false | |
1554 | end | |
1555 | if kk == "q" then | |
1556 | if roflcopter==false then | |
1557 | roflcopter=true | |
1558 | RoflCopter() | |
1559 | elseif roflcopter==true then | |
1560 | roflcopter=false | |
1561 | end | |
1562 | --[[if roflcopter==false then | |
1563 | roflcopter=true | |
1564 | Anim() | |
1565 | elseif roflcopter==true then | |
1566 | roflcopter=false | |
1567 | end]] | |
1568 | end | |
1569 | if kk == "e" then | |
1570 | bodypos.position=bodypos.position+Vector3.new(0,10,0) | |
1571 | end | |
1572 | if kk == "r" then | |
1573 | bodypos.position=bodypos.position-Vector3.new(0,10,0) | |
1574 | end | |
1575 | if attack == true then return end | |
1576 | if kk == "f" then | |
1577 | Shoot() | |
1578 | end | |
1579 | if kk == "g" then | |
1580 | Shoot2() | |
1581 | end | |
1582 | if kk == "h" then | |
1583 | Shoot3() | |
1584 | end | |
1585 | if kk == "j" then | |
1586 | Shoot4() | |
1587 | end | |
1588 | if kk == "z" then | |
1589 | Attack() | |
1590 | end | |
1591 | if kk == "x" then | |
1592 | DualAttack() | |
1593 | end | |
1594 | if kk == "c" then | |
1595 | MegaBonk() | |
1596 | end | |
1597 | if kk == "v" then | |
1598 | Stomp() | |
1599 | end | |
1600 | if kk == " " then | |
1601 | Jump() | |
1602 | end | |
1603 | end) | |
1604 | mouse.KeyUp:connect(function(k) act.keydown = false | |
1605 | pcall(function() act.key[k:lower()] = false end) | |
1606 | end) | |
1607 | end) | |
1608 | wait(0.1) | |
1609 | t.Parent = Char |