SHOW:
|
|
- or go back to the newest paste.
| 1 | wait(1) | |
| 2 | ---------------------------[[[ VARIABLES ]]]--------------------------- | |
| 3 | ||
| 4 | local plr = game.Players.LocalPlayer | |
| 5 | local chr = plr.Character | |
| 6 | local mou = plr:GetMouse() | |
| 7 | local leftarm = false | |
| 8 | local active = false | |
| 9 | local curkey = "f" | |
| 10 | local stunneds = {}
| |
| 11 | ||
| 12 | ---------------------------[[[ PARTS ]]]--------------------------- | |
| 13 | Instance.new("ForceField", game.Players.LocalPlayer.Character). Visible = False
| |
| 14 | ||
| 15 | -- 1 - Glock | |
| 16 | obj1 = Instance.new("Model")
| |
| 17 | obj1.Name = "Glock" | |
| 18 | obj1.Parent = chr | |
| 19 | ||
| 20 | -- 2 - Part | |
| 21 | obj2 = Instance.new("Part")
| |
| 22 | obj2.CFrame = CFrame.new(Vector3.new(14.25, 3.51428652, 46.8584824)) * CFrame.Angles(0.69812995195389, 0, -0) | |
| 23 | obj2.TopSurface = Enum.SurfaceType.Smooth | |
| 24 | obj2.BottomSurface = Enum.SurfaceType.Smooth | |
| 25 | obj2.Material = Enum.Material.Neon | |
| 26 | obj2.Size = Vector3.new(0.300000012, 0.200000003, 0.200000003) | |
| 27 | obj2.Anchored = true | |
| 28 | obj2.Friction = 0.30000001192093 | |
| 29 | obj2.Shape = Enum.PartType.Block | |
| 30 | obj2.CanCollide = false | |
| 31 | obj2.Parent = obj1 | |
| 32 | obj2.Transparency = 0 | |
| 33 | ||
| 34 | -- 3 - Top | |
| 35 | obj3 = Instance.new("Part")
| |
| 36 | obj3.CFrame = CFrame.new(Vector3.new(14.25, 3.8499999, 47.1499977)) * CFrame.Angles(-0, 0, -0) | |
| 37 | obj3.TopSurface = Enum.SurfaceType.Smooth | |
| 38 | obj3.BottomSurface = Enum.SurfaceType.Smooth | |
| 39 | obj3.Material = Enum.Material.Neon | |
| 40 | obj3.Size = Vector3.new(0.300000012, 0.300000012, 1.5) | |
| 41 | obj3.Anchored = true | |
| 42 | obj3.Friction = 0.30000001192093 | |
| 43 | obj3.Shape = Enum.PartType.Block | |
| 44 | obj3.CanCollide = false | |
| 45 | obj3.Name = "Top" | |
| 46 | obj3.Parent = obj1 | |
| 47 | obj3.Transparency = 0 | |
| 48 | ----------- | |
| 49 | local sound = Instance.new('Sound',obj1)
| |
| 50 | - | sound.SoundId = 'rbxassetid://1259371424' |
| 50 | + | sound.SoundId = 'rbxassetid://278729960' |
| 51 | - | sound.Volume = 0.5 |
| 51 | + | sound.Volume = 5 |
| 52 | sound.EmitterSize = 10 | |
| 53 | sound.MaxDistance = 10 | |
| 54 | sound.Looped = true | |
| 55 | sound:Play() | |
| 56 | ----------- | |
| 57 | ||
| 58 | -- 4 - Top | |
| 59 | obj4 = Instance.new("Part")
| |
| 60 | obj4.CFrame = CFrame.new(Vector3.new(14.25, 3.8499999, 47.8999977)) * CFrame.Angles(0, 1.5707963705063, 0) | |
| 61 | obj4.TopSurface = Enum.SurfaceType.Smooth | |
| 62 | obj4.BottomSurface = Enum.SurfaceType.Smooth | |
| 63 | obj4.Material = Enum.Material.Neon | |
| 64 | obj4.Size = Vector3.new(0.200000003, 0.299999982, 0.300000012) | |
| 65 | obj4.Anchored = true | |
| 66 | obj4.Friction = 0.30000001192093 | |
| 67 | obj4.Shape = Enum.PartType.Cylinder | |
| 68 | obj4.Name = "Top" | |
| 69 | obj4.CanCollide = false | |
| 70 | obj4.Parent = obj1 | |
| 71 | obj4.Transparency = 0 | |
| 72 | ||
| 73 | -- 5 - Part | |
| 74 | obj5 = Instance.new("Part")
| |
| 75 | obj5.CFrame = CFrame.new(Vector3.new(14.25, 3.35359001, 47.1499939)) * CFrame.Angles(-1.5707978010178, 0, -0) | |
| 76 | obj5.TopSurface = Enum.SurfaceType.Smooth | |
| 77 | obj5.BottomSurface = Enum.SurfaceType.Smooth | |
| 78 | obj5.Material = Enum.Material.Neon | |
| 79 | obj5.Size = Vector3.new(0.300000012, 0.200000003, 0.299999982) | |
| 80 | obj5.Anchored = true | |
| 81 | ||
| 82 | obj5.Friction = 0.30000001192093 | |
| 83 | obj5.Shape = Enum.PartType.Block | |
| 84 | obj5.CanCollide = false | |
| 85 | obj5.Parent = obj1 | |
| 86 | obj5.Transparency = 0 | |
| 87 | ||
| 88 | -- 6 - Part | |
| 89 | obj6 = Instance.new("Part")
| |
| 90 | obj6.CFrame = CFrame.new(Vector3.new(14.25, 3.5999999, 47.1499977)) * CFrame.Angles(-0, 0, -0) | |
| 91 | obj6.TopSurface = Enum.SurfaceType.Smooth | |
| 92 | obj6.BottomSurface = Enum.SurfaceType.Smooth | |
| 93 | obj6.Material = Enum.Material.Neon | |
| 94 | obj6.Size = Vector3.new(0.300000012, 0.200000003, 1.5) | |
| 95 | obj6.Anchored = true | |
| 96 | obj6.CanCollide = false | |
| 97 | obj6.Friction = 0.30000001192093 | |
| 98 | obj6.Shape = Enum.PartType.Block | |
| 99 | obj6.Parent = obj1 | |
| 100 | obj6.Transparency = 0 | |
| 101 | ||
| 102 | -- 7 - Part | |
| 103 | obj7 = Instance.new("Part")
| |
| 104 | obj7.CFrame = CFrame.new(Vector3.new(14.25, 3.60000014, 47.8999977)) * CFrame.Angles(0, 1.5707963705063, 0) | |
| 105 | obj7.TopSurface = Enum.SurfaceType.Smooth | |
| 106 | obj7.BottomSurface = Enum.SurfaceType.Smooth | |
| 107 | obj7.Material = Enum.Material.Neon | |
| 108 | obj7.Size = Vector3.new(0.200000003, 0.200000003, 0.300000012) | |
| 109 | obj7.Anchored = true | |
| 110 | obj7.CanCollide = false | |
| 111 | obj7.Friction = 0.30000001192093 | |
| 112 | obj7.Shape = Enum.PartType.Cylinder | |
| 113 | obj7.Parent = obj1 | |
| 114 | obj7.Transparency = 0 | |
| 115 | ||
| 116 | -- 8 - Part | |
| 117 | obj8 = Instance.new("Part")
| |
| 118 | obj8.CFrame = CFrame.new(Vector3.new(14.25, 3.15358996, 46.8499985)) * CFrame.Angles(1.1920913323138e-007, 0, -0) | |
| 119 | obj8.TopSurface = Enum.SurfaceType.Smooth | |
| 120 | obj8.BottomSurface = Enum.SurfaceType.Smooth | |
| 121 | obj8.Material = Enum.Material.Neon | |
| 122 | obj8.Size = Vector3.new(0.300000012, 0.200000003, 0.699999988) | |
| 123 | obj8.Anchored = true | |
| 124 | obj8.Friction = 0.30000001192093 | |
| 125 | obj8.CanCollide = false | |
| 126 | obj8.Shape = Enum.PartType.Block | |
| 127 | obj8.Parent = obj1 | |
| 128 | obj8.Transparency = 0 | |
| 129 | ||
| 130 | -- 9 - Part | |
| 131 | obj9 = Instance.new("Part")
| |
| 132 | obj9.CFrame = CFrame.new(Vector3.new(14.25, 3.27858996, 46.5067024)) * CFrame.Angles(-1.0471963882446, 0, -0) | |
| 133 | obj9.TopSurface = Enum.SurfaceType.Smooth | |
| 134 | obj9.BottomSurface = Enum.SurfaceType.Smooth | |
| 135 | obj9.Material = Enum.Material.Neon | |
| 136 | obj9.Size = Vector3.new(0.300000012, 0.300000012, 0.699999988) | |
| 137 | obj9.Anchored = true | |
| 138 | obj9.CanCollide = false | |
| 139 | obj9.Friction = 0.30000001192093 | |
| 140 | obj9.Shape = Enum.PartType.Block | |
| 141 | obj9.Parent = obj1 | |
| 142 | obj9.Transparency = 0 | |
| 143 | ||
| 144 | local previous = nil | |
| 145 | for i,v in pairs(obj1:GetChildren()) do | |
| 146 | if v:IsA('BasePart') then
| |
| 147 | if previous then | |
| 148 | local weld = Instance.new('Weld',v)
| |
| 149 | weld.Part0 = v | |
| 150 | weld.Part1 = previous | |
| 151 | weld.C0 = v.CFrame:inverse() * previous.CFrame | |
| 152 | previous.Anchored = false | |
| 153 | end | |
| 154 | previous = v | |
| 155 | end | |
| 156 | end | |
| 157 | previous.Anchored = false | |
| 158 | ||
| 159 | ---------------------------[[[ FUNCTIONS ]]]--------------------------- | |
| 160 | ||
| 161 | function notify(msg,forever) | |
| 162 | local doit = coroutine.wrap(function() | |
| 163 | for i,v in pairs(plr.PlayerGui:GetChildren()) do | |
| 164 | if v.Name == "Notification" and v:IsA('ScreenGui') then
| |
| 165 | v:Destroy() | |
| 166 | end | |
| 167 | end | |
| 168 | print("Original Glock made by ???")
| |
| 169 | print("Edited by Knowlton to make it heavy pow and rainbow I guess")
| |
| 170 | local gui = Instance.new('ScreenGui',plr.PlayerGui)
| |
| 171 | gui.Name = "Notification" | |
| 172 | local frame = Instance.new('Frame',gui)
| |
| 173 | frame.Position = UDim2.new(0,0,0,0) | |
| 174 | frame.Size = UDim2.new(1,0,0.2,0) | |
| 175 | frame.BackgroundTransparency = 1 | |
| 176 | local txt = Instance.new('TextLabel',frame)
| |
| 177 | txt.TextColor3 = Color3.new(255,255,255) | |
| 178 | txt.TextStrokeColor3 = Color3.new(0, 0, 0) | |
| 179 | txt.TextStrokeTransparency = 0 | |
| 180 | txt.BackgroundTransparency = 1 | |
| 181 | txt.Text = "" | |
| 182 | txt.Size = UDim2.new(1,0,0.3,0) | |
| 183 | txt.Position = UDim2.new(0,0,0.4,0) | |
| 184 | txt.TextScaled = true | |
| 185 | txt.Font = "Code" | |
| 186 | txt.TextXAlignment = "Center" | |
| 187 | local tap = Instance.new("Sound")
| |
| 188 | tap.Parent = plr.Backpack | |
| 189 | tap.SoundId = "rbxassetid://147982968" | |
| 190 | tap.TimePosition = 0.1 | |
| 191 | local str = msg | |
| 192 | local len = string.len(str) | |
| 193 | for i=1,len do | |
| 194 | txt.Text = string.sub(str,1,i) | |
| 195 | local pitche = math.random(2, 4) | |
| 196 | tap.PlaybackSpeed = pitche | |
| 197 | tap:Play() | |
| 198 | wait(0.05) | |
| 199 | end | |
| 200 | if forever == false then | |
| 201 | wait(1) | |
| 202 | while txt.TextTransparency < 1 do | |
| 203 | txt.TextTransparency = txt.TextTransparency + 0.1 | |
| 204 | txt.TextStrokeTransparency = txt.TextStrokeTransparency + 0.1 | |
| 205 | wait() | |
| 206 | end | |
| 207 | gui:Destroy() | |
| 208 | end | |
| 209 | end) | |
| 210 | doit() | |
| 211 | end | |
| 212 | ||
| 213 | ||
| 214 | function damage(playa,hita) | |
| 215 | local hitz = hita.Name | |
| 216 | local heyy = hitz | |
| 217 | if hitz == "Right Arm" then | |
| 218 | local Limb = playa:FindFirstChild("Right Arm")
| |
| 219 | local ters = playa:FindFirstChild('Torso')
| |
| 220 | if Limb and ters then | |
| 221 | if ters:FindFirstChild('Right Shoulder') then ters["Right Shoulder"]:Destroy() end
| |
| 222 | for i,v in pairs(Limb:GetChildren()) do | |
| 223 | if v:IsA('Weld') or v:IsA('Motor6D') or v:IsA('Glue') then
| |
| 224 | v:Destroy() | |
| 225 | end | |
| 226 | end | |
| 227 | Limb.CFrame = ters.CFrame * CFrame.new(1.5, 0, 0) | |
| 228 | local Joint = Instance.new("Glue")
| |
| 229 | Joint.Name = "RightShoulder" | |
| 230 | Joint.Part0 = ters | |
| 231 | Joint.Part1 = Limb | |
| 232 | Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
| 233 | Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
| 234 | Joint.Parent = ters | |
| 235 | ||
| 236 | local B = Instance.new("Part")
| |
| 237 | B.TopSurface = 0 | |
| 238 | B.BottomSurface = 0 | |
| 239 | B.formFactor = "Symmetric" | |
| 240 | B.Size = Vector3.new(1, 1, 1) | |
| 241 | B.Transparency = 1 | |
| 242 | B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0) | |
| 243 | B.Parent = playa | |
| 244 | local W = Instance.new("Weld")
| |
| 245 | W.Part0 = Limb | |
| 246 | W.Part1 = B | |
| 247 | W.C0 = CFrame.new(0, -0.5, 0) | |
| 248 | W.Parent = Limb | |
| 249 | end | |
| 250 | elseif hitz == "Left Arm" then | |
| 251 | local Limb = playa:FindFirstChild("Left Arm")
| |
| 252 | local ters = playa:FindFirstChild('Torso')
| |
| 253 | if Limb and ters then | |
| 254 | if ters:FindFirstChild('Left Shoulder') then ters["Left Shoulder"]:Destroy() end
| |
| 255 | for i,v in pairs(Limb:GetChildren()) do | |
| 256 | if v:IsA('Weld') or v:IsA('Motor6D') or v:IsA('Glue') then
| |
| 257 | v:Destroy() | |
| 258 | end | |
| 259 | end | |
| 260 | Limb.CFrame = ters.CFrame * CFrame.new(-1.5, 0, 0) | |
| 261 | local Joint = Instance.new("Glue")
| |
| 262 | Joint.Name = "LeftShoulder" | |
| 263 | Joint.Part0 = ters | |
| 264 | Joint.Part1 = Limb | |
| 265 | Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
| 266 | Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
| 267 | Joint.Parent = ters | |
| 268 | local B = Instance.new("Part")
| |
| 269 | B.TopSurface = 0 | |
| 270 | B.BottomSurface = 0 | |
| 271 | B.formFactor = "Symmetric" | |
| 272 | B.Size = Vector3.new(1, 1, 1) | |
| 273 | B.Transparency = 1 | |
| 274 | B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0) | |
| 275 | B.Parent = playa | |
| 276 | local W = Instance.new("Weld")
| |
| 277 | W.Part0 = ters | |
| 278 | W.Part1 = B | |
| 279 | W.C0 = CFrame.new(0, -0.5, 0) | |
| 280 | W.Parent = Limb | |
| 281 | end | |
| 282 | elseif hitz == "Right Leg" then | |
| 283 | local Limb = playa:FindFirstChild("Right Leg")
| |
| 284 | local ters = playa:FindFirstChild('Torso')
| |
| 285 | if Limb and ters then | |
| 286 | if ters:FindFirstChild('Right Hip') then ters["Right Hip"]:Destroy() end
| |
| 287 | for i,v in pairs(Limb:GetChildren()) do | |
| 288 | if v:IsA('Weld') or v:IsA('Motor6D') or v:IsA('Glue') then
| |
| 289 | v:Destroy() | |
| 290 | end | |
| 291 | end | |
| 292 | Limb.CFrame = ters.CFrame * CFrame.new(0.5, -2, 0) | |
| 293 | local Joint = Instance.new("Glue")
| |
| 294 | Joint.Name = "Right Hip" | |
| 295 | Joint.Part0 = ters | |
| 296 | Joint.Part1 = Limb | |
| 297 | Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
| 298 | Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
| 299 | Joint.Parent = ters | |
| 300 | local B = Instance.new("Part")
| |
| 301 | B.TopSurface = 0 | |
| 302 | B.BottomSurface = 0 | |
| 303 | B.formFactor = "Symmetric" | |
| 304 | B.Size = Vector3.new(1, 1, 1) | |
| 305 | B.Transparency = 1 | |
| 306 | B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0) | |
| 307 | B.Parent = playa | |
| 308 | local W = Instance.new("Weld")
| |
| 309 | W.Part0 = Limb | |
| 310 | W.Part1 = B | |
| 311 | W.C0 = CFrame.new(0, -0.5, 0) | |
| 312 | W.Parent = Limb | |
| 313 | if playa:FindFirstChildOfClass('Humanoid') then
| |
| 314 | local hum = playa:FindFirstChildOfClass('Humanoid')
| |
| 315 | local target = playa | |
| 316 | if target:FindFirstChild('HumanoidRootPart') then
| |
| 317 | target.HumanoidRootPart:Destroy() | |
| 318 | end | |
| 319 | local found = false | |
| 320 | for i,v in pairs(stunneds) do | |
| 321 | if v == hum then | |
| 322 | found = true | |
| 323 | end | |
| 324 | end | |
| 325 | if found == false then | |
| 326 | table.insert(stunneds,hum) | |
| 327 | end | |
| 328 | end | |
| 329 | end | |
| 330 | elseif hitz == "Left Leg" then | |
| 331 | local Limb = playa:FindFirstChild("Left Leg")
| |
| 332 | local ters = playa:FindFirstChild('Torso')
| |
| 333 | if Limb and ters then | |
| 334 | if ters:FindFirstChild('Left Hip') then ters["Left Hip"]:Destroy() end
| |
| 335 | for i,v in pairs(Limb:GetChildren()) do | |
| 336 | if v:IsA('Weld') or v:IsA('Motor6D') or v:IsA('Glue') then
| |
| 337 | v:Destroy() | |
| 338 | end | |
| 339 | end | |
| 340 | Limb.CFrame = ters.CFrame * CFrame.new(0.5, -2, 0) | |
| 341 | Limb.CFrame = ters.CFrame * CFrame.new(-0.5, -2, 0) | |
| 342 | local Joint = Instance.new("Glue")
| |
| 343 | Joint.Name = "LeftHip" | |
| 344 | Joint.Part0 = ters | |
| 345 | Joint.Part1 = Limb | |
| 346 | Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
| 347 | Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
| 348 | Joint.Parent = ters | |
| 349 | ||
| 350 | local B = Instance.new("Part")
| |
| 351 | B.TopSurface = 0 | |
| 352 | B.BottomSurface = 0 | |
| 353 | B.formFactor = "Symmetric" | |
| 354 | B.Size = Vector3.new(1, 1, 1) | |
| 355 | B.Transparency = 1 | |
| 356 | B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0) | |
| 357 | B.Parent = playa | |
| 358 | local W = Instance.new("Weld")
| |
| 359 | W.Part0 = Limb | |
| 360 | W.Part1 = B | |
| 361 | W.C0 = CFrame.new(0, -0.5, 0) | |
| 362 | W.Parent = Limb | |
| 363 | Limb.CanCollide = false | |
| 364 | if playa:FindFirstChildOfClass('Humanoid') then
| |
| 365 | local hum = playa:FindFirstChildOfClass('Humanoid')
| |
| 366 | local target = playa | |
| 367 | if target:FindFirstChild('HumanoidRootPart') then
| |
| 368 | target.HumanoidRootPart:Destroy() | |
| 369 | end | |
| 370 | local found = false | |
| 371 | for i,v in pairs(stunneds) do | |
| 372 | if v == hum then | |
| 373 | found = true | |
| 374 | end | |
| 375 | end | |
| 376 | if found == false then | |
| 377 | table.insert(stunneds,hum) | |
| 378 | end | |
| 379 | end | |
| 380 | end | |
| 381 | else | |
| 382 | local playa2 = playa | |
| 383 | playa.Archivable = true | |
| 384 | local playa = playa:Clone() | |
| 385 | playa.Archivable = false | |
| 386 | playa2:Destroy() | |
| 387 | playa.Parent = workspace | |
| 388 | local Gibs = game.Workspace | |
| 389 | print(playa) | |
| 390 | local Torso = playa.Torso | |
| 391 | local Head = playa:FindFirstChild("Head")
| |
| 392 | local function Scan(ch) | |
| 393 | local e | |
| 394 | for e = 1,#ch do | |
| 395 | Scan(ch[e]:GetChildren()) | |
| 396 | if ch[e].ClassName == "Weld" or ch[e].ClassName == "Motor6D" then | |
| 397 | ch[e]:remove() | |
| 398 | end | |
| 399 | end | |
| 400 | end | |
| 401 | Scan(playa:GetChildren()) | |
| 402 | if playa:FindFirstChild('HumanoidRootPart') then
| |
| 403 | playa:FindFirstChild('HumanoidRootPart'):Destroy()
| |
| 404 | end | |
| 405 | local hum2 = playa:FindFirstChildOfClass("Humanoid")
| |
| 406 | ||
| 407 | ||
| 408 | if hum2 ~= nil then | |
| 409 | hum2.Name = "Humanoid2" | |
| 410 | hum2.PlatformStand = true | |
| 411 | hum2.Health = 0 | |
| 412 | end | |
| 413 | local ch = playa:GetChildren() | |
| 414 | local i | |
| 415 | for i = 1,#ch do | |
| 416 | if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then | |
| 417 | ch[i]:remove() | |
| 418 | end | |
| 419 | end | |
| 420 | ||
| 421 | if Head then | |
| 422 | local Neck = Instance.new("Weld")
| |
| 423 | Neck.Name = "Neck" | |
| 424 | Neck.Part0 = Torso | |
| 425 | Neck.Part1 = Head | |
| 426 | Neck.C0 = CFrame.new(0, 1.5, 0) | |
| 427 | Neck.C1 = CFrame.new() | |
| 428 | Neck.Parent = Torso | |
| 429 | end | |
| 430 | local Limb = playa:FindFirstChild("Right Arm")
| |
| 431 | if Limb then | |
| 432 | ||
| 433 | Limb.CFrame = Torso.CFrame * CFrame.new(1.5, 0, 0) | |
| 434 | local Joint = Instance.new("Glue")
| |
| 435 | Joint.Name = "RightShoulder" | |
| 436 | Joint.Part0 = Torso | |
| 437 | Joint.Part1 = Limb | |
| 438 | Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
| 439 | Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
| 440 | Joint.Parent = Torso | |
| 441 | ||
| 442 | local B = Instance.new("Part")
| |
| 443 | B.TopSurface = 0 | |
| 444 | B.BottomSurface = 0 | |
| 445 | B.formFactor = "Symmetric" | |
| 446 | B.Size = Vector3.new(1, 1, 1) | |
| 447 | B.Transparency = 1 | |
| 448 | B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0) | |
| 449 | B.Parent = playa | |
| 450 | local W = Instance.new("Weld")
| |
| 451 | W.Part0 = Limb | |
| 452 | W.Part1 = B | |
| 453 | W.C0 = CFrame.new(0, -0.5, 0) | |
| 454 | W.Parent = Limb | |
| 455 | end | |
| 456 | local Limb = playa:FindFirstChild("Left Arm")
| |
| 457 | if Limb then | |
| 458 | ||
| 459 | Limb.CFrame = Torso.CFrame * CFrame.new(-1.5, 0, 0) | |
| 460 | local Joint = Instance.new("Glue")
| |
| 461 | Joint.Name = "LeftShoulder" | |
| 462 | Joint.Part0 = Torso | |
| 463 | Joint.Part1 = Limb | |
| 464 | Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
| 465 | Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
| 466 | Joint.Parent = Torso | |
| 467 | ||
| 468 | local B = Instance.new("Part")
| |
| 469 | B.TopSurface = 0 | |
| 470 | B.BottomSurface = 0 | |
| 471 | B.formFactor = "Symmetric" | |
| 472 | B.Size = Vector3.new(1, 1, 1) | |
| 473 | B.Transparency = 1 | |
| 474 | B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0) | |
| 475 | B.Parent = playa | |
| 476 | local W = Instance.new("Weld")
| |
| 477 | W.Part0 = Limb | |
| 478 | W.Part1 = B | |
| 479 | W.C0 = CFrame.new(0, -0.5, 0) | |
| 480 | W.Parent = Limb | |
| 481 | end | |
| 482 | local Limb = playa:FindFirstChild("Right Leg")
| |
| 483 | if Limb then | |
| 484 | ||
| 485 | Limb.CFrame = Torso.CFrame * CFrame.new(0.5, -2, 0) | |
| 486 | local Joint = Instance.new("Glue")
| |
| 487 | Joint.Name = "RightHip" | |
| 488 | Joint.Part0 = Torso | |
| 489 | Joint.Part1 = Limb | |
| 490 | Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
| 491 | Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
| 492 | Joint.Parent = Torso | |
| 493 | ||
| 494 | local B = Instance.new("Part")
| |
| 495 | B.TopSurface = 0 | |
| 496 | B.BottomSurface = 0 | |
| 497 | B.formFactor = "Symmetric" | |
| 498 | B.Size = Vector3.new(1, 1, 1) | |
| 499 | B.Transparency = 1 | |
| 500 | B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0) | |
| 501 | B.Parent = playa | |
| 502 | local W = Instance.new("Weld")
| |
| 503 | W.Part0 = Limb | |
| 504 | W.Part1 = B | |
| 505 | W.C0 = CFrame.new(0, -0.5, 0) | |
| 506 | W.Parent = Limb | |
| 507 | end | |
| 508 | local Limb = playa:FindFirstChild("Left Leg")
| |
| 509 | if Limb then | |
| 510 | ||
| 511 | Limb.CFrame = Torso.CFrame * CFrame.new(-0.5, -2, 0) | |
| 512 | local Joint = Instance.new("Glue")
| |
| 513 | Joint.Name = "LeftHip" | |
| 514 | Joint.Part0 = Torso | |
| 515 | Joint.Part1 = Limb | |
| 516 | Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
| 517 | Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
| 518 | Joint.Parent = Torso | |
| 519 | ||
| 520 | local B = Instance.new("Part")
| |
| 521 | B.TopSurface = 0 | |
| 522 | B.BottomSurface = 0 | |
| 523 | B.formFactor = "Symmetric" | |
| 524 | B.Size = Vector3.new(1, 1, 1) | |
| 525 | B.Transparency = 1 | |
| 526 | B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0) | |
| 527 | B.Parent = playa | |
| 528 | local W = Instance.new("Weld")
| |
| 529 | W.Part0 = Limb | |
| 530 | W.Part1 = B | |
| 531 | W.C0 = CFrame.new(0, -0.5, 0) | |
| 532 | W.Parent = Limb | |
| 533 | end | |
| 534 | --[ | |
| 535 | local Bar = Instance.new("Part")
| |
| 536 | Bar.TopSurface = 0 | |
| 537 | Bar.BottomSurface = 0 | |
| 538 | Bar.formFactor = "Symmetric" | |
| 539 | Bar.Size = Vector3.new(1, 1, 1) | |
| 540 | Bar.Transparency = 1 | |
| 541 | Bar.CFrame = Torso.CFrame * CFrame.new(0, 0.5, 0) | |
| 542 | Bar.Parent = playa | |
| 543 | local Weld = Instance.new("Weld")
| |
| 544 | Weld.Part0 = Torso | |
| 545 | Weld.Part1 = Bar | |
| 546 | Weld.C0 = CFrame.new(0, 0.5, 0) | |
| 547 | Weld.Parent = Torso | |
| 548 | --]] | |
| 549 | playa.Parent = Gibs | |
| 550 | game.Debris:AddItem(playa, 12) | |
| 551 | end | |
| 552 | end | |
| 553 | ||
| 554 | ||
| 555 | function calculate() | |
| 556 | if leftarm and chr:FindFirstChild('Head') and chr:FindFirstChild('Torso') and chr.Torso:FindFirstChild("Left Shoulder") and chr:FindFirstChild('Left Arm') then
| |
| 557 | local Head = plr.Character.Head | |
| 558 | local RightShoulder = plr.Character.Torso["Left Shoulder"] | |
| 559 | local RightArm = plr.Character["Left Arm"] | |
| 560 | local MousePosition = mou.Hit.p | |
| 561 | local ToMouse = (MousePosition - Head.Position).unit | |
| 562 | local Angle = math.acos(ToMouse:Dot(Vector3.new(0, 1, 0))) | |
| 563 | local FromRightArmPos = (Head.Position + Head.CFrame:vectorToWorldSpace(Vector3.new(((-Head.Size.X / 2) + (-RightArm.Size.X / 2)), ((-Head.Size.Y / 2) - (-RightArm.Size.Z / 2)), 0))) | |
| 564 | local ToMouseRightArm = ((MousePosition - FromRightArmPos) * Vector3.new(-1 ,0, -1)).unit | |
| 565 | local Look = (Head.CFrame.lookVector * Vector3.new(-1, 0, -1)).unit | |
| 566 | local LateralAngle = math.acos(ToMouseRightArm:Dot(Look)) | |
| 567 | if tostring(LateralAngle) == "-1.#IND" then | |
| 568 | LateralAngle = 0 | |
| 569 | end | |
| 570 | local Cross = Head.CFrame.lookVector:Cross(ToMouseRightArm) | |
| 571 | --[[ | |
| 572 | if LateralAngle > (math.pi / 2) then | |
| 573 | LateralAngle = (math.pi / 2) | |
| 574 | if chr:FindFirstChild('Torso') then
| |
| 575 | local Torso = chr.Torso | |
| 576 | local Point = Torso.CFrame:vectorToObjectSpace(mou.Hit.p-Torso.CFrame.p) | |
| 577 | if Point.Z > 0 then | |
| 578 | if Point.X > 0 then | |
| 579 | Torso.CFrame = CFrame.new(Torso.Position,Vector3.new(mou.Hit.X,Torso.Position.Y,mou.Hit.Z))*CFrame.Angles(0,math.rad(90),0) | |
| 580 | elseif Point.X < 0 then | |
| 581 | Torso.CFrame = CFrame.new(Torso.Position,Vector3.new(mou.Hit.X,Torso.Position.Y,mou.Hit.Z))*CFrame.Angles(0,math.rad(-90),0) | |
| 582 | end | |
| 583 | end | |
| 584 | end | |
| 585 | end | |
| 586 | ]]-- | |
| 587 | print(LateralAngle) | |
| 588 | warn(math.pi / 2) | |
| 589 | if Cross.Y < 0 then | |
| 590 | LateralAngle = -LateralAngle | |
| 591 | end | |
| 592 | return(CFrame.new(RightShoulder.C0.p) * CFrame.Angles(((math.pi / 2) - Angle), ((math.pi / 2) + LateralAngle), math.pi/2)) | |
| 593 | elseif chr:FindFirstChild('Head') and chr:FindFirstChild('Torso') and chr.Torso:FindFirstChild("Right Shoulder") and chr:FindFirstChild('Right Arm') then
| |
| 594 | local Head = plr.Character.Head | |
| 595 | local RightShoulder = plr.Character.Torso["Right Shoulder"] | |
| 596 | local RightArm = plr.Character["Right Arm"] | |
| 597 | local MousePosition = mou.Hit.p | |
| 598 | local ToMouse = (MousePosition - Head.Position).unit | |
| 599 | local Angle = math.acos(ToMouse:Dot(Vector3.new(0, 1, 0))) | |
| 600 | local FromRightArmPos = (Head.Position + Head.CFrame:vectorToWorldSpace(Vector3.new(((Head.Size.X / 2) + (RightArm.Size.X / 2)), ((Head.Size.Y / 2) - (RightArm.Size.Z / 2)), 0))) | |
| 601 | local ToMouseRightArm = ((MousePosition - FromRightArmPos) * Vector3.new(1 ,0, 1)).unit | |
| 602 | local Look = (Head.CFrame.lookVector * Vector3.new(1, 0, 1)).unit | |
| 603 | local LateralAngle = math.acos(ToMouseRightArm:Dot(Look)) | |
| 604 | if tostring(LateralAngle) == "-1.#IND" then | |
| 605 | LateralAngle = 0 | |
| 606 | end | |
| 607 | local Cross = Head.CFrame.lookVector:Cross(ToMouseRightArm) | |
| 608 | if LateralAngle > (math.pi / 2) then | |
| 609 | LateralAngle = (math.pi / 2) | |
| 610 | if chr:FindFirstChild('Torso') then
| |
| 611 | local Torso = chr.Torso | |
| 612 | local Point = Torso.CFrame:vectorToObjectSpace(mou.Hit.p-Torso.CFrame.p) | |
| 613 | if Point.Z > 0 then | |
| 614 | if Point.X > 0 then | |
| 615 | Torso.CFrame = CFrame.new(Torso.Position,Vector3.new(mou.Hit.X,Torso.Position.Y,mou.Hit.Z))*CFrame.Angles(0,math.rad(90),0) | |
| 616 | elseif Point.X < 0 then | |
| 617 | Torso.CFrame = CFrame.new(Torso.Position,Vector3.new(mou.Hit.X,Torso.Position.Y,mou.Hit.Z))*CFrame.Angles(0,math.rad(-90),0) | |
| 618 | end | |
| 619 | end | |
| 620 | end | |
| 621 | end | |
| 622 | if Cross.Y < 0 then | |
| 623 | LateralAngle = -LateralAngle | |
| 624 | end | |
| 625 | return(CFrame.new(RightShoulder.C0.p) * CFrame.Angles(((math.pi / 2) - Angle), ((math.pi / 2) + LateralAngle), math.pi/2)) | |
| 626 | end | |
| 627 | end | |
| 628 | ||
| 629 | function fire() | |
| 630 | if mou.Target then | |
| 631 | local humanoid = mou.Target.Parent:FindFirstChildOfClass("Humanoid")
| |
| 632 | if not humanoid then | |
| 633 | humanoid = mou.Target.Parent.Parent:FindFirstChildOfClass("Humanoid")
| |
| 634 | end | |
| 635 | if humanoid then | |
| 636 | local coru = coroutine.wrap(function() | |
| 637 | damage(humanoid.Parent,mou.Target) | |
| 638 | end) | |
| 639 | coru() | |
| 640 | end | |
| 641 | end | |
| 642 | local beam = Instance.new("Part", workspace)
| |
| 643 | beam.BrickColor = BrickColor.random() | |
| 644 | beam.FormFactor = "Custom" | |
| 645 | beam.Material = "Neon" | |
| 646 | beam.Transparency = 0 | |
| 647 | beam.Anchored = true | |
| 648 | beam.Locked = true | |
| 649 | beam.CanCollide = false | |
| 650 | local distance = (obj4.CFrame.p - mou.Hit.p).magnitude | |
| 651 | beam.Size = Vector3.new(0.2, 0.2, distance) | |
| 652 | beam.CFrame = CFrame.new(obj4.CFrame.p, mou.Hit.p) * CFrame.new(0, 0, -distance / 2) | |
| 653 | game:GetService("Debris"):AddItem(beam, 0.05)
| |
| 654 | local sound = Instance.new('Sound',obj4)
| |
| 655 | sound.SoundId = 'rbxassetid://135362176' | |
| 656 | sound.Volume = 8 | |
| 657 | sound.EmitterSize = 40 | |
| 658 | sound.MaxDistance = 450 | |
| 659 | sound:Play() | |
| 660 | game:GetService("Debris"):AddItem(beam, sound.TimeLength)
| |
| 661 | end | |
| 662 | ||
| 663 | ||
| 664 | ---------------------------[[[ SCRIPT ]]]--------------------------- | |
| 665 | CFuncs = {
| |
| 666 | ["Part"] = {
| |
| 667 | Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size ) | |
| 668 | local Part = Create("Part"){
| |
| 669 | Parent = Parent, | |
| 670 | Reflectance = Reflectance, | |
| 671 | Transparency = Transparency, | |
| 672 | CanCollide = false, | |
| 673 | Locked = true, | |
| 674 | BrickColor = BrickColor.random(), | |
| 675 | Name = Name, | |
| 676 | Size = Size, | |
| 677 | Material = Material, | |
| 678 | } | |
| 679 | RemoveOutlines(Part) | |
| 680 | return Part | |
| 681 | end; | |
| 682 | }; | |
| 683 | ||
| 684 | ["Mesh"] = {
| |
| 685 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
| 686 | local Msh = Create(Mesh){
| |
| 687 | Parent = Part, | |
| 688 | Offset = OffSet, | |
| 689 | Scale = Scale, | |
| 690 | } | |
| 691 | if Mesh == "SpecialMesh" then | |
| 692 | Msh.MeshType = MeshType | |
| 693 | Msh.MeshId = MeshId | |
| 694 | end | |
| 695 | return Msh | |
| 696 | end; | |
| 697 | }; | |
| 698 | ||
| 699 | ["Mesh"] = {
| |
| 700 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
| 701 | local Msh = Create(Mesh){
| |
| 702 | Parent = Part, | |
| 703 | Offset = OffSet, | |
| 704 | Scale = Scale, | |
| 705 | } | |
| 706 | if Mesh == "SpecialMesh" then | |
| 707 | Msh.MeshType = MeshType | |
| 708 | Msh.MeshId = MeshId | |
| 709 | end | |
| 710 | return Msh | |
| 711 | end; | |
| 712 | }; | |
| 713 | ||
| 714 | ["Weld"] = {
| |
| 715 | Create = function(Parent, Part0, Part1, C0, C1) | |
| 716 | local Weld = Create("Weld"){
| |
| 717 | Parent = Parent, | |
| 718 | Part0 = Part0, | |
| 719 | Part1 = Part1, | |
| 720 | C0 = C0, | |
| 721 | C1 = C1, | |
| 722 | } | |
| 723 | return Weld | |
| 724 | end; | |
| 725 | }; | |
| 726 | ||
| 727 | ["Sound"] = {
| |
| 728 | Create = function(id, par, vol, pit) | |
| 729 | coroutine.resume(coroutine.create(function() | |
| 730 | local S = Create("Sound"){
| |
| 731 | Volume = vol, | |
| 732 | Pitch = pit or 1, | |
| 733 | SoundId = id, | |
| 734 | Parent = par or workspace, | |
| 735 | } | |
| 736 | wait() | |
| 737 | S:play() | |
| 738 | game:GetService("Debris"):AddItem(S, 6)
| |
| 739 | end)) | |
| 740 | end; | |
| 741 | }; | |
| 742 | ||
| 743 | ["ParticleEmitter"] = {
| |
| 744 | Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread) | |
| 745 | local fp = Create("ParticleEmitter"){
| |
| 746 | Parent = Parent, | |
| 747 | Color = ColorSequence.new(Color1, Color2), | |
| 748 | LightEmission = LightEmission, | |
| 749 | Size = Size, | |
| 750 | Texture = Texture, | |
| 751 | Transparency = Transparency, | |
| 752 | ZOffset = ZOffset, | |
| 753 | Acceleration = Accel, | |
| 754 | Drag = Drag, | |
| 755 | LockedToPart = LockedToPart, | |
| 756 | VelocityInheritance = VelocityInheritance, | |
| 757 | EmissionDirection = EmissionDirection, | |
| 758 | Enabled = Enabled, | |
| 759 | Lifetime = LifeTime, | |
| 760 | Rate = Rate, | |
| 761 | Rotation = Rotation, | |
| 762 | RotSpeed = RotSpeed, | |
| 763 | Speed = Speed, | |
| 764 | VelocitySpread = VelocitySpread, | |
| 765 | } | |
| 766 | return fp | |
| 767 | end; | |
| 768 | }; | |
| 769 | ||
| 770 | CreateTemplate = {
| |
| 771 | ||
| 772 | }; | |
| 773 | } | |
| 774 | ||
| 775 | sound = Instance.new("Sound", Character)
| |
| 776 | sound.SoundId = "rbxassetid://362573120" | |
| 777 | sound.Volume = 6 | |
| 778 | sound.Pitch = 1.2 | |
| 779 | sound.EmitterSize = 100 | |
| 780 | sound:Play() | |
| 781 | sound.Looped = true | |
| 782 | if chr:FindFirstChild('Left Arm') == nil or chr:FindFirstChild('Torso') == nil or chr.Torso:FindFirstChild('Left Shoulder') == nil then
| |
| 783 | leftarm = false | |
| 784 | end | |
| 785 | local weldas = Instance.new('Weld',obj2)
| |
| 786 | if leftarm and chr:FindFirstChild('Left Arm') then
| |
| 787 | weldas.Part0 = obj2 | |
| 788 | weldas.Part1 = chr["Left Arm"] | |
| 789 | weldas.C0 = CFrame.new(0,-0.85,-0.30)*CFrame.Angles(math.rad(50),math.rad(0),math.rad(180)) | |
| 790 | elseif chr:FindFirstChild('Right Arm') then
| |
| 791 | weldas.Part0 = obj2 | |
| 792 | weldas.Part1 = chr["Right Arm"] | |
| 793 | weldas.C0 = CFrame.new(0,-0.85,-0.30)*CFrame.Angles(math.rad(50),math.rad(0),math.rad(180)) | |
| 794 | end | |
| 795 | ||
| 796 | ||
| 797 | if leftarm and chr:FindFirstChild('Left Arm') and chr:FindFirstChild('Torso') and chr.Torso:FindFirstChild('Left Shoulder') then
| |
| 798 | chr:FindFirstChild('Left Arm').AncestryChanged:connect(function(me,par)
| |
| 799 | if par ~= chr and chr:FindFirstChild('Right Arm') then
| |
| 800 | if obj2 and obj2:FindFirstChildOfClass('Weld') then
| |
| 801 | obj2:FindFirstChildOfClass('Weld').Part1 = chr["Right Arm"]
| |
| 802 | end | |
| 803 | leftarm = false | |
| 804 | end | |
| 805 | end) | |
| 806 | chr.Torso:FindFirstChild('Left Shoulder').AncestryChanged:connect(function(me,par)
| |
| 807 | if par ~= chr:FindFirstChild('Torso') and chr:FindFirstChild('Right Arm') then
| |
| 808 | if obj2 and obj2:FindFirstChildOfClass('Weld') then
| |
| 809 | obj2:FindFirstChildOfClass('Weld').Part1 = chr["Right Arm"]
| |
| 810 | end | |
| 811 | end | |
| 812 | leftarm = false | |
| 813 | end) | |
| 814 | elseif leftarm then | |
| 815 | if obj2 and obj2:FindFirstChildOfClass('Weld') and chr:FindFirstChild('Right Arm') then
| |
| 816 | obj2:FindFirstChildOfClass('Weld').Part1 = chr["Right Arm"]
| |
| 817 | end | |
| 818 | end | |
| 819 | ||
| 820 | mou.KeyDown:connect(function(key) | |
| 821 | if key == string.lower(curkey) then | |
| 822 | active = not active | |
| 823 | end | |
| 824 | end) | |
| 825 | ||
| 826 | plr.Chatted:connect(function(msg) | |
| 827 | if string.lower(string.sub(msg,1,5)) == "!bind" then | |
| 828 | curkey = string.lower(string.sub(msg,7,7)) | |
| 829 | notify([[Changed key for equip/unequip to "]]..curkey..[[".]],false) | |
| 830 | end | |
| 831 | end) | |
| 832 | ||
| 833 | game:GetService('RunService').Stepped:connect(function()
| |
| 834 | if active and chr:FindFirstChild('Torso') then
| |
| 835 | if leftarm then | |
| 836 | chr.Torso["Left Shoulder"].C0 = calculate() | |
| 837 | else | |
| 838 | chr.Torso["Right Shoulder"].C0 = calculate() | |
| 839 | end | |
| 840 | weldas.Part1 = chr["Right Arm"] | |
| 841 | weldas.C0 = CFrame.new(0,-0.85,-0.30)*CFrame.Angles(math.rad(50),math.rad(0),math.rad(180)) | |
| 842 | elseif chr:FindFirstChild('Torso') and (chr.Torso:FindFirstChild('Left Shoulder') or chr.Torso:FindFirstChild('Right Shoulder')) then
| |
| 843 | if leftarm then | |
| 844 | chr.Torso["Left Shoulder"].C0 = CFrame.new(-1,0.5,0)*CFrame.Angles(0,-math.pi/2,0) | |
| 845 | else | |
| 846 | chr.Torso["Right Shoulder"].C0 = CFrame.new(1,0.5,0)*CFrame.Angles(0,math.pi/2,0) | |
| 847 | end | |
| 848 | weldas.Part1 = chr.Torso | |
| 849 | weldas.C0 = CFrame.new(-1,0,-1)*CFrame.Angles(math.rad(-90),0,0) | |
| 850 | end | |
| 851 | for i,v in pairs(stunneds) do | |
| 852 | v.PlatformStand = true | |
| 853 | end | |
| 854 | end) | |
| 855 | ||
| 856 | mou.Button1Down:connect(function() | |
| 857 | if active then | |
| 858 | fire() | |
| 859 | end | |
| 860 | end) | |
| 861 | print("Original Glock made by ???")
| |
| 862 | print("Edited by Knowlton to make it heavy pow and rainbow I guess")
| |
| 863 | --------------- | |
| 864 | while true do | |
| 865 | obj2.BrickColor = BrickColor.new (math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random()) | |
| 866 | obj3.BrickColor = BrickColor.new (math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random()) | |
| 867 | obj4.BrickColor = BrickColor.new (math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random()) | |
| 868 | obj5.BrickColor = BrickColor.new (math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random()) | |
| 869 | obj6.BrickColor = BrickColor.new (math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random()) | |
| 870 | obj7.BrickColor = BrickColor.new (math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random()) | |
| 871 | obj8.BrickColor = BrickColor.new (math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random()) | |
| 872 | obj9.BrickColor = BrickColor.new (math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random()) | |
| 873 | wait(0.1) | |
| 874 | ---------------- | |
| 875 | end | |
| 876 | notify([["Press "f" to equip/unequip, now start powing."]],false) |