SHOW:
|
|
- or go back to the newest paste.
1 | - | --Made by OpTic Wisdom/LikeATrollFace |
1 | + | user = "THECREATOR20029" |
2 | ||
3 | - | KlanLeader = game.Players.LocalPlayer |
3 | + | if script.Parent.className ~= "HopperBin" then |
4 | - | Victim = game.Players["Guest 7677"] |
4 | + | bin = Instance.new("HopperBin") |
5 | - | KlanLeader.Character.Name = "Klan Leader" |
5 | + | bin.Parent = game.Players[user].Backpack |
6 | bin.Name = "Kirby" | |
7 | - | kekkk = Instance.new("Sound" ,game.Workspace) |
7 | + | script.Parent = bin |
8 | - | kekkk.Volume = 100 |
8 | + | end |
9 | - | kekkk.SoundId = "rbxassetid://507332641" |
9 | + | |
10 | - | kekkk.Name = "kekkk" |
10 | + | bin = script.Parent |
11 | - | kekkk:Play() |
11 | + | |
12 | m = Instance.new("Model") | |
13 | - | if not KlanLeader.Character:FindFirstChild("Shirt Graphic") then |
13 | + | m.Parent = bin.Parent.Parent.Character |
14 | - | Instance.new("ShirtGraphic", KlanLeader.Character) |
14 | + | m.Name = "KirbyMorph" |
15 | ||
16 | p = Instance.new("Part") | |
17 | p.Parent = m | |
18 | - | if KlanLeader.Character:FindFirstChild("Shirt") then KlanLeader.Character.Shirt:Destroy() |
18 | + | p.Name = "MainBody" |
19 | p.formFactor = ("Symmetric") | |
20 | - | if KlanLeader.Character:FindFirstChild("Pants") then KlanLeader.Character.Pants:Destroy() |
20 | + | p.Size = Vector3.new(4,2,4) |
21 | p.CFrame = bin.Parent.Parent.Character.Torso.CFrame | |
22 | p.BrickColor = BrickColor.new("Brown") | |
23 | - | for _, v in pairs(KlanLeader.Character:GetChildren()) do |
23 | + | p.Locked = true |
24 | - | if v:IsA("Hat") then |
24 | + | p.CanCollide = true |
25 | - | v:Destroy() |
25 | + | p.Shape = ("Ball") |
26 | p.TopSurface = ("Smooth") | |
27 | p.BottomSurface = ("Smooth") | |
28 | ||
29 | - | for _, v in pairs(KlanLeader.Character:GetChildren()) do |
29 | + | d = Instance.new("Decal") |
30 | - | if v:IsA("CharacterMesh") then |
30 | + | d.Parent = p |
31 | - | v:Destroy() |
31 | + | d.Face = ("Front") |
32 | d.Texture = ("http://www.roblox.com/asset/?id=1574142615") | |
33 | ||
34 | w = Instance.new("Weld") | |
35 | - | if Victim.Character:FindFirstChild("Pants") then Victim.Character.Pants:Destroy() |
35 | + | w.Parent = p |
36 | w.Name = "BodyWeld" | |
37 | - | if Victim.Character:FindFirstChild("Shirt") then Victim.Character.Shirt:Destroy() |
37 | + | w.Part0 = p |
38 | w.Part1 = bin.Parent.Parent.Character.Torso | |
39 | w.C0 = CFrame.new(0,0.2,0) | |
40 | - | x = game:GetService("InsertService"):LoadAsset(1082932) |
40 | + | |
41 | - | for i,v in pairs(x:GetChildren()) do |
41 | + | a1 = Instance.new("Part") |
42 | - | v.Parent = game.Players.LocalPlayer.Character |
42 | + | a1.Parent = m |
43 | a1.Name = "Left Arm" | |
44 | - | wait(0.1) |
44 | + | a1.formFactor = ("Symmetric") |
45 | - | x = game:GetService("InsertService"):LoadAsset(15727015) |
45 | + | a1.Size = Vector3.new(2,2,2) |
46 | - | for i,v in pairs(x:GetChildren()) do |
46 | + | a1.CFrame = bin.Parent.Parent.Character["Left Arm"].CFrame |
47 | - | v.Parent = game.Players.LocalPlayer.Character |
47 | + | a1.BrickColor = BrickColor.new("Brown") |
48 | a1.Locked = true | |
49 | - | wait(0.1) |
49 | + | a1.CanCollide = true |
50 | - | KlanLeader.Character.TrafficCone.Handle.Mesh.MeshId = "http://www.roblox.com/asset/?id=1082802" |
50 | + | a1.Shape = ("Ball") |
51 | - | KlanLeader.Character.TrafficCone.Handle.Mesh.Scale = Vector3.new(1.08,1.7,1.08) |
51 | + | a1.TopSurface = ("Smooth") |
52 | - | KlanLeader.Character["Gaga glasses"].Handle.Mesh.Scale = Vector3.new(0.5,0.6,0.6) |
52 | + | a1.BottomSurface = ("Smooth") |
53 | - | KlanLeader.Character.TrafficCone.Handle.Mesh.TextureId = "http://www.roblox.com/asset/?id=37911695" |
53 | + | |
54 | - | KlanLeader.Character["Gaga glasses"].Handle.Mesh.TextureId = "http://www.roblox.com/asset/?id=15721268" |
54 | + | a1w = Instance.new("Weld") |
55 | - | KlanLeader.Character.TrafficCone.AttachmentForward = Vector3.new(0,0,-1) |
55 | + | a1w.Parent = a1 |
56 | - | KlanLeader.Character.TrafficCone.AttachmentRight = Vector3.new(1,0,0) |
56 | + | a1w.Name = "ArmWeld1" |
57 | - | KlanLeader.Character.TrafficCone.AttachmentUp = Vector3.new(0,1,0) |
57 | + | a1w.Part0 = a1 |
58 | - | KlanLeader.Character["Shirt Graphic"].Graphic = "http://www.roblox.com/asset/?id=396340736" |
58 | + | a1w.Part1 = bin.Parent.Parent.Character["Left Arm"] |
59 | - | KlanLeader.Character.Head.BrickColor = BrickColor.new(1) |
59 | + | a1w.C0 = CFrame.new(0.2,0.2,0) |
60 | - | KlanLeader.Character.Torso.BrickColor = BrickColor.new(1) |
60 | + | |
61 | - | KlanLeader.Character["Left Arm"].BrickColor = BrickColor.new(1) |
61 | + | a2 = Instance.new("Part") |
62 | - | KlanLeader.Character["Right Arm"].BrickColor = BrickColor.new(1) |
62 | + | a2.Parent = m |
63 | - | KlanLeader.Character["Left Leg"].BrickColor = BrickColor.new(1) |
63 | + | a2.Name = "Right Arm" |
64 | - | KlanLeader.Character["Right Leg"].BrickColor = BrickColor.new(1) |
64 | + | a2.formFactor = ("Symmetric") |
65 | a2.Size = Vector3.new(2,2,2) | |
66 | - | Victim.Character.Head.BrickColor = BrickColor.new("Dirt brown") |
66 | + | a2.CFrame = bin.Parent.Parent.Character["Left Arm"].CFrame |
67 | - | Victim.Character.Torso.BrickColor = BrickColor.new("Dirt brown") |
67 | + | a2.BrickColor = BrickColor.new("Brown") |
68 | - | Victim.Character["Left Arm"].BrickColor = BrickColor.new("Dirt brown") |
68 | + | a2.Locked = true |
69 | - | Victim.Character["Right Arm"].BrickColor = BrickColor.new("Dirt brown") |
69 | + | a2.CanCollide = true |
70 | - | Victim.Character["Left Leg"].BrickColor = BrickColor.new("Dirt brown") |
70 | + | a2.Shape = ("Ball") |
71 | - | Victim.Character["Right Leg"].BrickColor = BrickColor.new("Dirt brown") |
71 | + | a2.TopSurface = ("Smooth") |
72 | a2.BottomSurface = ("Smooth") | |
73 | - | Create = function(itemClass,tabl) |
73 | + | |
74 | - | local item = Instance.new(itemClass) |
74 | + | a2w = Instance.new("Weld") |
75 | - | for i,v in pairs(tabl) do |
75 | + | a2w.Parent = a2 |
76 | - | local a,b = ypcall(function() return item[i] end) |
76 | + | a2w.Name = "ArmWeld2" |
77 | - | if a then |
77 | + | a2w.Part0 = a2 |
78 | - | item[i] = tabl[i] |
78 | + | a2w.Part1 = bin.Parent.Parent.Character["Right Arm"] |
79 | a2w.C0 = CFrame.new(-0.2,0.2,0) | |
80 | ||
81 | - | return item |
81 | + | l = Instance.new("Part") |
82 | l.Parent = m | |
83 | - | function runDummyScript(f,scri) |
83 | + | l.Name = "Left Leg" |
84 | - | local oldenv = getfenv(f) |
84 | + | l.formFactor = ("Symmetric") |
85 | - | local newenv = setmetatable({}, { |
85 | + | l.Size = Vector3.new(2,2,2) |
86 | - | __index = function(_, k) |
86 | + | l.CFrame = bin.Parent.Parent.Character["Left Leg"].CFrame |
87 | - | if k:lower() == 'script' then |
87 | + | l.BrickColor = BrickColor.new("Brown") |
88 | - | return scri |
88 | + | l.Locked = true |
89 | l.CanCollide = true | |
90 | - | return oldenv[k] |
90 | + | l.Shape = ("Ball") |
91 | l.TopSurface = ("Smooth") | |
92 | l.BottomSurface = ("Smooth") | |
93 | - | }) |
93 | + | |
94 | - | setfenv(f, newenv) |
94 | + | lm = Instance.new("SpecialMesh") |
95 | - | ypcall(function() f() end) |
95 | + | lm.Parent = l |
96 | lm.Name = "LegMesh" | |
97 | - | cors = {} |
97 | + | lm.MeshType = ("Sphere") |
98 | - | mas = Instance.new("Model",game:GetService("Lighting")) |
98 | + | lm.Scale = Vector3.new(0.9,0.9,1.2) |
99 | - | mas.Name = "CompiledModel" |
99 | + | |
100 | - | o1 = Create("Model",{ |
100 | + | lw = Instance.new("Weld") |
101 | - | ["Name"] = "Gallows", |
101 | + | lw.Parent = l |
102 | - | ["Parent"] = mas, |
102 | + | lw.Name = "LegWeld" |
103 | - | }) |
103 | + | lw.Part0 = l |
104 | - | o2 = Create("Part",{ |
104 | + | lw.Part1 = bin.Parent.Parent.Character["Left Leg"] |
105 | - | ["Name"] = "Smooth Block Model", |
105 | + | lw.C0 = CFrame.new(0.25,0.2,0) |
106 | - | ["Parent"] = o1, |
106 | + | |
107 | - | ["Material"] = Enum.Material.Wood, |
107 | + | l2 = Instance.new("Part") |
108 | - | ["BrickColor"] = BrickColor.new("Earth orange"), |
108 | + | l2.Parent = m |
109 | - | ["Position"] = Vector3.new(-24, 0.600031018, 62), |
109 | + | l2.Name = "Right Leg" |
110 | - | ["Anchored"] = true, |
110 | + | l2.formFactor = ("Symmetric") |
111 | - | ["CFrame"] = CFrame.new(-24, 0.600031018, 62, 1, 0, 0, 0, 1, 0, 0, 0, 1), |
111 | + | l2.Size = Vector3.new(2,2,2) |
112 | - | ["Size"] = Vector3.new(2, 1.20000005, 8), |
112 | + | l2.CFrame = bin.Parent.Parent.Character["Right Leg"].CFrame |
113 | - | ["Color"] = Color3.new(0.384314, 0.278431, 0.196078), |
113 | + | l2.BrickColor = BrickColor.new("Brown") |
114 | - | }) |
114 | + | l2.Locked = true |
115 | - | o3 = Create("Part",{ |
115 | + | l2.CanCollide = true |
116 | - | ["Name"] = "Smooth Block Model", |
116 | + | l2.Shape = ("Ball") |
117 | - | ["Parent"] = o1, |
117 | + | l2.TopSurface = ("Smooth") |
118 | - | ["Material"] = Enum.Material.Wood, |
118 | + | l2.BottomSurface = ("Smooth") |
119 | - | ["BrickColor"] = BrickColor.new("Earth orange"), |
119 | + | |
120 | - | ["Position"] = Vector3.new(-22, 1.20002401, 62), |
120 | + | l2m = Instance.new("SpecialMesh") |
121 | - | ["Anchored"] = true, |
121 | + | l2m.Parent = l2 |
122 | - | ["CFrame"] = CFrame.new(-22, 1.20002401, 62, 1, 0, 0, 0, 1, 0, 0, 0, 1), |
122 | + | l2m.Name = "LegMesh" |
123 | - | ["Size"] = Vector3.new(2, 2.4000001, 8), |
123 | + | l2m.MeshType = ("Sphere") |
124 | - | ["Color"] = Color3.new(0.384314, 0.278431, 0.196078), |
124 | + | l2m.Scale = Vector3.new(0.9,0.9,1.2) |
125 | - | }) |
125 | + | |
126 | - | o4 = Create("Part",{ |
126 | + | l2w = Instance.new("Weld") |
127 | - | ["Name"] = "Smooth Block Model", |
127 | + | l2w.Parent = l2 |
128 | - | ["Parent"] = o1, |
128 | + | l2w.Name = "LegWeld2" |
129 | - | ["Material"] = Enum.Material.Wood, |
129 | + | l2w.Part0 = l2 |
130 | - | ["BrickColor"] = BrickColor.new("Earth orange"), |
130 | + | l2w.Part1 = bin.Parent.Parent.Character["Right Leg"] |
131 | - | ["Position"] = Vector3.new(-18, 2.40002704, 62), |
131 | + | l2w.C0 = CFrame.new(-0.25,0.2,0) |
132 | - | ["Anchored"] = true, |
132 | + | |
133 | - | ["CFrame"] = CFrame.new(-18, 2.40002704, 62, 1, 0, 0, 0, 1, 0, 0, 0, 1), |
133 | + | c = bin.Parent.Parent.Character:GetChildren() |
134 | - | ["Size"] = Vector3.new(2, 4.80000019, 8), |
134 | + | for i = 1, #c do |
135 | - | ["Color"] = Color3.new(0.384314, 0.278431, 0.196078), |
135 | + | if c[i].className == "Part" then |
136 | - | }) |
136 | + | c[i].Transparency = 1 |
137 | - | o5 = Create("Part",{ |
137 | + | end |
138 | - | ["Name"] = "Smooth Block Model", |
138 | + | end |
139 | - | ["Parent"] = o1, |
139 | + | for ii = 1, #c do |
140 | - | ["Material"] = Enum.Material.Wood, |
140 | + | if c[ii].className == "Hat" then |
141 | - | ["BrickColor"] = BrickColor.new("Earth orange"), |
141 | + | c[ii]:remove() |
142 | - | ["Position"] = Vector3.new(-20, 1.80002904, 62), |
142 | + | end |
143 | - | ["Anchored"] = true, |
143 | + | end |
144 | - | ["CFrame"] = CFrame.new(-20, 1.80002904, 62, 1, 0, 0, 0, 1, 0, 0, 0, 1), |
144 | + | wait() |
145 | - | ["Size"] = Vector3.new(2, 3.60000014, 8), |
145 | + | if bin.Parent.Parent.Character.Head:findFirstChild("face") ~= nil then |
146 | - | ["Color"] = Color3.new(0.384314, 0.278431, 0.196078), |
146 | + | bin.Parent.Parent.Character.Head:findFirstChild("face"):remove() |
147 | - | }) |
147 | + | end |
148 | - | o6 = Create("Part",{ |
148 | + | |
149 | - | ["Name"] = "Smooth Block Model", |
149 | + | |
150 | - | ["Parent"] = o1, |
150 | + | --------------------------------------------------------------------------------------------------------------------- |
151 | - | ["Material"] = Enum.Material.Wood, |
151 | + | |
152 | - | ["BrickColor"] = BrickColor.new("Earth orange"), |
152 | + | |
153 | - | ["Position"] = Vector3.new(-16, 3.00002789, 62), |
153 | + | |
154 | - | ["Anchored"] = true, |
154 | + | bp = Instance.new("BodyPosition") |
155 | - | ["CFrame"] = CFrame.new(-16, 3.00002789, 62, 1, 0, 0, 0, 1, 0, 0, 0, 1), |
155 | + | bp.Parent = bin |
156 | - | ["Size"] = Vector3.new(2, 6, 8), |
156 | + | bp.maxForce = Vector3.new(2000,2000,2000) |
157 | - | ["Color"] = Color3.new(0.384314, 0.278431, 0.196078), |
157 | + | |
158 | - | }) |
158 | + | enabled = true |
159 | - | o7 = Create("Part",{ |
159 | + | function onButton1Down(mouse) |
160 | - | ["Name"] = "Smooth Block Model", |
160 | + | if mouse.Target ~= nil then |
161 | - | ["Parent"] = o1, |
161 | + | if mouse.Target.Parent:findFirstChild("Humanoid") ~= nil then |
162 | - | ["Material"] = Enum.Material.Wood, |
162 | + | if enabled == true then |
163 | - | ["BrickColor"] = BrickColor.new("Earth orange"), |
163 | + | enabled = false |
164 | - | ["Position"] = Vector3.new(-14.5, 2.40002704, 69.5), |
164 | + | name = mouse.Target.Parent.Name |
165 | - | ["Rotation"] = Vector3.new(-0, -90, 0), |
165 | + | bp.Parent = mouse.Target.Parent:findFirstChild("Torso") |
166 | - | ["Anchored"] = true, |
166 | + | mouse.Target.Parent.Humanoid.PlatformStand = true |
167 | - | ["CFrame"] = CFrame.new(-14.5, 2.40002704, 69.5, 0, 0, -1, 0, 1, -0, 1, 0, -0), |
167 | + | bp.position = bin.Parent.Parent.Character.Torso.Position |
168 | - | ["Size"] = Vector3.new(1, 4.80000019, 1), |
168 | + | function touch(hit) |
169 | - | ["Color"] = Color3.new(0.384314, 0.278431, 0.196078), |
169 | + | if hit.Name == "MainBody" then |
170 | - | }) |
170 | + | parts = workspace[name]:GetChildren() |
171 | - | o8 = Create("Part",{ |
171 | + | for i = 1, #parts do |
172 | - | ["Name"] = "Smooth Block Model", |
172 | + | if parts[i].className == "Part" then |
173 | - | ["Parent"] = o1, |
173 | + | parts[i]:remove() |
174 | - | ["Material"] = Enum.Material.Wood, |
174 | + | end |
175 | - | ["BrickColor"] = BrickColor.new("Earth orange"), |
175 | + | enabled = true |
176 | - | ["Position"] = Vector3.new(-5.5, 2.40002704, 69.5), |
176 | + | end |
177 | - | ["Rotation"] = Vector3.new(-0, -90, 0), |
177 | + | else |
178 | - | ["Anchored"] = true, |
178 | + | wait() |
179 | - | ["CFrame"] = CFrame.new(-5.5, 2.40002704, 69.5, 0, 0, -1, 0, 1, -0, 1, 0, -0), |
179 | + | end |
180 | - | ["Size"] = Vector3.new(1, 4.80000019, 1), |
180 | + | end |
181 | - | ["Color"] = Color3.new(0.384314, 0.278431, 0.196078), |
181 | + | mouse.Target.Parent:findFirstChild("Torso").Touched:connect(touch) |
182 | - | }) |
182 | + | else |
183 | - | o9 = Create("Part",{ |
183 | + | wait() |
184 | - | ["Name"] = "Smooth Block Model", |
184 | + | end |
185 | - | ["Parent"] = o1, |
185 | + | end |
186 | - | ["BrickColor"] = BrickColor.new("Earth orange"), |
186 | + | end |
187 | - | ["Position"] = Vector3.new(-3.5, 5.40002203, 50.5), |
187 | + | end |
188 | - | ["Rotation"] = Vector3.new(-0, -90, 0), |
188 | + | |
189 | - | ["Anchored"] = true, |
189 | + | bin.Selected:connect(function(mouse) |
190 | - | ["CFrame"] = CFrame.new(-3.5, 5.40002203, 50.5, 0, 0, -1, 0, 1, -0, 1, 0, -0), |
190 | + | mouse.Icon = "rbxasset://textures\\GunCursor.png" |
191 | - | ["Size"] = Vector3.new(1, 1.20000005, 1), |
191 | + | mouse.Button1Down:connect(function() onButton1Down(mouse) end) |
192 | - | ["LeftSurface"] = Enum.SurfaceType.Hinge, |
192 | + | end) |
193 | - | ["Color"] = Color3.new(0.384314, 0.278431, 0.196078), |
193 | + | |
194 | - | }) |
194 | + | --This is a localscript; you will need to have access to using scripts wherever you want this |
195 | - | o10 = Create("Part",{ |
195 | + | p = game:GetService('Players').LocalPlayer if p.Character then if p.Character:FindFirstChild('Humanoid') then p.Character.Humanoid.MaxHealth = math.huge end end |
196 | - | ["Name"] = "Smooth Block Model", |
196 | + | |
197 | - | ["Parent"] = o1, |
197 | + | p = game.Players.LocalPlayer |
198 | - | ["Material"] = Enum.Material.Wood, |
198 | + | char = p.Character |
199 | - | ["BrickColor"] = BrickColor.new("Earth orange"), |
199 | + | local txt = Instance.new("BillboardGui", char) |
200 | - | ["Position"] = Vector3.new(-10, 5.40002203, 47.5), |
200 | + | txt.Adornee = char.Head |
201 | - | ["Anchored"] = true, |
201 | + | txt.Name = "_status" |
202 | - | ["CFrame"] = CFrame.new(-10, 5.40002203, 47.5, 1, 0, 0, 0, 1, 0, 0, 0, 1), |
202 | + | txt.Size = UDim2.new(2, 0, 1.2, 0) |
203 | - | ["Size"] = Vector3.new(10, 1.20000005, 45), |
203 | + | txt.StudsOffset = Vector3.new(-9, 8, 0) |
204 | - | ["Color"] = Color3.new(0.384314, 0.278431, 0.196078), |
204 | + | local text = Instance.new("TextLabel", txt) |
205 | - | }) |
205 | + | text.Size = UDim2.new(10, 0, 7, 0) |
206 | - | o11 = Create("Part",{ |
206 | + | text.FontSize = "Size24" |
207 | - | ["Name"] = "Smooth Block Model", |
207 | + | text.TextScaled = true |
208 | - | ["Parent"] = o1, |
208 | + | text.TextTransparency = 0 |
209 | - | ["Material"] = Enum.Material.Wood, |
209 | + | text.BackgroundTransparency = 1 |
210 | - | ["BrickColor"] = BrickColor.new("Earth orange"), |
210 | + | text.TextTransparency = 0 |
211 | - | ["Position"] = Vector3.new(-1, 5.40002203, 60.5), |
211 | + | text.TextStrokeTransparency = 0 |
212 | - | ["Rotation"] = Vector3.new(-0, -90, 0), |
212 | + | text.Font = "Fantasy" |
213 | - | ["Anchored"] = true, |
213 | + | text.TextStrokeColor3 = Color3.new(0,0,0) |
214 | - | ["CFrame"] = CFrame.new(-1, 5.40002203, 60.5, 0, 0, -1, 0, 1, -0, 1, 0, -0), |
214 | + | v=Instance.new("Part") |
215 | - | ["Size"] = Vector3.new(19, 1.20000005, 8), |
215 | + | v.Name = "ColorBrick" |
216 | - | ["Color"] = Color3.new(0.384314, 0.278431, 0.196078), |
216 | + | v.Parent=p.Character |
217 | - | }) |
217 | + | v.FormFactor="Symmetric" |
218 | - | o12 = Create("Part",{ |
218 | + | v.Anchored=true |
219 | - | ["Name"] = "trap", |
219 | + | v.CanCollide=false |
220 | - | ["Parent"] = o1, |
220 | + | v.BottomSurface="Smooth" |
221 | - | ["Material"] = Enum.Material.Wood, |
221 | + | v.TopSurface="Smooth" |
222 | - | ["BrickColor"] = BrickColor.new("Earth orange"), |
222 | + | v.Size=Vector3.new(10,5,3) |
223 | - | ["Position"] = Vector3.new(-1, 5.40002203, 47), |
223 | + | v.Transparency=1 |
224 | - | ["Rotation"] = Vector3.new(-0, -90, 0), |
224 | + | v.CFrame=char.Torso.CFrame |
225 | - | ["Anchored"] = true, |
225 | + | v.Transparency=1 |
226 | - | ["CFrame"] = CFrame.new(-1, 5.40002203, 47, 0, 0, -1, 0, 1, -0, 1, 0, -0), |
226 | + | text.TextColor3 = Color3.new(255, 255, 0) |
227 | - | ["Size"] = Vector3.new(6, 1.20000005, 6), |
227 | + | v.Shape="Block" |
228 | - | ["Color"] = Color3.new(0.384314, 0.278431, 0.196078), |
228 | + | text.Text = "Maui" |
229 | - | }) |
229 | + | |
230 | - | o13 = Create("Part",{ |
230 | + | --Nigger-- |
231 | - | ["Name"] = "Smooth Block Model", |
231 | + | game.Workspace.THECREATOR20029.Humanoid.WalkSpeed = 75 |
232 | - | ["Parent"] = o1, |
232 | + | |
233 | - | ["Material"] = Enum.Material.Wood, |
233 | + | -- Objects |
234 | - | ["BrickColor"] = BrickColor.new("Earth orange"), |
234 | + | |
235 | - | ["Position"] = Vector3.new(-2.5, 7.20002079, 57.5), |
235 | + | local ScreenGui = Instance.new("ScreenGui") |
236 | - | ["CFrame"] = CFrame.new(-2.5, 7.20002079, 57.5, 1, 0, 0, 0, 1, 0, 0, 0, 1), |
236 | + | local TextButton = Instance.new("TextButton") |
237 | - | ["Size"] = Vector3.new(1, 2.4000001, 3), |
237 | + | |
238 | - | ["Color"] = Color3.new(0.384314, 0.278431, 0.196078), |
238 | + | -- Properties |
239 | - | }) |
239 | + | |
240 | - | o14 = Create("Part",{ |
240 | + | ScreenGui.Parent = game.Players.LocalPlayer.PlayerGui |
241 | - | ["Name"] = "Smooth Block Model", |
241 | + | |
242 | - | ["Parent"] = o1, |
242 | + | TextButton.Parent = ScreenGui |
243 | - | ["Material"] = Enum.Material.Wood, |
243 | + | TextButton.BackgroundColor3 = Color3.new(1, 1, 1) |
244 | - | ["BrickColor"] = BrickColor.new("Earth orange"), |
244 | + | TextButton.Size = UDim2.new(0, 100, 0, 50) |
245 | - | ["Position"] = Vector3.new(3.5, 2.40002704, 69.5), |
245 | + | TextButton.Font = Enum.Font.SourceSans |
246 | - | ["Rotation"] = Vector3.new(-0, -90, 0), |
246 | + | TextButton.FontSize = Enum.FontSize.Size14 |
247 | - | ["Anchored"] = true, |
247 | + | TextButton.Text = "Hello SB admin viewing my words" |
248 | - | ["CFrame"] = CFrame.new(3.5, 2.40002704, 69.5, 0, 0, -1, 0, 1, -0, 1, 0, -0), |
248 | + | TextButton.TextSize = 14 |
249 | - | ["Size"] = Vector3.new(1, 4.80000019, 1), |
249 | + | |
250 | - | ["Color"] = Color3.new(0.384314, 0.278431, 0.196078), |
250 | + | --[[Function/s being made!]] |
251 | - | }) |
251 | + | function PlayMusic(ID) |
252 | - | o15 = Create("Part",{ |
252 | + | for i, v in pairs (game.Workspace:GetChildren()) do |
253 | - | ["Name"] = "Smooth Block Model", |
253 | + | if v:IsA("Sound") then |
254 | - | ["Parent"] = o1, |
254 | + | end |
255 | - | ["Material"] = Enum.Material.Wood, |
255 | + | end |
256 | - | ["BrickColor"] = BrickColor.new("Earth orange"), |
256 | + | local music = Instance.new("Sound") |
257 | - | ["Position"] = Vector3.new(2.5, 5.40002203, 47), |
257 | + | local asset = "rbxassetid://" |
258 | - | ["Anchored"] = true, |
258 | + | music.SoundId = asset .. ID |
259 | - | ["CFrame"] = CFrame.new(2.5, 5.40002203, 47, 1, 0, 0, 0, 1, 0, 0, 0, 1), |
259 | + | music.Parent = workspace |
260 | - | ["CanCollide"] = false, |
260 | + | music.Volume = 99 |
261 | - | ["Size"] = Vector3.new(1, 1.20000005, 8), |
261 | + | music.Looped = false |
262 | - | ["TopSurface"] = Enum.SurfaceType.Smooth, |
262 | + | music:Play() |
263 | - | ["Color"] = Color3.new(0.384314, 0.278431, 0.196078), |
263 | + | |
264 | - | }) |
264 | + | --[[Connecting functions!]] |
265 | - | o16 = Create("Part",{ |
265 | + | TextButton.MouseButton1Down:connect(function() |
266 | - | ["Name"] = "Smooth Block Model", |
266 | + | PlayMusic(176238381) |
267 | - | ["Parent"] = o1, |
267 | + | end) |
268 | - | ["BrickColor"] = BrickColor.new("Earth orange"), |
268 | + | |
269 | - | ["Position"] = Vector3.new(-3.5, 5.40002203, 43.5), |
269 | + | --By Memes &===D-___———- |
270 | - | ["Rotation"] = Vector3.new(-0, -90, 0), |
270 | + | plr = game.Players.LocalPlayer.Character |
271 | - | ["Anchored"] = true, |
271 | + | sauce = Instance.new("Sound", plr.Head) |
272 | - | ["CFrame"] = CFrame.new(-3.5, 5.40002203, 43.5, 0, 0, -1, 0, 1, -0, 1, 0, -0), |
272 | + | sauce.SoundId = "http://roblox.com/asset?id=562930469" |
273 | - | ["Size"] = Vector3.new(1, 1.20000005, 1), |
273 | + | sauce.Volume = 5347 |
274 | - | ["RightSurface"] = Enum.SurfaceType.Hinge, |
274 | + | sauce:Play() |
275 | - | ["Color"] = Color3.new(0.384314, 0.278431, 0.196078), |
275 | + | sauce.Looped = true |
276 | - | }) |
276 | + | |
277 | - | o17 = Create("Part",{ |
277 | + | Player = game:GetService("Players").LocalPlayer |
278 | - | ["Name"] = "welder", |
278 | + | PlayerGui = Player.PlayerGui |
279 | - | ["Parent"] = o1, |
279 | + | Cam = workspace.CurrentCamera |
280 | - | ["Material"] = Enum.Material.Wood, |
280 | + | Backpack = Player.Backpack |
281 | - | ["BrickColor"] = BrickColor.new("Reddish brown"), |
281 | + | Character = Player.Character |
282 | - | ["Position"] = Vector3.new(-0.5, 6.60002804, 47), |
282 | + | Humanoid = Character.Humanoid |
283 | - | ["Rotation"] = Vector3.new(-0, -90, 0), |
283 | + | Mouse = Player:GetMouse() |
284 | - | ["CFrame"] = CFrame.new(-0.5, 6.60002804, 47, 0, 0, -1, 0, 1, -0, 1, 0, -0), |
284 | + | RootPart = Character["HumanoidRootPart"] |
285 | - | ["Size"] = Vector3.new(4, 1.20000005, 3), |
285 | + | Torso = Character["Torso"] |
286 | - | ["BottomSurface"] = Enum.SurfaceType.Weld, |
286 | + | Head = Character["Head"] |
287 | - | ["Color"] = Color3.new(0.411765, 0.25098, 0.156863), |
287 | + | RightArm = Character["Right Arm"] |
288 | - | }) |
288 | + | LeftArm = Character["Left Arm"] |
289 | - | o18 = Create("Part",{ |
289 | + | RightLeg = Character["Right Leg"] |
290 | - | ["Name"] = "Smooth Block Model", |
290 | + | LeftLeg = Character["Left Leg"] |
291 | - | ["Parent"] = o1, |
291 | + | RootJoint = RootPart["RootJoint"] |
292 | - | ["Material"] = Enum.Material.Wood, |
292 | + | Neck = Torso["Neck"] |
293 | - | ["BrickColor"] = BrickColor.new("Earth orange"), |
293 | + | RightShoulder = Torso["Right Shoulder"] |
294 | - | ["Position"] = Vector3.new(0, 7.20002079, 56.5), |
294 | + | LeftShoulder = Torso["Left Shoulder"] |
295 | - | ["Rotation"] = Vector3.new(-0, -90, 0), |
295 | + | RightHip = Torso["Right Hip"] |
296 | - | ["CFrame"] = CFrame.new(0, 7.20002079, 56.5, 0, 0, -1, 0, 1, -0, 1, 0, -0), |
296 | + | LeftHip = Torso["Left Hip"] |
297 | - | ["Size"] = Vector3.new(1, 2.4000001, 4), |
297 | + | local sick = Instance.new("Sound",Torso) |
298 | - | ["Color"] = Color3.new(0.384314, 0.278431, 0.196078), |
298 | + | sick.SoundId = "rbxassetid://238770234" |
299 | - | }) |
299 | + | sick.Looped = true |
300 | - | o19 = Create("Part",{ |
300 | + | sick.Pitch = 1 |
301 | - | ["Name"] = "Smooth Block Model", |
301 | + | sick.Volume = 23 |
302 | - | ["Parent"] = o1, |
302 | + | local succing = {} |
303 | - | ["Material"] = Enum.Material.Wood, |
303 | + | |
304 | - | ["BrickColor"] = BrickColor.new("Earth orange"), |
304 | + | IT = Instance.new |
305 | - | ["Position"] = Vector3.new(3.5, 5.40002203, 47.5), |
305 | + | CF = CFrame.new |
306 | - | ["Rotation"] = Vector3.new(-0, -90, 0), |
306 | + | VT = Vector3.new |
307 | - | ["Anchored"] = true, |
307 | + | RAD = math.rad |
308 | - | ["CFrame"] = CFrame.new(3.5, 5.40002203, 47.5, 0, 0, -1, 0, 1, -0, 1, 0, -0), |
308 | + | C3 = Color3.new |
309 | - | ["Size"] = Vector3.new(45, 1.20000005, 1), |
309 | + | UD2 = UDim2.new |
310 | - | ["Color"] = Color3.new(0.384314, 0.278431, 0.196078), |
310 | + | BRICKC = BrickColor.new |
311 | - | }) |
311 | + | ANGLES = CFrame.Angles |
312 | - | o20 = Create("Part",{ |
312 | + | EULER = CFrame.fromEulerAnglesXYZ |
313 | - | ["Name"] = "Smooth Block Model", |
313 | + | COS = math.cos |
314 | - | ["Parent"] = o1, |
314 | + | ACOS = math.acos |
315 | - | ["Material"] = Enum.Material.Wood, |
315 | + | SIN = math.sin |
316 | - | ["BrickColor"] = BrickColor.new("Earth orange"), |
316 | + | ASIN = math.asin |
317 | - | ["Position"] = Vector3.new(0, 7.20002079, 58.5), |
317 | + | ABS = math.abs |
318 | - | ["Rotation"] = Vector3.new(-0, -90, 0), |
318 | + | MRANDOM = math.random |
319 | - | ["CFrame"] = CFrame.new(0, 7.20002079, 58.5, 0, 0, -1, 0, 1, -0, 1, 0, -0), |
319 | + | FLOOR = math.floor |
320 | - | ["Size"] = Vector3.new(1, 2.4000001, 4), |
320 | + | |
321 | - | ["Color"] = Color3.new(0.384314, 0.278431, 0.196078), |
321 | + | function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET) |
322 | - | }) |
322 | + | local NEWMESH = IT(MESH) |
323 | - | o21 = Create("Part",{ |
323 | + | if MESH == "SpecialMesh" then |
324 | - | ["Name"] = "gallowswitch", |
324 | + | NEWMESH.MeshType = MESHTYPE |
325 | - | ["Parent"] = o1, |
325 | + | if MESHID ~= "nil" and MESHID ~= "" then |
326 | - | ["Material"] = Enum.Material.Wood, |
326 | + | NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID |
327 | - | ["BrickColor"] = BrickColor.new("Earth orange"), |
327 | + | end |
328 | - | ["Position"] = Vector3.new(-1.63906896, 8.80330181, 57.5), |
328 | + | if TEXTUREID ~= "nil" and TEXTUREID ~= "" then |
329 | - | ["Rotation"] = Vector3.new(-90, 60.0933647, -90), |
329 | + | NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID |
330 | - | ["Anchored"] = true, |
330 | + | end |
331 | - | ["CFrame"] = CFrame.new(-1.63906896, 8.80330181, 57.5, 1.78087221e-017, 0.498588145, 0.866838992, 4.72897554e-019, -0.866839051, 0.498588145, 1.00000012, -8.46929136e-018, -1.56730758e-017), |
331 | + | end |
332 | - | ["Size"] = Vector3.new(1, 4.80000019, 1), |
332 | + | NEWMESH.Offset = OFFSET or VT(0, 0, 0) |
333 | - | ["Color"] = Color3.new(0.384314, 0.278431, 0.196078), |
333 | + | NEWMESH.Scale = SCALE |
334 | - | }) |
334 | + | NEWMESH.Parent = PARENT |
335 | - | o22 = Create("Part",{ |
335 | + | return NEWMESH |
336 | - | ["Name"] = "Smooth Block Model", |
336 | + | |
337 | - | ["Parent"] = o1, |
337 | + | |
338 | - | ["Material"] = Enum.Material.Wood, |
338 | + | function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE) |
339 | - | ["BrickColor"] = BrickColor.new("Earth orange"), |
339 | + | local NEWPART = IT("Part") |
340 | - | ["Position"] = Vector3.new(-0.5, 10.800024, 51.5), |
340 | + | NEWPART.formFactor = FORMFACTOR |
341 | - | ["Rotation"] = Vector3.new(-0, -90, 0), |
341 | + | NEWPART.Reflectance = REFLECTANCE |
342 | - | ["Anchored"] = true, |
342 | + | NEWPART.Transparency = TRANSPARENCY |
343 | - | ["CFrame"] = CFrame.new(-0.5, 10.800024, 51.5, 0, 0, -1, 0, 1, -0, 1, 0, -0), |
343 | + | NEWPART.CanCollide = false |
344 | - | ["Size"] = Vector3.new(1, 9.60000038, 1), |
344 | + | NEWPART.Locked = true |
345 | - | ["Color"] = Color3.new(0.384314, 0.278431, 0.196078), |
345 | + | NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR)) |
346 | - | }) |
346 | + | NEWPART.Name = NAME |
347 | - | o23 = Create("Part",{ |
347 | + | NEWPART.Size = SIZE |
348 | - | ["Name"] = "Smooth Block Model", |
348 | + | NEWPART.Position = Torso.Position |
349 | - | ["Parent"] = o1, |
349 | + | NEWPART.Material = MATERIAL |
350 | - | ["Material"] = Enum.Material.Wood, |
350 | + | NEWPART:BreakJoints() |
351 | - | ["BrickColor"] = BrickColor.new("Earth orange"), |
351 | + | NEWPART.Parent = PARENT |
352 | - | ["Position"] = Vector3.new(-0.5, 10.800024, 42.5), |
352 | + | return NEWPART |
353 | - | ["Rotation"] = Vector3.new(-0, -90, 0), |
353 | + | |
354 | - | ["Anchored"] = true, |
354 | + | |
355 | - | ["CFrame"] = CFrame.new(-0.5, 10.800024, 42.5, 0, 0, -1, 0, 1, -0, 1, 0, -0), |
355 | + | |
356 | - | ["Size"] = Vector3.new(1, 9.60000038, 1), |
356 | + | --//=================================\\ |
357 | - | ["Color"] = Color3.new(0.384314, 0.278431, 0.196078), |
357 | + | --|| CUSTOMIZATION |
358 | - | }) |
358 | + | --\\=================================// |
359 | - | o24 = Create("Part",{ |
359 | + | |
360 | - | ["Name"] = "Smooth Block Model", |
360 | + | Class_Name = "Template" |
361 | - | ["Parent"] = o1, |
361 | + | Weapon_Name = "Add-ons" |
362 | - | ["Material"] = Enum.Material.Wood, |
362 | + | |
363 | - | ["BrickColor"] = BrickColor.new("Earth orange"), |
363 | + | Custom_Colors = { |
364 | - | ["Position"] = Vector3.new(2.5, 7.20002079, 57.5), |
364 | + | Custom_Color_1 = BRICKC("Institutional white"); --1st color for the weapon. |
365 | - | ["CFrame"] = CFrame.new(2.5, 7.20002079, 57.5, 1, 0, 0, 0, 1, 0, 0, 0, 1), |
365 | + | Custom_Color_2 = BRICKC("Institutional white"); --2nd color for the weapon. |
366 | - | ["Size"] = Vector3.new(1, 2.4000001, 3), |
366 | + | |
367 | - | ["Color"] = Color3.new(0.384314, 0.278431, 0.196078), |
367 | + | Custom_Color_3 = BRICKC("Institutional white"); --Color for the abilities. |
368 | - | }) |
368 | + | Custom_Color_4 = BRICKC("Institutional white"); --Color for the secondary bar. |
369 | - | o25 = Create("Part",{ |
369 | + | Custom_Color_5 = BRICKC("Institutional white"); --Color for the mana bar. |
370 | - | ["Name"] = "gallowswitch2", |
370 | + | Custom_Color_6 = BRICKC("Institutional white"); --Color for the health bar. |
371 | - | ["Parent"] = o1, |
371 | + | Custom_Color_7 = BRICKC("Institutional white"); --Color for the stun bar. |
372 | - | ["Material"] = Enum.Material.Wood, |
372 | + | |
373 | - | ["BrickColor"] = BrickColor.new("Earth orange"), |
373 | + | Custom_Color_8 = BRICKC("Institutional white"); --Background for the mana bar. |
374 | - | ["Transparency"] = 1, |
374 | + | Custom_Color_9 = BRICKC("Institutional white"); --Background for the secondary mana bar. |
375 | - | ["Position"] = Vector3.new(1.5, 9.00002384, 57.5), |
375 | + | Custom_Color_10 = BRICKC("Institutional white"); --Background for the stun bar. |
376 | - | ["Rotation"] = Vector3.new(-0, -90, 0), |
376 | + | Custom_Color_11 = BRICKC("Institutional white"); --Background for the health bar. |
377 | - | ["Anchored"] = true, |
377 | + | Custom_Color_12 = BRICKC("Institutional white"); --Background for the abilities. |
378 | - | ["CFrame"] = CFrame.new(1.5, 9.00002384, 57.5, 0, 0, -1, 0, 1, -0, 1, 0, -0), |
378 | + | } |
379 | - | ["Size"] = Vector3.new(1, 6, 1), |
379 | + | |
380 | - | ["Color"] = Color3.new(0.384314, 0.278431, 0.196078), |
380 | + | |
381 | - | }) |
381 | + | Player_Size = 1 --Size of the player. |
382 | - | o26 = Create("Part",{ |
382 | + | Animation_Speed = 3 |
383 | - | ["Name"] = "rope", |
383 | + | Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60) |
384 | - | ["Parent"] = o1, |
384 | + | |
385 | - | ["BrickColor"] = BrickColor.new("Earth orange"), |
385 | + | local Speed = 16 |
386 | - | ["Position"] = Vector3.new(-0.5, 12.6000204, 46.5), |
386 | + | local Effects2 = {} |
387 | - | ["Rotation"] = Vector3.new(-0, -90, 0), |
387 | + | |
388 | - | ["RotVelocity"] = Vector3.new(9.29485318e-017, 7.26643592e-018, 9.29485318e-017), |
388 | + | --//=================================\\ |
389 | - | ["Velocity"] = Vector3.new(6.78266e-017, -0.644254982, 6.78266e-017), |
389 | + | --|| END OF CUSTOMIZATION |
390 | - | ["CFrame"] = CFrame.new(-0.5, 12.6000204, 46.5, 0, 0, -1, 0, 1, -0, 1, 0, -0), |
390 | + | --\\=================================// |
391 | - | ["Size"] = Vector3.new(1, 1.20000005, 1), |
391 | + | |
392 | - | ["BottomSurface"] = Enum.SurfaceType.Motor, |
392 | + | local function weldBetween(a, b) |
393 | - | ["TopSurface"] = Enum.SurfaceType.Motor, |
393 | + | local weldd = Instance.new("ManualWeld") |
394 | - | ["Color"] = Color3.new(0.384314, 0.278431, 0.196078), |
394 | + | weldd.Part0 = a |
395 | - | }) |
395 | + | weldd.Part1 = b |
396 | - | o27 = Create("SpecialMesh",{ |
396 | + | weldd.C0 = CFrame.new() |
397 | - | ["Parent"] = o26, |
397 | + | weldd.C1 = b.CFrame:inverse() * a.CFrame |
398 | - | ["MeshType"] = Enum.MeshType.Sphere, |
398 | + | weldd.Parent = a |
399 | - | }) |
399 | + | return weldd |
400 | - | o28 = Create("Part",{ |
400 | + | end |
401 | - | ["Name"] = "Smooth Block Model", |
401 | + | |
402 | - | ["Parent"] = o1, |
402 | + | function createaccessory(attachmentpart,mesh,texture,scale,offset,color) |
403 | - | ["Material"] = Enum.Material.Wood, |
403 | + | local acs = Instance.new("Part") |
404 | - | ["BrickColor"] = BrickColor.new("Earth orange"), |
404 | + | acs.CanCollide = false |
405 | - | ["Position"] = Vector3.new(-1, 5.40002203, 34), |
405 | + | acs.Anchored = false |
406 | - | ["Rotation"] = Vector3.new(-0, -90, 0), |
406 | + | acs.Size = Vector3.new(0,0,0) |
407 | - | ["Anchored"] = true, |
407 | + | acs.CFrame = attachmentpart.CFrame |
408 | - | ["CFrame"] = CFrame.new(-1, 5.40002203, 34, 0, 0, -1, 0, 1, -0, 1, 0, -0), |
408 | + | acs.Parent = Character |
409 | - | ["Size"] = Vector3.new(18, 1.20000005, 8), |
409 | + | acs.BrickColor = color |
410 | - | ["Color"] = Color3.new(0.384314, 0.278431, 0.196078), |
410 | + | local meshs = Instance.new("SpecialMesh") |
411 | - | }) |
411 | + | meshs.MeshId = mesh |
412 | - | o29 = Create("Part",{ |
412 | + | meshs.TextureId = texture |
413 | - | ["Name"] = "rope", |
413 | + | meshs.Parent = acs |
414 | - | ["Parent"] = o1, |
414 | + | meshs.Scale = scale |
415 | - | ["BrickColor"] = BrickColor.new("Earth orange"), |
415 | + | meshs.Offset = offset |
416 | - | ["Position"] = Vector3.new(-0.5, 13.8000278, 46.5), |
416 | + | weldBetween(attachmentpart,acs) |
417 | - | ["Rotation"] = Vector3.new(-0, -90, 0), |
417 | + | |
418 | - | ["RotVelocity"] = Vector3.new(9.29485318e-017, 5.65548431e-018, 9.29485318e-017), |
418 | + | |
419 | - | ["Velocity"] = Vector3.new(6.78266e-017, -0.42925173, 6.78266e-017), |
419 | + | function createbodypart(TYPE,COLOR,PART,OFFSET,SIZE) |
420 | - | ["CFrame"] = CFrame.new(-0.5, 13.8000278, 46.5, 0, 0, -1, 0, 1, -0, 1, 0, -0), |
420 | + | if TYPE == "Gem" then |
421 | - | ["Size"] = Vector3.new(1, 1.20000005, 1), |
421 | + | local acs = CreatePart(3, Character, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0)) |
422 | - | ["BottomSurface"] = Enum.SurfaceType.Motor, |
422 | + | acs.Anchored = false |
423 | - | ["TopSurface"] = Enum.SurfaceType.Motor, |
423 | + | acs.CanCollide = false |
424 | - | ["Color"] = Color3.new(0.384314, 0.278431, 0.196078), |
424 | + | acs.CFrame = PART.CFrame |
425 | - | }) |
425 | + | local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "1", "", SIZE, OFFSET) |
426 | - | o30 = Create("SpecialMesh",{ |
426 | + | weldBetween(PART,acs) |
427 | - | ["Parent"] = o29, |
427 | + | elseif TYPE == "Skull" then |
428 | - | ["MeshType"] = Enum.MeshType.Sphere, |
428 | + | local acs = CreatePart(3, Character, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0)) |
429 | - | }) |
429 | + | acs.Anchored = false |
430 | - | o31 = Create("Part",{ |
430 | + | acs.CanCollide = false |
431 | - | ["Name"] = "Smooth Block Model", |
431 | + | acs.CFrame = PART.CFrame |
432 | - | ["Parent"] = o1, |
432 | + | local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "1", "", SIZE, OFFSET) |
433 | - | ["Material"] = Enum.Material.Wood, |
433 | + | weldBetween(PART,acs) |
434 | - | ["BrickColor"] = BrickColor.new("Earth orange"), |
434 | + | elseif TYPE == "Eye" then |
435 | - | ["Position"] = Vector3.new(-24, 0.600031018, 33), |
435 | + | local acs = CreatePart(3, Character, "Neon", 0, 0, COLOR, "Part", VT(0,0,0)) |
436 | - | ["Anchored"] = true, |
436 | + | acs.Anchored = false |
437 | - | ["CFrame"] = CFrame.new(-24, 0.600031018, 33, 1, 0, 0, 0, 1, 0, 0, 0, 1), |
437 | + | acs.CanCollide = false |
438 | - | ["Size"] = Vector3.new(2, 1.20000005, 8), |
438 | + | acs.CFrame = PART.CFrame |
439 | - | ["Color"] = Color3.new(0.384314, 0.278431, 0.196078), |
439 | + | local acs2 = CreateMesh("SpecialMesh", acs, "Sphere", "", "", SIZE, OFFSET) |
440 | - | }) |
440 | + | weldBetween(PART,acs) |
441 | - | o32 = Create("Part",{ |
441 | + | |
442 | - | ["Name"] = "Smooth Block Model", |
442 | + | |
443 | - | ["Parent"] = o1, |
443 | + | |
444 | - | ["Material"] = Enum.Material.Wood, |
444 | + | --//=================================\\ |
445 | - | ["BrickColor"] = BrickColor.new("Earth orange"), |
445 | + | --|| USEFUL VALUES |
446 | - | ["Position"] = Vector3.new(-22, 1.20002401, 33), |
446 | + | --\\=================================// |
447 | - | ["Anchored"] = true, |
447 | + | |
448 | - | ["CFrame"] = CFrame.new(-22, 1.20002401, 33, 1, 0, 0, 0, 1, 0, 0, 0, 1), |
448 | + | local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) |
449 | - | ["Size"] = Vector3.new(2, 2.4000001, 8), |
449 | + | local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) |
450 | - | ["Color"] = Color3.new(0.384314, 0.278431, 0.196078), |
450 | + | local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) |
451 | - | }) |
451 | + | local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) |
452 | - | o33 = Create("Part",{ |
452 | + | local CO1 = 0 |
453 | - | ["Name"] = "Smooth Block Model", |
453 | + | local CO2 = 0 |
454 | - | ["Parent"] = o1, |
454 | + | local CO3 = 0 |
455 | - | ["Material"] = Enum.Material.Wood, |
455 | + | local CO4 = 0 |
456 | - | ["BrickColor"] = BrickColor.new("Earth orange"), |
456 | + | local CHANGEDEFENSE = 0 |
457 | - | ["Position"] = Vector3.new(-16, 3.00002789, 33), |
457 | + | local CHANGEDAMAGE = 0 |
458 | - | ["Anchored"] = true, |
458 | + | local CHANGEMOVEMENT = 0 |
459 | - | ["CFrame"] = CFrame.new(-16, 3.00002789, 33, 1, 0, 0, 0, 1, 0, 0, 0, 1), |
459 | + | local ANIM = "Idle" |
460 | - | ["Size"] = Vector3.new(2, 6, 8), |
460 | + | local ATTACK = false |
461 | - | ["Color"] = Color3.new(0.384314, 0.278431, 0.196078), |
461 | + | local EQUIPPED = false |
462 | - | }) |
462 | + | local HOLD = false |
463 | - | o34 = Create("Part",{ |
463 | + | local COMBO = 1 |
464 | - | ["Name"] = "Smooth Block Model", |
464 | + | local LASTPOINT = nil |
465 | - | ["Parent"] = o1, |
465 | + | local BLCF = nil |
466 | - | ["Material"] = Enum.Material.Wood, |
466 | + | local SCFR = nil |
467 | - | ["BrickColor"] = BrickColor.new("Earth orange"), |
467 | + | local STAGGERHITANIM = false |
468 | - | ["Position"] = Vector3.new(-18, 2.40002704, 33), |
468 | + | local STAGGERANIM = false |
469 | - | ["Anchored"] = true, |
469 | + | local STUNANIM = false |
470 | - | ["CFrame"] = CFrame.new(-18, 2.40002704, 33, 1, 0, 0, 0, 1, 0, 0, 0, 1), |
470 | + | local CRITCHANCENUMBER = 0 |
471 | - | ["Size"] = Vector3.new(2, 4.80000019, 8), |
471 | + | local IDLENUMBER = 0 |
472 | - | ["Color"] = Color3.new(0.384314, 0.278431, 0.196078), |
472 | + | local DONUMBER = 0 |
473 | - | }) |
473 | + | local HANDIDLE = false |
474 | - | o35 = Create("Part",{ |
474 | + | local SINE = 0 |
475 | - | ["Name"] = "Smooth Block Model", |
475 | + | local CHANGE = 2 / Animation_Speed |
476 | - | ["Parent"] = o1, |
476 | + | local WALKINGANIM = false |
477 | - | ["Material"] = Enum.Material.Wood, |
477 | + | local WALK = 0 |
478 | - | ["BrickColor"] = BrickColor.new("Earth orange"), |
478 | + | local DISABLEJUMPING = false |
479 | - | ["Position"] = Vector3.new(-20, 1.80002904, 33), |
479 | + | local HASBEENBLOCKED = false |
480 | - | ["Anchored"] = true, |
480 | + | local STUNDELAYNUMBER = 0 |
481 | - | ["CFrame"] = CFrame.new(-20, 1.80002904, 33, 1, 0, 0, 0, 1, 0, 0, 0, 1), |
481 | + | local MANADELAYNUMBER = 0 |
482 | - | ["Size"] = Vector3.new(2, 3.60000014, 8), |
482 | + | local SECONDARYMANADELAYNUMBER = 0 |
483 | - | ["Color"] = Color3.new(0.384314, 0.278431, 0.196078), |
483 | + | local ROBLOXIDLEANIMATION = IT("Animation") |
484 | - | }) |
484 | + | ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation" |
485 | - | o36 = Create("Part",{ |
485 | + | ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571" |
486 | - | ["Name"] = "rope", |
486 | + | --ROBLOXIDLEANIMATION.Parent = Humanoid |
487 | - | ["Parent"] = o1, |
487 | + | local WEAPONGUI = IT("ScreenGui", nil) |
488 | - | ["BrickColor"] = BrickColor.new("Earth orange"), |
488 | + | WEAPONGUI.Name = "Weapon GUI" |
489 | - | ["Position"] = Vector3.new(-0.5, 15.0000238, 46.5), |
489 | + | local WEAPONTOOL = IT("HopperBin", nil) |
490 | - | ["Rotation"] = Vector3.new(-0, -90, 0), |
490 | + | WEAPONTOOL.Name = Weapon_Name |
491 | - | ["RotVelocity"] = Vector3.new(9.29485318e-017, 3.22718457e-018, 9.29485318e-017), |
491 | + | local Weapon = IT("Model") |
492 | - | ["Velocity"] = Vector3.new(6.78266e-017, -0.210931048, 6.78266e-017), |
492 | + | Weapon.Name = Weapon_Name |
493 | - | ["CFrame"] = CFrame.new(-0.5, 15.0000238, 46.5, 0, 0, -1, 0, 1, -0, 1, 0, -0), |
493 | + | local Effects = IT("Folder", Weapon) |
494 | - | ["Size"] = Vector3.new(1, 1.20000005, 1), |
494 | + | Effects.Name = "Effects" |
495 | - | ["BottomSurface"] = Enum.SurfaceType.Motor, |
495 | + | local ANIMATOR = Humanoid.Animator |
496 | - | ["TopSurface"] = Enum.SurfaceType.Motor, |
496 | + | local ANIMATE = Character.Animate |
497 | - | ["Color"] = Color3.new(0.384314, 0.278431, 0.196078), |
497 | + | local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"} |
498 | - | }) |
498 | + | local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"} |
499 | - | o37 = Create("SpecialMesh",{ |
499 | + | local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"} |
500 | - | ["Parent"] = o36, |
500 | + | local HITBLOCKSOUNDS = {"199148933", "199148947"} |
501 | - | ["MeshType"] = Enum.MeshType.Sphere, |
501 | + | local UNANCHOR = true |
502 | - | }) |
502 | + | local MAGICPARTICLE = "655109389" |
503 | - | o38 = Create("Part",{ |
503 | + | |
504 | - | ["Name"] = "Smooth Block Model", |
504 | + | --//=================================\\ |
505 | - | ["Parent"] = o1, |
505 | + | --\\=================================// |
506 | - | ["Material"] = Enum.Material.Wood, |
506 | + | |
507 | - | ["BrickColor"] = BrickColor.new("Earth orange"), |
507 | + | |
508 | - | ["Position"] = Vector3.new(3.5, 2.40002704, 25.5), |
508 | + | --//=================================\\ |
509 | - | ["Rotation"] = Vector3.new(-0, -90, 0), |
509 | + | --|| DEBUFFS / BUFFS |
510 | - | ["Anchored"] = true, |
510 | + | --\\=================================// |
511 | - | ["CFrame"] = CFrame.new(3.5, 2.40002704, 25.5, 0, 0, -1, 0, 1, -0, 1, 0, -0), |
511 | + | |
512 | - | ["Size"] = Vector3.new(1, 4.80000019, 1), |
512 | + | local DEFENSECHANGE1 = IT("NumberValue", ChangeStat) |
513 | - | ["Color"] = Color3.new(0.384314, 0.278431, 0.196078), |
513 | + | DEFENSECHANGE1.Name = "ChangeDefense" |
514 | - | }) |
514 | + | DEFENSECHANGE1.Value = 0 |
515 | - | o39 = Create("Part",{ |
515 | + | |
516 | - | ["Name"] = "Smooth Block Model", |
516 | + | local MOVEMENTCHANGE1 = IT("NumberValue", nil) |
517 | - | ["Parent"] = o1, |
517 | + | MOVEMENTCHANGE1.Name = "ChangeMovement" |
518 | - | ["Material"] = Enum.Material.Wood, |
518 | + | MOVEMENTCHANGE1.Value = 0 |
519 | - | ["BrickColor"] = BrickColor.new("Earth orange"), |
519 | + | |
520 | - | ["Position"] = Vector3.new(-0.5, 16.2000294, 47), |
520 | + | --//=================================\\ |
521 | - | ["Rotation"] = Vector3.new(-0, -90, 0), |
521 | + | --\\=================================// |
522 | - | ["Anchored"] = true, |
522 | + | |
523 | - | ["CFrame"] = CFrame.new(-0.5, 16.2000294, 47, 0, 0, -1, 0, 1, -0, 1, 0, -0), |
523 | + | |
524 | - | ["Size"] = Vector3.new(10, 1.20000005, 1), |
524 | + | |
525 | - | ["Color"] = Color3.new(0.384314, 0.278431, 0.196078), |
525 | + | |
526 | - | }) |
526 | + | |
527 | - | o40 = Create("Part",{ |
527 | + | --//=================================\\ |
528 | - | ["Name"] = "Smooth Block Model", |
528 | + | --|| SAZERENOS' ARTIFICIAL HEARTBEAT |
529 | - | ["Parent"] = o1, |
529 | + | --\\=================================// |
530 | - | ["Material"] = Enum.Material.Wood, |
530 | + | |
531 | - | ["BrickColor"] = BrickColor.new("Earth orange"), |
531 | + | ArtificialHB = Instance.new("BindableEvent", script) |
532 | - | ["Position"] = Vector3.new(-5.5, 2.40002704, 25.5), |
532 | + | ArtificialHB.Name = "ArtificialHB" |
533 | - | ["Rotation"] = Vector3.new(-0, -90, 0), |
533 | + | |
534 | - | ["Anchored"] = true, |
534 | + | script:WaitForChild("ArtificialHB") |
535 | - | ["CFrame"] = CFrame.new(-5.5, 2.40002704, 25.5, 0, 0, -1, 0, 1, -0, 1, 0, -0), |
535 | + | |
536 | - | ["Size"] = Vector3.new(1, 4.80000019, 1), |
536 | + | frame = Frame_Speed |
537 | - | ["Color"] = Color3.new(0.384314, 0.278431, 0.196078), |
537 | + | tf = 0 |
538 | - | }) |
538 | + | allowframeloss = false |
539 | - | o41 = Create("Part",{ |
539 | + | tossremainder = false |
540 | - | ["Name"] = "Smooth Block Model", |
540 | + | lastframe = tick() |
541 | - | ["Parent"] = o1, |
541 | + | script.ArtificialHB:Fire() |
542 | - | ["Material"] = Enum.Material.Wood, |
542 | + | |
543 | - | ["BrickColor"] = BrickColor.new("Earth orange"), |
543 | + | game:GetService("RunService").Heartbeat:connect(function(s, p) |
544 | - | ["Position"] = Vector3.new(-14.5, 2.40002704, 25.5), |
544 | + | tf = tf + s |
545 | - | ["Rotation"] = Vector3.new(-0, -90, 0), |
545 | + | if tf >= frame then |
546 | - | ["Anchored"] = true, |
546 | + | if allowframeloss then |
547 | - | ["CFrame"] = CFrame.new(-14.5, 2.40002704, 25.5, 0, 0, -1, 0, 1, -0, 1, 0, -0), |
547 | + | script.ArtificialHB:Fire() |
548 | - | ["Size"] = Vector3.new(1, 4.80000019, 1), |
548 | + | lastframe = tick() |
549 | - | ["Color"] = Color3.new(0.384314, 0.278431, 0.196078), |
549 | + | else |
550 | - | }) |
550 | + | for i = 1, math.floor(tf / frame) do |
551 | - | o42 = Create("Part",{ |
551 | + | script.ArtificialHB:Fire() |
552 | - | ["Name"] = "hanger", |
552 | + | end |
553 | - | ["Parent"] = o1, |
553 | + | lastframe = tick() |
554 | - | ["BrickColor"] = BrickColor.new("Reddish brown"), |
554 | + | end |
555 | - | ["Position"] = Vector3.new(-0.5, 11.4000158, 46.5), |
555 | + | if tossremainder then |
556 | - | ["Rotation"] = Vector3.new(-0, -90, 0), |
556 | + | tf = 0 |
557 | - | ["RotVelocity"] = Vector3.new(9.29485318e-017, 8.0695067e-018, 9.29485318e-017), |
557 | + | else |
558 | - | ["Velocity"] = Vector3.new(6.78266e-017, -0.611982644, 6.78266e-017), |
558 | + | tf = tf - frame * math.floor(tf / frame) |
559 | - | ["CFrame"] = CFrame.new(-0.5, 11.4000158, 46.5, 0, 0, -1, 0, 1, -0, 1, 0, -0), |
559 | + | end |
560 | - | ["Size"] = Vector3.new(1, 1.20000005, 1), |
560 | + | end |
561 | - | ["BottomSurface"] = Enum.SurfaceType.Smooth, |
561 | + | end) |
562 | - | ["TopSurface"] = Enum.SurfaceType.Smooth, |
562 | + | |
563 | - | ["Color"] = Color3.new(0.411765, 0.25098, 0.156863), |
563 | + | --//=================================\\ |
564 | - | }) |
564 | + | --\\=================================// |
565 | - | o43 = Create("SpecialMesh",{ |
565 | + | |
566 | - | ["Parent"] = o42, |
566 | + | |
567 | - | ["MeshId"] = "http://www.roblox.com/asset/?id=3270017", |
567 | + | |
568 | - | ["Scale"] = Vector3.new(2, 2, 1), |
568 | + | |
569 | - | ["MeshType"] = Enum.MeshType.FileMesh, |
569 | + | |
570 | - | }) |
570 | + | --//=================================\\ |
571 | --|| SOME FUNCTIONS | |
572 | - | mas.Parent = workspace |
572 | + | --\\=================================// |
573 | - | mas:MakeJoints() |
573 | + | |
574 | function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS) | |
575 | - | local mas1 = mas:GetChildren() |
575 | + | return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS) |
576 | end | |
577 | - | for i=1,#mas1 do |
577 | + | |
578 | - | mas1[i].Parent = workspace |
578 | + | function PositiveAngle(NUMBER) |
579 | - | ypcall(function() mas1[i]:MakeJoints() end) |
579 | + | if NUMBER >= 0 then |
580 | NUMBER = 0 | |
581 | end | |
582 | - | mas:Destroy() |
582 | + | return NUMBER |
583 | end | |
584 | - | for i=1,#cors do |
584 | + | |
585 | - | coroutine.resume(cors[i]) |
585 | + | function NegativeAngle(NUMBER) |
586 | if NUMBER <= 0 then | |
587 | NUMBER = 0 | |
588 | - | model = o1 |
588 | + | end |
589 | - | switch = model.gallowswitch |
589 | + | return NUMBER |
590 | - | backup = model:Clone() --kek |
590 | + | |
591 | ||
592 | - | function onClick() |
592 | + | function Swait(NUMBER) |
593 | - | model.trap.Anchored = false |
593 | + | if NUMBER == 0 or NUMBER == nil then |
594 | - | c = game.Workspace:GetChildren() |
594 | + | ArtificialHB.Event:wait() |
595 | - | switch.Transparency = 1 |
595 | + | else |
596 | - | model.gallowswitch2.Transparency = 0 |
596 | + | for i = 1, NUMBER do |
597 | - | for i = 1, #c do |
597 | + | ArtificialHB.Event:wait() |
598 | - | if c[i].Name == "Help!" then |
598 | + | end |
599 | - | w = Instance.new("Weld") |
599 | + | end |
600 | - | c[i].Humanoid.Health = 0 |
600 | + | |
601 | - | wait(.01) |
601 | + | |
602 | - | w.Parent = c[i].Head |
602 | + | function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME) |
603 | - | w.Part0 = w.Parent |
603 | + | local label = IT("TextLabel") |
604 | - | w.Part1 = c[i].Torso |
604 | + | label.BackgroundTransparency = 1 |
605 | - | w.C1 = CFrame.new(0,1.5,0) |
605 | + | label.Size = UD2(1, 0, 1, 0) |
606 | - | w1 = Instance.new("Weld") |
606 | + | label.Position = UD2(0, 0, 0, 0) |
607 | - | w1.Parent = c[i].Torso |
607 | + | label.TextColor3 = C3(255, 255, 255) |
608 | - | w1.Part0 = w1.Parent |
608 | + | label.TextStrokeTransparency = STROKETRANSPARENCY |
609 | - | w1.Part1 = c[i]["Right Arm"] |
609 | + | label.TextTransparency = TRANSPARENCY |
610 | - | w1.C1 = CFrame.new(1.5,0,0) |
610 | + | label.FontSize = TEXTFONTSIZE |
611 | - | w2 = Instance.new("Weld") |
611 | + | label.Font = TEXTFONT |
612 | - | w2.Parent = c[i].Torso |
612 | + | label.BorderSizePixel = BORDERSIZEPIXEL |
613 | - | w2.Part0 = w2.Parent |
613 | + | label.TextScaled = true |
614 | - | w2.Part1 = c[i]["Left Arm"] |
614 | + | label.Text = TEXT |
615 | - | w2.C1 = CFrame.new(-1.5,0,0) |
615 | + | label.Name = NAME |
616 | - | w3 = Instance.new("Weld") |
616 | + | label.Parent = PARENT |
617 | - | w3.Parent = c[i].Torso |
617 | + | return label |
618 | - | w3.Part0 = w3.Parent |
618 | + | |
619 | - | w3.Part1 = c[i]["Left Leg"] |
619 | + | |
620 | - | w3.C1 = CFrame.new(-.5,2,0) |
620 | + | function NoOutlines(PART) |
621 | - | w4 = Instance.new("Weld") |
621 | + | PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10 |
622 | - | w4.Parent = c[i].Torso |
622 | + | |
623 | - | w4.Part0 = w4.Parent |
623 | + | |
624 | - | w4.Part1 = c[i]["Right Leg"] |
624 | + | |
625 | - | w4.C1 = CFrame.new(.5,2,0) |
625 | + | function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1) |
626 | - | end |
626 | + | local NEWWELD = IT(TYPE) |
627 | - | end |
627 | + | NEWWELD.Part0 = PART0 |
628 | - | Victim.Character.Humanoid.Health = 0 |
628 | + | NEWWELD.Part1 = PART1 |
629 | - | wait(1) |
629 | + | NEWWELD.C0 = C0 |
630 | - | switch.Transparency = 0 |
630 | + | NEWWELD.C1 = C1 |
631 | - | model.gallowswitch2.Transparency = 1 |
631 | + | NEWWELD.Parent = PARENT |
632 | - | wait(4) |
632 | + | return NEWWELD |
633 | - | model:remove() |
633 | + | |
634 | - | backup.Parent = game.Workspace |
634 | + | |
635 | - | backup:makeJoints() |
635 | + | function CreateSound(ID, PARENT, VOLUME, PITCH) |
636 | - | wait(5) |
636 | + | local NEWSOUND = nil |
637 | - | game.Workspace.Gallows:Destroy() |
637 | + | coroutine.resume(coroutine.create(function() |
638 | NEWSOUND = IT("Sound", PARENT) | |
639 | NEWSOUND.Volume = VOLUME | |
640 | - | Instance.new("ClickDetector", switch) |
640 | + | NEWSOUND.Pitch = PITCH |
641 | NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID | |
642 | - | connection = switch.ClickDetector.MouseClick:connect(onClick) |
642 | + | Swait() |
643 | - | b = model.welder |
643 | + | NEWSOUND:play() |
644 | game:GetService("Debris"):AddItem(NEWSOUND, 10) | |
645 | - | function onTouched(part) |
645 | + | end)) |
646 | - | if part.Parent.Humanoid ~= nil then |
646 | + | return NEWSOUND |
647 | - | w = Instance.new("Weld") |
647 | + | |
648 | - | w.Parent = part.Parent.Head |
648 | + | |
649 | - | w.Part0 = w.Parent |
649 | + | --//=================================\\ |
650 | - | w.Part1 = model.hanger |
650 | + | --\\=================================// |
651 | - | Victim.Character.Name = "N1gger" |
651 | + | |
652 | - | end |
652 | + | |
653 | --//=================================\\ | |
654 | --|| WEAPON CREATION | |
655 | - | connection = b.Touched:connect(onTouched) |
655 | + | --\\=================================// |
656 | ||
657 | - | game.Workspace.Gallows:MoveTo(game.Players.LocalPlayer.Character.Torso.Position + game.Players.LocalPlayer.Character.Torso.CFrame.lookVector* 30) |
657 | + | if Player_Size ~= 1 then |
658 | - | wait(0.2) |
658 | + | for _, v in pairs (Weapon:GetChildren()) do |
659 | - | KlanLeader.Character.HumanoidRootPart.CFrame = game.Workspace.Gallows.gallowswitch2.CFrame |
659 | + | if v.ClassName == "Motor" or v.ClassName == "Weld" or v.ClassName == "Snap" then |
660 | - | wait(0.5) |
660 | + | local p1 = v.Part1 |
661 | - | Victim.Character.HumanoidRootPart.CFrame = game.Workspace.Gallows.hanger.CFrame |
661 | + | v.Part1 = nil |
662 | - | wait(20) |
662 | + | local cf1, cf2, cf3, cf4, cf5, cf6, cf7, cf8, cf9, cf10, cf11, cf12 = v.C1:components() |
663 | - | kekkk:Destroy() |
663 | + | v.C1 = CF(cf1 * Player_Size, cf2 * Player_Size, cf3 * Player_Size, cf4, cf5, cf6, cf7, cf8, cf9, cf10, cf11, cf12) |
664 | v.Part1 = p1 | |
665 | elseif v.ClassName == "Part" then | |
666 | for _, b in pairs (v:GetChildren()) do | |
667 | if b.ClassName == "SpecialMesh" or b.ClassName == "BlockMesh" then | |
668 | b.Scale = VT(b.Scale.x * Player_Size, b.Scale.y * Player_Size, b.Scale.z * Player_Size) | |
669 | end | |
670 | end | |
671 | end | |
672 | end | |
673 | end | |
674 | ||
675 | for _, c in pairs(Weapon:GetChildren()) do | |
676 | if c.ClassName == "Part" then | |
677 | c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0) | |
678 | end | |
679 | end | |
680 | ||
681 | Weapon.Parent = Character | |
682 | ||
683 | Humanoid.Died:connect(function() | |
684 | ATTACK = true | |
685 | end) | |
686 | ||
687 | print(Class_Name.." loaded.") | |
688 | ||
689 | --//=================================\\ | |
690 | --\\=================================// | |
691 | ||
692 | ||
693 | local backpack = IT("Part",Weapon) | |
694 | backpack.Size = VT(0.15,0.15,0.15) | |
695 | local mesh = IT("SpecialMesh",backpack) | |
696 | mesh.MeshId = "rbxassetid://84313478" | |
697 | mesh.TextureId = "http://www.roblox.com/asset/?id=1557654670" | |
698 | backpack.CFrame = Torso.CFrame * CF(0,0.2,1) | |
699 | backpack.BrickColor = BRICKC("Black") | |
700 | weldBetween(Torso,backpack) | |
701 | ||
702 | local hose = IT("Part",Weapon) | |
703 | hose.Size = VT(0.15,0.15,0.15) | |
704 | local mesh = IT("SpecialMesh",hose) | |
705 | mesh.MeshId = "http://www.roblox.com/asset/?id=84313555" | |
706 | mesh.TextureId = "http://www.roblox.com/asset/?id=1557654670" | |
707 | mesh.Scale = VT(2,2,2) | |
708 | mesh.Offset = VT(0, -0.4, -0.7) | |
709 | hose.CFrame = Torso.CFrame * CF(1.5,0.5,0.2) * ANGLES(RAD(90),RAD(35),RAD(180)) | |
710 | hose.BrickColor = BRICKC("Black") | |
711 | weldBetween(Torso,hose) | |
712 | ||
713 | local succ = IT("Part",Weapon) | |
714 | succ.Size = VT(2,2,2) | |
715 | succ.CanCollide = false | |
716 | succ.CFrame = Torso.CFrame * CF(1.5,1.3,-4) * ANGLES(RAD(90),RAD(0),RAD(180)) | |
717 | succ.Transparency = 1 | |
718 | succ.BrickColor = BRICKC("Black") | |
719 | weldBetween(Torso,succ) | |
720 | ||
721 | for _, c in pairs(Weapon:GetChildren()) do | |
722 | if c.ClassName == "Part" then | |
723 | c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0) | |
724 | end | |
725 | end | |
726 | ||
727 | local EyeSizes={ | |
728 | NumberSequenceKeypoint.new(0,0.5,0), | |
729 | NumberSequenceKeypoint.new(1,0.2,0) | |
730 | } | |
731 | local EyeTrans={ | |
732 | NumberSequenceKeypoint.new(0,0,0), | |
733 | NumberSequenceKeypoint.new(1,1,0) | |
734 | } | |
735 | local PE=Instance.new("ParticleEmitter") | |
736 | PE.LightEmission=0.3 | |
737 | PE.Size=NumberSequence.new(EyeSizes) | |
738 | PE.Transparency=NumberSequence.new(EyeTrans) | |
739 | PE.Rotation=NumberRange.new(0,360) | |
740 | PE.LockedToPart = false | |
741 | PE.Speed = NumberRange.new(0,0,0) | |
742 | PE.ZOffset = 0.3 | |
743 | PE.Rate = 999 | |
744 | PE.VelocitySpread = 25 | |
745 | PE.Name = "Particles" | |
746 | ||
747 | function CreateParticles(art,accel,drag,lifetime,type,isenabledbydefault,locked,size,speed) | |
748 | local particle = nil | |
749 | coroutine.resume(coroutine.create(function(PART) | |
750 | particle = PE:Clone() | |
751 | Swait() | |
752 | particle.Rate = 999 | |
753 | particle.Parent = art | |
754 | particle.Acceleration = accel | |
755 | if type == "Fire" then | |
756 | local EyeSizes={ | |
757 | NumberSequenceKeypoint.new(0,size,size/2), | |
758 | NumberSequenceKeypoint.new(1,size/4,size/8) | |
759 | } | |
760 | particle.Size = NumberSequence.new(EyeSizes) | |
761 | elseif type == "Smoke" then | |
762 | local EyeSizes={ | |
763 | NumberSequenceKeypoint.new(0,size/5,0), | |
764 | NumberSequenceKeypoint.new(1,size*2,0.5) | |
765 | } | |
766 | particle.Size = NumberSequence.new(EyeSizes) | |
767 | elseif type == "Solid" then | |
768 | local EyeSizes={ | |
769 | NumberSequenceKeypoint.new(0,size,0), | |
770 | NumberSequenceKeypoint.new(1,size,0) | |
771 | } | |
772 | particle.Size = NumberSequence.new(EyeSizes) | |
773 | end | |
774 | particle.Lifetime=NumberRange.new(lifetime) | |
775 | particle.Drag = drag | |
776 | if locked == true then | |
777 | particle.LockedToPart = true | |
778 | end | |
779 | particle.Speed = NumberRange.new(speed*0.8,speed) | |
780 | particle.Texture = "http://www.roblox.com/asset/?id=1179557490" | |
781 | particle.Enabled = isenabledbydefault | |
782 | particle.Color = ColorSequence.new(Color3.new(255/255, 176/255, 0)) | |
783 | end)) | |
784 | return particle | |
785 | end | |
786 | ||
787 | local poop = CreateParticles(succ,VT(0,0,0),5,2,"Smoke",false,false,5,35) | |
788 | local poop2 = CreateParticles(succ,VT(0,0,0),5,1,"Smoke",false,false,2,15) | |
789 | ||
790 | --//=================================\\ | |
791 | --|| DAMAGING | |
792 | --\\=================================// | |
793 | ||
794 | function succnearest(position,range) | |
795 | for i,v in ipairs(workspace:GetChildren()) do | |
796 | local body = v:GetChildren() | |
797 | for part = 1, #body do | |
798 | if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then | |
799 | if(body[part].Position - position).Magnitude < range then | |
800 | local bv = Instance.new("BodyVelocity") | |
801 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
802 | bv.velocity = CF(body[part].Position,succ.Position).lookVector*80 | |
803 | bv.Parent = body[part] | |
804 | bv.Name = "SUCC" | |
805 | game:GetService("Debris"):AddItem(bv, 0.1) | |
806 | end | |
807 | end | |
808 | end | |
809 | if v.ClassName == "Part" then | |
810 | if v.Anchored == false and (v.Position - position).Magnitude < range then | |
811 | local bv = Instance.new("BodyVelocity") | |
812 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
813 | bv.velocity = CF(v.Position,succ.Position).lookVector*80 | |
814 | bv.Parent = v | |
815 | bv.Name = "SUCC" | |
816 | game:GetService("Debris"):AddItem(bv, 0.1) | |
817 | end | |
818 | end | |
819 | end | |
820 | end | |
821 | ||
822 | function cover(position,range) | |
823 | for i,v in ipairs(workspace:GetChildren()) do | |
824 | local body = v:GetChildren() | |
825 | for part = 1, #body do | |
826 | if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then | |
827 | if(body[part].Position - position).Magnitude < range then | |
828 | CreateParticles(body[part],VT(0,-2,0),5,1,"Smoke",true,false,0.3,0) | |
829 | if v:FindFirstChild("Humanoid") then | |
830 | v.Humanoid.PlatformStand = true | |
831 | end | |
832 | end | |
833 | end | |
834 | end | |
835 | if v.ClassName == "Part" then | |
836 | if v.Anchored == false and (v.Position - position).Magnitude < range then | |
837 | CreateParticles(v,VT(0,-2,0),5,1,"Smoke",true,false,0.3,0) | |
838 | end | |
839 | end | |
840 | end | |
841 | end | |
842 | ||
843 | function cough() | |
844 | CreateSound("328460122", succ, 3, 1) | |
845 | poop.VelocitySpread = 25 | |
846 | poop:Emit(150) | |
847 | cover(CF(succ.Position)*CF(0,0,-1).p,15) | |
848 | end | |
849 | ||
850 | --//=================================\\ | |
851 | --|| ATTACK FUNCTIONS AND STUFF | |
852 | --\\=================================// | |
853 | ||
854 | function CheckTableForString(Table, String) | |
855 | for i, v in pairs(Table) do | |
856 | if string.find(string.lower(String), string.lower(v)) then | |
857 | return true | |
858 | end | |
859 | end | |
860 | return false | |
861 | end | |
862 | ||
863 | function CheckIntangible(Hit) | |
864 | local ProjectileNames = {"Water", "Arrow", "Projectile", "Effect", "Rail", "Lightning", "Bullet"} | |
865 | if Hit and Hit.Parent then | |
866 | if ((not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid")) then | |
867 | return true | |
868 | end | |
869 | end | |
870 | return false | |
871 | end | |
872 | ||
873 | Debris = game:GetService("Debris") | |
874 | ||
875 | function CastRay(StartPos, Vec, Length, Ignore, DelayIfHit) | |
876 | local Direction = CFrame.new(StartPos, Vec).lookVector | |
877 | local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore}) | |
878 | local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore) | |
879 | if RayHit and CheckIntangible(RayHit) then | |
880 | if DelayIfHit then | |
881 | wait() | |
882 | end | |
883 | RayHit, RayPos, RayNormal = CastRay((RayPos + (Vec * 0.01)), Vec, (Length - ((StartPos - RayPos).magnitude)), Ignore, DelayIfHit) | |
884 | end | |
885 | return RayHit, RayPos, RayNormal | |
886 | end | |
887 | ||
888 | function turnto(pos,part) | |
889 | part.CFrame = CF(part.Position,VT(pos.X,RootPart.Position.Y,pos.Z)) | |
890 | end | |
891 | ||
892 | function vacuum() | |
893 | sick:Play() | |
894 | local nado = IT("Part") | |
895 | local mesh = IT("SpecialMesh",nado) | |
896 | mesh.MeshId = "http://www.roblox.com/asset/?id=102638417" | |
897 | nado.Transparency = 0.5 | |
898 | nado.CanCollide = false | |
899 | nado.Anchored = true | |
900 | local loop = 0 | |
901 | succing = {} | |
902 | local harm = succ.Touched:Connect(function(hit) | |
903 | if hit.Anchored == false then | |
904 | hit:remove() | |
905 | CreateSound("892233254", succ, 3, 1) | |
906 | poop2:Emit(1) | |
907 | end | |
908 | end) | |
909 | repeat | |
910 | Swait() | |
911 | loop = loop + 75 | |
912 | nado.Parent = Effects | |
913 | local RayHit,RayPos = CastRay(succ.Position, Mouse.Hit.p, 1000, Character, false) | |
914 | local distance = (succ.Position - RayPos).magnitude | |
915 | mesh.Scale = VT(distance/12,distance/3.2,distance/12) | |
916 | nado.CFrame = CFrame.new(succ.Position, RayPos) * CFrame.new(0, 0, -distance/2) * ANGLES(RAD(-90),RAD(loop),RAD(0)) | |
917 | turnto(Mouse.Hit.p,RootPart) | |
918 | succnearest(RayPos,distance/2.5) | |
919 | if RayHit ~= nil then | |
920 | if RayHit.Anchored == false then | |
921 | local bv = Instance.new("BodyVelocity") | |
922 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
923 | bv.velocity = CF(RayHit.Position,succ.Position).lookVector*80 | |
924 | bv.Parent = RayHit | |
925 | bv.Name = "SUCC" | |
926 | game:GetService("Debris"):AddItem(bv, 0.1) | |
927 | end | |
928 | end | |
929 | local TotalSuccs = math.ceil(distance / 65) | |
930 | local Direction = CFrame.new(RayPos, succ.Position).lookVector | |
931 | for i = 1, TotalSuccs do | |
932 | local NewPos = (RayPos + (Direction * (distance * (i / TotalSuccs)))) | |
933 | succnearest(NewPos,distance/(i*2.5)) | |
934 | end | |
935 | until HOLD == false | |
936 | if #succing>0 then | |
937 | for e=1,#succing do | |
938 | if succing[e]~=nil then | |
939 | local Thing=succing[e] | |
940 | Thing:remove() | |
941 | table.remove(succing,e) | |
942 | end | |
943 | end | |
944 | end | |
945 | succing = {} | |
946 | harm:disconnect() | |
947 | nado:remove() | |
948 | sick:Stop() | |
949 | end | |
950 | ||
951 | --//=================================\\ | |
952 | --|| ASSIGN THINGS TO KEYS | |
953 | --\\=================================// | |
954 | ||
955 | Humanoid.Changed:connect(function(Jump) | |
956 | if Jump == "Jump" and (Disable_Jump == true or DISABLEJUMPING == true) then | |
957 | Humanoid.Jump = false | |
958 | end | |
959 | end) | |
960 | ||
961 | function MouseDown(Mouse) | |
962 | HOLD = true | |
963 | vacuum() | |
964 | end | |
965 | ||
966 | function MouseUp(Mouse) | |
967 | HOLD = false | |
968 | end | |
969 | ||
970 | function KeyDown(Key) | |
971 | if Key == "t" and ATTACK == false then | |
972 | CreateSound("743953262", Head, 3, 1) | |
973 | end | |
974 | if Key == "e" and ATTACK == false then | |
975 | cough() | |
976 | end | |
977 | end | |
978 | ||
979 | function KeyUp(Key) | |
980 | end | |
981 | ||
982 | Mouse.Button1Down:connect(function(NEWKEY) | |
983 | MouseDown(NEWKEY) | |
984 | end) | |
985 | Mouse.Button1Up:connect(function(NEWKEY) | |
986 | MouseUp(NEWKEY) | |
987 | end) | |
988 | Mouse.KeyDown:connect(function(NEWKEY) | |
989 | KeyDown(NEWKEY) | |
990 | end) | |
991 | Mouse.KeyUp:connect(function(NEWKEY) | |
992 | KeyUp(NEWKEY) | |
993 | end) | |
994 | ||
995 | --//=================================\\ | |
996 | --\\=================================// | |
997 | ||
998 | ||
999 | function unanchor() | |
1000 | if UNANCHOR == true then | |
1001 | g = Character:GetChildren() | |
1002 | for i = 1, #g do | |
1003 | if g[i].ClassName == "Part" then | |
1004 | g[i].Anchored = false | |
1005 | end | |
1006 | end | |
1007 | end | |
1008 | end | |
1009 | ||
1010 | ||
1011 | --//=================================\\ | |
1012 | --|| WRAP THE WHOLE SCRIPT UP | |
1013 | --\\=================================// | |
1014 | ||
1015 | Humanoid.Changed:connect(function(Jump) | |
1016 | if Jump == "Jump" and (Disable_Jump == true or DISABLEJUMPING == true) then | |
1017 | Humanoid.Jump = false | |
1018 | end | |
1019 | end) | |
1020 | ||
1021 | while true do | |
1022 | Swait() | |
1023 | if #Effects2>0 then | |
1024 | for e=1,#Effects2 do | |
1025 | if Effects2[e]~=nil then | |
1026 | local Thing=Effects2[e] | |
1027 | if Thing~=nil then | |
1028 | local Part=Thing[1] | |
1029 | local Mode=Thing[2] | |
1030 | local Delay=Thing[3] | |
1031 | local IncX=Thing[4] | |
1032 | local IncY=Thing[5] | |
1033 | local IncZ=Thing[6] | |
1034 | local Part2=Thing[8] | |
1035 | if Thing[1].Transparency<=1 then | |
1036 | if Thing[2]=="Block1" then | |
1037 | Thing[1].CFrame=Thing[1].CFrame | |
1038 | Mesh=Thing[1].Mesh | |
1039 | Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6]) | |
1040 | Thing[1].Transparency=Thing[1].Transparency+Thing[3] | |
1041 | elseif Thing[2]=="Cylinder" then | |
1042 | Mesh=Thing[1].Mesh | |
1043 | Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6]) | |
1044 | Thing[1].Transparency=Thing[1].Transparency+Thing[3] | |
1045 | elseif Thing[2]=="Blood" then | |
1046 | Mesh=Thing[7] | |
1047 | Thing[1].CFrame=Thing[1].CFrame*CF(0,.5,0) | |
1048 | Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6]) | |
1049 | Thing[1].Transparency=Thing[1].Transparency+Thing[3] | |
1050 | elseif Thing[2]=="Elec" then | |
1051 | Mesh=Thing[1].Mesh | |
1052 | Mesh.Scale=Mesh.Scale+VT(Thing[7],Thing[8],Thing[9]) | |
1053 | Thing[1].Transparency=Thing[1].Transparency+Thing[3] | |
1054 | elseif Thing[2]=="Disappear" then | |
1055 | Thing[1].Transparency=Thing[1].Transparency+Thing[3] | |
1056 | end | |
1057 | else | |
1058 | Part.Parent=nil | |
1059 | table.remove(Effects2,e) | |
1060 | end | |
1061 | end | |
1062 | end | |
1063 | end | |
1064 | end | |
1065 | unanchor() | |
1066 | Humanoid.MaxHealth = "inf" | |
1067 | Humanoid.Health = "inf" | |
1068 | if Rooted == false then | |
1069 | Disable_Jump = false | |
1070 | Humanoid.WalkSpeed = Speed | |
1071 | elseif Rooted == true then | |
1072 | Disable_Jump = true | |
1073 | Humanoid.WalkSpeed = 0 | |
1074 | end | |
1075 | if sick == nil then | |
1076 | sick = Instance.new("Sound",Torso) | |
1077 | sick.SoundId = "rbxassetid://271550300" | |
1078 | sick.Looped = true | |
1079 | sick.Pitch = 1 | |
1080 | sick.Volume = 999 | |
1081 | end | |
1082 | if #succing>0 then | |
1083 | for e=1,#succing do | |
1084 | if succing[e]~=nil then | |
1085 | local Thing=succing[e] | |
1086 | Thing.velocity = CF(Thing.Parent.Position,succ.Position).lookVector*80 | |
1087 | if HOLD == false then | |
1088 | Thing.velocity = CF(Thing.Parent.Position,succ.Position).lookVector*0 | |
1089 | Thing:remove() | |
1090 | table.remove(succing,e) | |
1091 | end | |
1092 | end | |
1093 | end | |
1094 | end | |
1095 | end | |
1096 | ||
1097 | --//=================================\\ | |
1098 | --\\=================================// | |
1099 | ||
1100 | ||
1101 | ||
1102 | ||
1103 | ||
1104 | --//====================================================\\-- | |
1105 | --|| END OF SCRIPT | |
1106 | --\\====================================================//-- |