SHOW:
|
|
- or go back to the newest paste.
| 1 | - | local marble = Instance.new("Part", owner.Character)
|
| 1 | + | View = Instance.new("Seat", owner.Character)
|
| 2 | gun = Instance.new("Part", owner.Character)
| |
| 3 | gun.Size = Vector3.new(1,1,3) | |
| 4 | - | marble.Shape = Enum.PartType.Ball |
| 4 | + | Bullet = Instance.new("Part", owner.Character)
|
| 5 | - | marble.Size = Vector3.new(8,8,8) |
| 5 | + | Bullet.Position = Vector3.new(1000000,1000000,1000000) |
| 6 | - | local decal = Instance.new("Decal", marble)
|
| 6 | + | Bullet.Anchored = true |
| 7 | - | decal.Face = Enum.NormalId.Top |
| 7 | + | Bullet.CanCollide = false |
| 8 | - | local happyFace = "http://www.roblox.com/asset/?id=4435280948" |
| 8 | + | Bullet2 = Instance.new("Part", owner.Character)
|
| 9 | - | decal.Texture = happyFace |
| 9 | + | Bullet2.Position = Vector3.new(1000000,1000000,1000000) |
| 10 | - | marble.Material = "Slate" |
| 10 | + | Bullet2.Anchored = true |
| 11 | - | marble.BrickColor = BrickColor.new("Bright yellow")
|
| 11 | + | Bullet2.CanCollide = false |
| 12 | View.Name = "ea" | |
| 13 | local Hit = Instance.new("Sound", gun)
| |
| 14 | - | marble.Name = "Ball" |
| 14 | + | Hit.SoundId = "rbxassetid://7127178250" |
| 15 | - | marble:SetNetworkOwner(owner) |
| 15 | + | Hit.Volume = 0 |
| 16 | - | local density = 1 |
| 16 | + | local Gaming = Instance.new("Sound", gun)
|
| 17 | - | local friction = 1 |
| 17 | + | Gaming.SoundId = "rbxassetid://6544927564" |
| 18 | - | local elasticity = 0 |
| 18 | + | Gaming.Volume = 10 |
| 19 | - | local frictionWeight = 100000000000 |
| 19 | + | Gaming:Play() |
| 20 | - | local elasticityWeight = 0 |
| 20 | + | Hit.Looped = true |
| 21 | - | local physProperties = PhysicalProperties.new(density, friction, elasticity, frictionWeight, elasticityWeight) |
| 21 | + | Hit:Play() |
| 22 | - | marble.CustomPhysicalProperties = physProperties |
| 22 | + | local power = Instance.new("Sound", gun)
|
| 23 | power.SoundId = "rbxassetid://6742297936" | |
| 24 | - | local char = owner.Character |
| 24 | + | power.Volume = 1 |
| 25 | - | local HRP = owner.Character.Head |
| 25 | + | local start = Instance.new("Sound", gun)
|
| 26 | - | local marble = owner.Character:WaitForChild("Ball")
|
| 26 | + | start.SoundId = "rbxassetid://7380658325" |
| 27 | start.Volume = 1 | |
| 28 | - | local Velocity = Instance.new("BodyAngularVelocity")
|
| 28 | + | local endlol = Instance.new("Sound", gun)
|
| 29 | - | Velocity.Parent = marble |
| 29 | + | endlol.SoundId = "rbxassetid://7380658184" |
| 30 | - | local Hum = char:WaitForChild("Humanoid")
|
| 30 | + | endlol.Volume = 1 |
| 31 | - | Hum.PlatformStand = true |
| 31 | + | local E2 = Instance.new("RemoteEvent", owner.Character)
|
| 32 | E2.Name = "The" | |
| 33 | - | velocitylol.MaxForce = Vector3.new(0,0,0) |
| 33 | + | local E = Instance.new("RemoteEvent", owner.Character)
|
| 34 | E.Name = "shootlol" | |
| 35 | - | bg.P = 10000000 |
| 35 | + | local Eagain = Instance.new("RemoteEvent", owner.Character)
|
| 36 | - | bg.MaxTorque = Vector3.new(0,0,0) |
| 36 | + | Eagain.Name = "shootlol2" |
| 37 | - | local Mouse = owner:GetMouse() |
| 37 | + | local Elol = Instance.new("RemoteEvent", owner.Character)
|
| 38 | - | function KeyDown(key) |
| 38 | + | Elol.Name = "sounds" |
| 39 | - | key = key:lower() |
| 39 | + | View.Anchored = true |
| 40 | - | if key:byte() == 32 then |
| 40 | + | View.BottomSurface = Enum.SurfaceType.Smooth |
| 41 | - | velocitylol.MaxForce = Vector3.new(0,math.huge,0) |
| 41 | + | View.TopSurface = Enum.SurfaceType.Smooth |
| 42 | - | velocitylol.Velocity = Vector3.new(0,50,0) |
| 42 | + | Mesh = Instance.new("SpecialMesh")
|
| 43 | - | wait(0.25) |
| 43 | + | Mesh.Parent = View |
| 44 | - | velocitylol.Velocity = Vector3.new(0,0,0) |
| 44 | + | Mesh.MeshId = "http://www.roblox.com/asset/?id=901143326" |
| 45 | - | velocitylol.MaxForce = Vector3.new(0,0,0) |
| 45 | + | Mesh2 = Instance.new("SpecialMesh")
|
| 46 | Mesh2.Parent = gun | |
| 47 | Mesh2.MeshId = "http://www.roblox.com/asset/?id=1809269364" | |
| 48 | - | Mouse.KeyDown:Connect(KeyDown) |
| 48 | + | View.BrickColor = BrickColor.new("Black")
|
| 49 | - | local speed = 24 |
| 49 | + | gun.BrickColor = BrickColor.new("Black")
|
| 50 | - | function sprinton(key) |
| 50 | + | Bullet.BrickColor = BrickColor.new("Bright yellow")
|
| 51 | Mesh.Scale = Vector3.new(0.0625, 0.0625, 0.0625) | |
| 52 | - | if key:byte() == 48 then |
| 52 | + | Mesh.Offset = Vector3.new(0, 1.9735, 0) |
| 53 | - | speed = 50 |
| 53 | + | Weld4 = Instance.new("Weld", View)
|
| 54 | Weld4.Part0 = gun | |
| 55 | Weld4.Part1 = View | |
| 56 | - | function sprintoff(key) |
| 56 | + | Weld4.C0 = CFrame.new(1.5,0,-5.5) * CFrame.Angles(0,135,0) |
| 57 | wait(0.5) | |
| 58 | - | if key:byte() == 48 then |
| 58 | + | |
| 59 | - | speed = 24 |
| 59 | + | local view = owner.Character:WaitForChild("ea")
|
| 60 | view.Transparency = 1 | |
| 61 | marble = Instance.new("Part", owner.Character)
| |
| 62 | - | Mouse.KeyUp:connect(sprintoff) |
| 62 | + | |
| 63 | - | Mouse.KeyDown:connect(sprinton) |
| 63 | + | marble.CanCollide = false |
| 64 | - | local ReplicatedStorage = game:GetService("ReplicatedStorage")
|
| 64 | + | Mesh2 = Instance.new("SpecialMesh")
|
| 65 | - | local grow = ReplicatedStorage:WaitForChild("growinglol")
|
| 65 | + | Mesh2.Parent = marble |
| 66 | - | function gro(key) |
| 66 | + | Mesh2.MeshId = "http://www.roblox.com/asset/?id=901143326" |
| 67 | marble.BrickColor = BrickColor.new("Black")
| |
| 68 | Mesh2.Scale = Vector3.new(0.0625, 0.0625, 0.0625) | |
| 69 | - | grow:FireServer("Grolol")
|
| 69 | + | Mesh2.Offset = Vector3.new(0, 1.9735, 0) |
| 70 | - | workspace.CurrentCamera.FieldOfView = workspace.CurrentCamera.FieldOfView + 25 |
| 70 | + | |
| 71 | - | elseif key == "e" then |
| 71 | + | |
| 72 | - | grow:FireServer("shrink")
|
| 72 | + | |
| 73 | - | workspace.CurrentCamera.FieldOfView = workspace.CurrentCamera.FieldOfView - 25 |
| 73 | + | |
| 74 | workspace.CurrentCamera.CameraSubject = marble | |
| 75 | mouse = owner:GetMouse() | |
| 76 | - | Mouse.KeyDown:connect(gro) |
| 76 | + | wait(0.125) |
| 77 | local velocitylol = Instance.new("BodyVelocity", marble)
| |
| 78 | ||
| 79 | - | marble.BodyAngularVelocity.AngularVelocity = Vector3.new(char.Humanoid.MoveDirection.z * 16,0,char.Humanoid.MoveDirection.x * -16) |
| 79 | + | local movez = 0 |
| 80 | - | marble.BodyAngularVelocity.MaxTorque = Vector3.new(1000000,1000000,1000000) |
| 80 | + | |
| 81 | - | bg.MaxTorque = Vector3.new(0,0,0) |
| 81 | + | mouse.KeyDown:connect(function(key) |
| 82 | - | velocitylol.MaxForce = Vector3.new(0,0,0) |
| 82 | + | |
| 83 | - | if char.Humanoid.MoveDirection == Vector3.new(0,0,0) then |
| 83 | + | if key == "w" then |
| 84 | - | marble.BodyAngularVelocity.MaxTorque = Vector3.new(0,0,0) |
| 84 | + | movez = movez + 32 |
| 85 | - | bg.MaxTorque = Vector3.new(math.huge,math.huge,math.huge) |
| 85 | + | elseif key == "s" then |
| 86 | - | bg.CFrame = marble.CFrame |
| 86 | + | movez = movez - 32 |
| 87 | - | velocitylol.MaxForce = Vector3.new(math.huge,0,math.huge) |
| 87 | + | |
| 88 | - | velocitylol.Velocity = Vector3.new() |
| 88 | + | end) |
| 89 | ||
| 90 | mouse.KeyUp:connect(function(key) | |
| 91 | - | ]],marble) |
| 91 | + | |
| 92 | - | owner.Character.HumanoidRootPart.Position = Vector3.new(10000,10000,10000) |
| 92 | + | if key == "w" then |
| 93 | movez = movez - 32 | |
| 94 | - | owner.Character.HumanoidRootPart.Anchored = true |
| 94 | + | elseif key == "s" then |
| 95 | - | local ReplicatedStorage = game:GetService("ReplicatedStorage")
|
| 95 | + | movez = movez + 32 |
| 96 | - | local grow = Instance.new("RemoteEvent", ReplicatedStorage)
|
| 96 | + | |
| 97 | - | grow.Name = "growinglol" |
| 97 | + | end) |
| 98 | wait(0.5) | |
| 99 | - | local function sizer(player, action) |
| 99 | + | |
| 100 | - | if action == "shrink" then |
| 100 | + | bg.D = 100 |
| 101 | - | marble.Size = marble.Size * 0.75 |
| 101 | + | bg.P = 10000 |
| 102 | - | elseif action == "Grolol" then |
| 102 | + | bg.MaxTorque = Vector3.new(400000, 400000, 400000) |
| 103 | - | marble.Size = marble.Size * 1.25 |
| 103 | + | coroutine.wrap(function() |
| 104 | while true do | |
| 105 | task.wait() | |
| 106 | Camera = workspace.CurrentCamera | |
| 107 | - | grow.OnServerEvent:Connect(sizer) |
| 107 | + | velocitylol.MaxForce = Vector3.new(math.huge,math.huge,math.huge) |
| 108 | velocitylol.Velocity = Camera.CFrame.LookVector * movez | |
| 109 | bg.cframe = CFrame.new(Camera.CFrame.Position, marble.CFrame.Position) | |
| 110 | end | |
| 111 | end)() | |
| 112 | local bp = Instance.new("BodyPosition",marble)
| |
| 113 | bp.D = 100 | |
| 114 | bp.P = 0 | |
| 115 | coroutine.wrap(function() | |
| 116 | while true do | |
| 117 | task.wait() | |
| 118 | if movez == "0" then | |
| 119 | velocitylol.MaxForce = Vector3.new(0,0,0) | |
| 120 | bp.P = 10000 | |
| 121 | bp.position = marble.Position | |
| 122 | else | |
| 123 | bp.P = 0 | |
| 124 | end | |
| 125 | end | |
| 126 | end)() | |
| 127 | local E2 = owner.Character:WaitForChild("The")
| |
| 128 | ||
| 129 | coroutine.wrap(function() | |
| 130 | while true do | |
| 131 | task.wait() | |
| 132 | local pos = marble.CFrame | |
| 133 | E2:FireServer(pos) | |
| 134 | end | |
| 135 | end)() | |
| 136 | local userInputService = game:GetService("UserInputService")
| |
| 137 | local function Jump() | |
| 138 | owner.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Jumping, false) | |
| 139 | end | |
| 140 | ||
| 141 | userInputService.JumpRequest:Connect(Jump) | |
| 142 | local E = owner.Character:WaitForChild("shootlol")
| |
| 143 | local Eagain = owner.Character:WaitForChild("shootlol2")
| |
| 144 | local Elol = owner.Character:WaitForChild("sounds")
| |
| 145 | cycle = 0 | |
| 146 | mouse.KeyDown:connect(function(key) | |
| 147 | key = key:lower() | |
| 148 | if key == "q" then | |
| 149 | cycle = cycle - 1 | |
| 150 | if cycle == -1 then | |
| 151 | cycle = 1 | |
| 152 | end | |
| 153 | end | |
| 154 | end) | |
| 155 | ||
| 156 | mouse.KeyDown:connect(function(key) | |
| 157 | key = key:lower() | |
| 158 | if key == "e" then | |
| 159 | cycle = cycle + 1 | |
| 160 | if cycle == 2 then | |
| 161 | cycle = 0 | |
| 162 | end | |
| 163 | end | |
| 164 | end) | |
| 165 | ||
| 166 | mouse.Button1Down:Connect(function() | |
| 167 | if cycle == 0 then | |
| 168 | Elol:FireServer("down")
| |
| 169 | wait(0.87) | |
| 170 | down = true | |
| 171 | elseif cycle == 1 then | |
| 172 | Eagain:FireServer("down")
| |
| 173 | wait(1) | |
| 174 | down2 = true | |
| 175 | wait(1.5) | |
| 176 | down2 = false | |
| 177 | Eagain:FireServer("down")
| |
| 178 | end | |
| 179 | end) | |
| 180 | mouse.Button1Up:Connect(function() | |
| 181 | down = false | |
| 182 | Elol:FireServer("down")
| |
| 183 | end) | |
| 184 | coroutine.wrap(function() | |
| 185 | while true do | |
| 186 | task.wait() | |
| 187 | if down then | |
| 188 | local position = mouse.Hit.Position | |
| 189 | E:FireServer(position) | |
| 190 | end | |
| 191 | end | |
| 192 | end)() | |
| 193 | ]],owner.PlayerGui) | |
| 194 | wait(0.1) | |
| 195 | function Position(player, pos) | |
| 196 | View.CFrame = pos | |
| 197 | end | |
| 198 | E2.OnServerEvent:Connect(Position) | |
| 199 | View:Sit(owner.Character.Humanoid) | |
| 200 | runservice = game:GetService("RunService")
| |
| 201 | local billboardgame = Instance.new("BillboardGui", owner.character.Head)
| |
| 202 | billboardgame.Adornee = owner.character.Head | |
| 203 | billboardgame.StudsOffset = Vector3.new(-1, 4, 0) | |
| 204 | billboardgame.Size = UDim2.new(2,0,1,0) | |
| 205 | billboardgame.Name = "gaming" | |
| 206 | local textgame = Instance.new("TextBox", billboardgame)
| |
| 207 | textgame.BackgroundTransparency = 1 | |
| 208 | textgame.TextSize = 40 | |
| 209 | textgame.TextStrokeTransparency = 0.5 | |
| 210 | textgame.Size = billboardgame.Size | |
| 211 | textgame.Font = "Arcade" | |
| 212 | textgame.TextColor3 = Color3.fromRGB(245, 205, 48) | |
| 213 | textgame.TextStrokeColor3 = Color3.fromRGB(139, 112, 6) | |
| 214 | textgame.Text = "Gaming Chai r" | |
| 215 | local clickSound = Instance.new("Sound", owner.Character.Head)
| |
| 216 | clickSound.Volume = 2 | |
| 217 | clickSound.SoundId = "rbxassetid://4724430129" | |
| 218 | owner.Chatted:connect(function(butwhathechatted) | |
| 219 | if owner.character.Head:findFirstChild("chat") then
| |
| 220 | owner.character.Head:findFirstChild("chat"):destroy()
| |
| 221 | end | |
| 222 | local chatopen = Instance.new("Sound", owner.Character.Head)
| |
| 223 | chatopen.Volume = 1 | |
| 224 | chatopen.SoundId = "rbxassetid://1293432625" | |
| 225 | chatopen:play() | |
| 226 | local chatclose = Instance.new("Sound", owner.Character.Head)
| |
| 227 | chatclose.Volume = 1 | |
| 228 | chatclose.SoundId = "rbxassetid://1293432192" | |
| 229 | local billboard = Instance.new("BillboardGui", owner.character.Head)
| |
| 230 | billboard.Adornee = owner.character.Head | |
| 231 | billboard.StudsOffset = Vector3.new(-1, 2.5, 0) | |
| 232 | billboard.Size = UDim2.new(2,0,1,0) | |
| 233 | billboard.Name = "chat" | |
| 234 | local text = Instance.new("TextBox", billboard)
| |
| 235 | text.BackgroundTransparency = 1 | |
| 236 | text.TextSize = 25 | |
| 237 | text.TextStrokeTransparency = 0.5 | |
| 238 | text.Size = billboard.Size | |
| 239 | text.Font = "Arcade" | |
| 240 | text.TextColor3 = Color3.fromRGB(245, 205, 48) | |
| 241 | text.TextStrokeColor3 = Color3.fromRGB(25, 25, 25) | |
| 242 | text.Text = butwhathechatted | |
| 243 | for i = 1, #butwhathechatted do | |
| 244 | text.Text = string.sub(butwhathechatted,1,i) | |
| 245 | clickSound.PlaybackSpeed = math.random(70, 185)/100 | |
| 246 | wait(0.125) | |
| 247 | clickSound:Play() | |
| 248 | end | |
| 249 | text.Text = butwhathechatted | |
| 250 | coroutine.wrap(function() | |
| 251 | wait(3) | |
| 252 | for i = 1,50 do | |
| 253 | billboard.StudsOffset = billboard.StudsOffset - Vector3.new(0,-0.01,0) | |
| 254 | text.TextTransparency = text.TextTransparency + 0.02 | |
| 255 | text.TextStrokeTransparency = text.TextStrokeTransparency + 0.02 | |
| 256 | runservice.Stepped:wait() | |
| 257 | end | |
| 258 | billboard:destroy() | |
| 259 | chatclose:play() | |
| 260 | end)() | |
| 261 | end) | |
| 262 | E.OnServerEvent:Connect(function(player, position) | |
| 263 | local origin = gun.Position | |
| 264 | local direction = (position - origin).Unit*300 | |
| 265 | local result = game.Workspace:Raycast(origin, direction) | |
| 266 | ||
| 267 | local intersection = result and result.Position or origin + direction | |
| 268 | local distance = (origin - intersection).Magnitude | |
| 269 | ||
| 270 | local bullet_clone = Bullet:Clone() | |
| 271 | bullet_clone.Size = Vector3.new(0.1, 0.1, distance) | |
| 272 | bullet_clone.CFrame = CFrame.new(origin, intersection)*CFrame.new(0, 0, -distance/2) | |
| 273 | bullet_clone.Parent = game.Workspace | |
| 274 | ||
| 275 | if result then | |
| 276 | local part = result.Instance | |
| 277 | local humanoid = part.Parent:FindFirstChild("Humanoid") or part.Parent.Parent:FindFirstChild("Humanoid")
| |
| 278 | ||
| 279 | if humanoid then | |
| 280 | if humanoid ~= owner.Character.Humanoid then | |
| 281 | humanoid:TakeDamage(10) | |
| 282 | end | |
| 283 | end | |
| 284 | end | |
| 285 | wait(0.25) | |
| 286 | bullet_clone:Destroy() | |
| 287 | end) | |
| 288 | Eagain.OnServerEvent:Connect(function(player, position2) | |
| 289 | local origin2 = gun.Position + Vector3.new(0,0,5.5) | |
| 290 | local direction2 = (position2 - origin2).Unit*300 | |
| 291 | local result2 = game.Workspace:Raycast(origin2, direction2) | |
| 292 | ||
| 293 | local intersection2 = result2 and result2.Position or origin2 + direction2 | |
| 294 | local distance2 = (origin2 - intersection2).Magnitude | |
| 295 | ||
| 296 | local bullet_clone2 = Bullet2:Clone() | |
| 297 | bullet_clone2.Size = Vector3.new(2.5, 2.5, distance2) | |
| 298 | bullet_clone2.CFrame = CFrame.new(origin2, intersection2)*CFrame.new(0, 0, -distance2/2) | |
| 299 | bullet_clone2.Parent = game.Workspace | |
| 300 | ||
| 301 | if result2 then | |
| 302 | local part2 = result2.Instance | |
| 303 | local humanoid2 = part2.Parent:FindFirstChild("Humanoid") or part2.Parent.Parent:FindFirstChild("Humanoid")
| |
| 304 | ||
| 305 | if humanoid2 then | |
| 306 | if humanoid2 ~= owner.Character.Humanoid then | |
| 307 | humanoid2:Destroy() | |
| 308 | end | |
| 309 | end | |
| 310 | end | |
| 311 | wait(0.25) | |
| 312 | bullet_clone2:Destroy() | |
| 313 | end) | |
| 314 | down = false | |
| 315 | local function soundson() | |
| 316 | if not down then | |
| 317 | start:Play() | |
| 318 | wait(0.87) | |
| 319 | Hit.Volume = 1 | |
| 320 | wait() | |
| 321 | start:Stop() | |
| 322 | wait(0.1) | |
| 323 | down = true | |
| 324 | while down do | |
| 325 | task.wait() | |
| 326 | Weld4.C0 = Weld4.C0 * CFrame.Angles(0,0,0.2) | |
| 327 | end | |
| 328 | elseif down then | |
| 329 | Hit.Volume = 0 | |
| 330 | endlol:Play() | |
| 331 | wait(0.1) | |
| 332 | down = false | |
| 333 | end | |
| 334 | end | |
| 335 | Elol.OnServerEvent:Connect(soundson) |