SHOW:
|
|
- or go back to the newest paste.
| 1 | if game:GetService("RunService"):IsClient() then error("Please run as a server script. Use h/ instead of hl/.") end
| |
| 2 | print("FE Compatibility: by WaverlyCole & Mokiros")
| |
| 3 | InternalData = {}
| |
| 4 | do | |
| 5 | script.Parent = owner.Character | |
| 6 | local Event = Instance.new("RemoteEvent")
| |
| 7 | Event.Name = "UserInput" | |
| 8 | local function NewFakeEvent() | |
| 9 | local Fake = {fakeEvent=true,Connect=function(self,Func)self.Function=Func end}Fake.connect = Fake.Connect
| |
| 10 | return Fake | |
| 11 | end | |
| 12 | local Mouse = {Target=nil,Hit=CFrame.new(),KeyUp=NewFakeEvent(),KeyDown=NewFakeEvent(),Button1Up=NewFakeEvent(),Button1Down=NewFakeEvent()}
| |
| 13 | local UserInputService = {InputBegan=NewFakeEvent(),InputEnded=NewFakeEvent()}
| |
| 14 | local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
| |
| 15 | self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
| |
| 16 | end};ContextActionService.UnBindAction = ContextActionService.BindAction | |
| 17 | local function TriggerEvent(self,Event,...) | |
| 18 | local Trigger = Mouse[Event] | |
| 19 | if Trigger and Trigger.fakeEvent and Trigger.Function then | |
| 20 | Trigger.Function(...) | |
| 21 | end | |
| 22 | end | |
| 23 | Mouse.TrigEvent = TriggerEvent | |
| 24 | UserInputService.TrigEvent = TriggerEvent | |
| 25 | Event.OnServerEvent:Connect(function(FiredBy,Input) | |
| 26 | if FiredBy.Name ~= owner.Name then end | |
| 27 | if Input.MouseEvent then | |
| 28 | Mouse.Target = Input.Target | |
| 29 | Mouse.Hit = Input.Hit | |
| 30 | else | |
| 31 | local Begin = Input.UserInputState == Enum.UserInputState.Begin | |
| 32 | if Input.UserInputType == Enum.UserInputType.MouseButton1 then | |
| 33 | return Mouse:TrigEvent(Begin and "Button1Down" or "Button1Up") | |
| 34 | end | |
| 35 | for _,Action in pairs(ContextActionService.Actions) do | |
| 36 | for _,Key in pairs(Action.Keys) do | |
| 37 | if Key==Input.KeyCode then | |
| 38 | Action.Function(Action.Name,Input.UserInputState,Input) | |
| 39 | end | |
| 40 | end | |
| 41 | end | |
| 42 | Mouse:TrigEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower()) | |
| 43 | UserInputService:TrigEvent(Begin and "InputBegan" or "InputEnded",Input,false) | |
| 44 | end | |
| 45 | end) | |
| 46 | InternalData["Mouse"] = Mouse | |
| 47 | InternalData["ContextActionService"] = ContextActionService | |
| 48 | InternalData["UserInputService"] = UserInputService | |
| 49 | Event.Parent = NLS([[ | |
| 50 | local Player = owner | |
| 51 | local Event = script:WaitForChild("UserInput")
| |
| 52 | local UserInputService = game:GetService("UserInputService")
| |
| 53 | local Mouse = Player:GetMouse() | |
| 54 | local Input = function(Input,gameProcessedEvent) | |
| 55 | if gameProcessedEvent then return end | |
| 56 | Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
| |
| 57 | end | |
| 58 | UserInputService.InputBegan:Connect(Input) | |
| 59 | UserInputService.InputEnded:Connect(Input) | |
| 60 | local Hit,Target | |
| 61 | while wait(1/30) do | |
| 62 | if Hit ~= Mouse.Hit or Target ~= Mouse.Target then | |
| 63 | Hit,Target = Mouse.Hit,Mouse.Target | |
| 64 | Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
| |
| 65 | end | |
| 66 | end | |
| 67 | ]],owner.Character) | |
| 68 | end | |
| 69 | RealGame = game;game = setmetatable({},{
| |
| 70 | __index = function (self,Index) | |
| 71 | local Sandbox = function (Thing) | |
| 72 | if Thing:IsA("Player") then
| |
| 73 | local RealPlayer = Thing | |
| 74 | return setmetatable({},{
| |
| 75 | __index = function (self,Index) | |
| 76 | local Type = type(RealPlayer[Index]) | |
| 77 | if Type == "function" then | |
| 78 | if Index:lower() == "getmouse" or Index:lower() == "mouse" then | |
| 79 | return function (self) | |
| 80 | return InternalData["Mouse"] | |
| 81 | end | |
| 82 | end | |
| 83 | return function (self,...) | |
| 84 | return RealPlayer[Index](RealPlayer,...) | |
| 85 | end | |
| 86 | else | |
| 87 | if Index == "PlrObj" then | |
| 88 | return RealPlayer | |
| 89 | end | |
| 90 | return RealPlayer[Index] | |
| 91 | end | |
| 92 | end; | |
| 93 | __tostring = function(self) | |
| 94 | return RealPlayer.Name | |
| 95 | end | |
| 96 | }) | |
| 97 | end | |
| 98 | end | |
| 99 | if RealGame[Index] then | |
| 100 | local Type = type(RealGame[Index]) | |
| 101 | if Type == "function" then | |
| 102 | if Index:lower() == "getservice" or Index:lower() == "service" then | |
| 103 | return function (self,Service) | |
| 104 | if Service:lower() == "players" then | |
| 105 | return setmetatable({},{
| |
| 106 | __index = function (self2,Index2) | |
| 107 | local RealService = RealGame:GetService(Service) | |
| 108 | local Type2 = type(Index2) | |
| 109 | if Type2 == "function" then | |
| 110 | return function (self,...) | |
| 111 | return RealService[Index2](RealService,...) | |
| 112 | end | |
| 113 | else | |
| 114 | if Index2:lower() == "localplayer" then | |
| 115 | return Sandbox(owner) | |
| 116 | end | |
| 117 | return RealService[Index2] | |
| 118 | end | |
| 119 | end; | |
| 120 | __tostring = function(self) | |
| 121 | return RealGame:GetService(Service).Name | |
| 122 | end | |
| 123 | }) | |
| 124 | elseif Service:lower() == "contextactionservice" then | |
| 125 | return InternalData["ContextActionService"] | |
| 126 | elseif Service:lower() == "contextactionservice" then | |
| 127 | return InternalData["UserInputService"] | |
| 128 | elseif Service:lower() == "runservice" then | |
| 129 | return setmetatable({},{
| |
| 130 | __index = function(self2,Index2) | |
| 131 | local RealService = RealGame:GetService(Service) | |
| 132 | local Type2 = type(Index2) | |
| 133 | if Type2 == "function" then | |
| 134 | return function (self,...) | |
| 135 | return RealService[Index2](RealService,...) | |
| 136 | end | |
| 137 | else | |
| 138 | if Index2:lower() == "bindtorenderstep" then | |
| 139 | return function (self,Name,Priority,Function) | |
| 140 | return RealGame:GetService("RunService").Stepped:Connect(Function)
| |
| 141 | end | |
| 142 | end | |
| 143 | if Index2:lower() == "renderstepped" then | |
| 144 | return RealService["Stepped"] | |
| 145 | end | |
| 146 | return RealService[Index2] | |
| 147 | end | |
| 148 | end | |
| 149 | }) | |
| 150 | else | |
| 151 | return RealGame:GetService(Service) | |
| 152 | end | |
| 153 | end | |
| 154 | end | |
| 155 | return function (self,...) | |
| 156 | return RealGame[Index](RealGame,...) | |
| 157 | end | |
| 158 | else | |
| 159 | if game:GetService(Index) then | |
| 160 | return game:GetService(Index) | |
| 161 | end | |
| 162 | return RealGame[Index] | |
| 163 | end | |
| 164 | else | |
| 165 | return nil | |
| 166 | end | |
| 167 | end | |
| 168 | });Game = game;owner = game:GetService("Players").LocalPlayer;script = {}
| |
| 169 | print("Complete! Running...")
| |
| 170 | ||
| 171 | print("controls:")
| |
| 172 | print("z - make it morning")
| |
| 173 | print("x - make it night")
| |
| 174 | print("c - clean workspace")
| |
| 175 | print("v - heal the player your mouse is pointing at")
| |
| 176 | print("f - make the player your mouse is pointing at fat")
| |
| 177 | print("n - make everyone fat")
| |
| 178 | print("e - annihilate the player your mouse is pointing at")
| |
| 179 | print("p - suicide")
| |
| 180 | print("k - kill other players")
| |
| 181 | print("b - control the player your mouse it pointing at")
| |
| 182 | print("r - tp evryone to you")
| |
| 183 | print("t - send the player your mouse is pointing at to 'heaven'")
| |
| 184 | print("q - spawn pet")
| |
| 185 | print("g - spawn a blackhole")
| |
| 186 | oil = game.Players.LocalPlayer | |
| 187 | sauce = oil.Character | |
| 188 | tor = sauce:FindFirstChild("Torso") or sauce:FindFirstChild("UpperTorso")
| |
| 189 | head = sauce:FindFirstChild("Head")
| |
| 190 | larm = sauce:FindFirstChild("Left Arm") or sauce:FindFirstChild("LeftUpperArm")
| |
| 191 | rarm = sauce:FindFirstChild("Right Arm") or sauce:FindFirstChild("RightUpperArm")
| |
| 192 | rleg = sauce:FindFirstChild("Right Leg") or sauce:FindFirstChild("RightUpperLeg")
| |
| 193 | lleg = sauce:FindFirstChild("Left Leg") or sauce:FindFirstChild("LeftUpperLeg")
| |
| 194 | hum = sauce:FindFirstChildOfClass("Humanoid")
| |
| 195 | humroot = sauce:FindFirstChild("HumanoidRootPart")
| |
| 196 | mou = oil:GetMouse() | |
| 197 | remoteequipped = true | |
| 198 | controlling = false | |
| 199 | light = game:GetService("Lighting")
| |
| 200 | tool = Instance.new("Tool", oil.Backpack)
| |
| 201 | tool.Name = "Remote" | |
| 202 | hand = Instance.new("Part", tool)
| |
| 203 | hand.Name = "Handle" | |
| 204 | hand.Size = Vector3.new(1, 1, 1) | |
| 205 | hand.Transparency = 1 | |
| 206 | p1 = Instance.new("Part", hand)
| |
| 207 | p1.Size = Vector3.new(0.6, 0.1, 1.2) | |
| 208 | p1.Material = "Metal" | |
| 209 | p1.Name = "p1" | |
| 210 | p2 = Instance.new("Part", hand)
| |
| 211 | p2.Size = Vector3.new(0.4, 0.1, 0.1) | |
| 212 | p2.Material = "Metal" | |
| 213 | p2.Name = "p2" | |
| 214 | p2.Shape = "Cylinder" | |
| 215 | p3 = Instance.new("Part", hand)
| |
| 216 | p3.Shape = "Ball" | |
| 217 | p3.Material = "Neon" | |
| 218 | p3.Size = Vector3.new(0.15, 0.15, 0.15) | |
| 219 | p3.BrickColor = BrickColor.new("Crimson")
| |
| 220 | p3.Name = "p3" | |
| 221 | p4 = Instance.new("Part", hand)
| |
| 222 | p4.Size = Vector3.new(0.2, 0.4, 0.4) | |
| 223 | p4.Material = "Neon" | |
| 224 | p4.Name = "p4" | |
| 225 | p4.BrickColor = BrickColor.new("Maroon")
| |
| 226 | p4.Shape = "Cylinder" | |
| 227 | w1 = Instance.new("Weld", p1)
| |
| 228 | w1.Part0 = hand | |
| 229 | w1.Part1 = p1 | |
| 230 | w1.C1 = CFrame.new(0, 0, 0.6) | |
| 231 | w1.Name = "w1" | |
| 232 | w2 = Instance.new("Weld", p2)
| |
| 233 | w2.Part0 = hand | |
| 234 | w2.Part1 = p2 | |
| 235 | w2.C1 = CFrame.new(1.3, 0, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) | |
| 236 | w3 = Instance.new("Weld", p3)
| |
| 237 | w3.Part0 = hand | |
| 238 | w3.Part1 = p3 | |
| 239 | w3.C1 = CFrame.new(0, 0, 1.5) | |
| 240 | w4 = Instance.new("Weld", p4)
| |
| 241 | w4.Part0 = hand | |
| 242 | w4.Part1 = p4 | |
| 243 | w4.C1 = CFrame.new(0.1, 0, 0.6) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) | |
| 244 | ||
| 245 | ||
| 246 | tool.Equipped:connect(function() | |
| 247 | remoteequipped = true | |
| 248 | function pressed(key) | |
| 249 | if remoteequipped == true then | |
| 250 | if key == "x" then | |
| 251 | light.TimeOfDay = 21 | |
| 252 | elseif key == "z" then | |
| 253 | light.TimeOfDay = 7 | |
| 254 | elseif key == "c" then | |
| 255 | for i,v in pairs(workspace:GetChildren()) do | |
| 256 | if v:IsA("Part") and v.Name ~= "Base" then
| |
| 257 | v.Locked = false | |
| 258 | v:remove() | |
| 259 | end | |
| 260 | if v:IsA("Model") and not v:FindFirstChildOfClass("Humanoid") then
| |
| 261 | v:remove() | |
| 262 | end | |
| 263 | end | |
| 264 | elseif key == "p" then | |
| 265 | hum.Health = 0 | |
| 266 | elseif key == "k" then | |
| 267 | for i,v in pairs(workspace:GetChildren()) do | |
| 268 | if v:IsA("Model") and v:FindFirstChildOfClass("Humanoid") and v.Name ~= sauce.Name then
| |
| 269 | khum = v:FindFirstChildOfClass("Humanoid")
| |
| 270 | khum.Health = 0 | |
| 271 | end | |
| 272 | end | |
| 273 | elseif key == "r" then | |
| 274 | for i,v in pairs(workspace:GetChildren()) do | |
| 275 | if v:IsA("Model") and v:FindFirstChildOfClass("Humanoid") and v.Name ~= sauce.Name then
| |
| 276 | vtor = v:FindFirstChild("Torso" )or v:FindFirstChild("UpperTorso")
| |
| 277 | vtor.CFrame = tor.CFrame * CFrame.new(0, 0, -5) | |
| 278 | end | |
| 279 | end | |
| 280 | elseif key == "v" then | |
| 281 | if mou.Target.Parent and mou.Target.Parent:FindFirstChildOfClass("Humanoid") then
| |
| 282 | mouhum = mou.Target.Parent:FindFirstChildOfClass("Humanoid")
| |
| 283 | mouhum.Health = mouhum.MaxHealth | |
| 284 | mouhead = mou.Target.Parent:FindFirstChild("Head")
| |
| 285 | bill = Instance.new("BillboardGui", mouhead)
| |
| 286 | bill.AlwaysOnTop = true | |
| 287 | bill.StudsOffset = Vector3.new(0, 2, 0) | |
| 288 | bill.Adornee = mouhead | |
| 289 | bill.Size = UDim2.new(5, 35, 5, 35) | |
| 290 | btext = Instance.new("TextLabel", bill)
| |
| 291 | btext.Text = mou.Target.Parent.Name.." has been Healed!" | |
| 292 | btext.Font = "Bodoni" | |
| 293 | btext.TextSize = 30 | |
| 294 | btext.TextScaled = true | |
| 295 | btext.BorderSizePixel = 0 | |
| 296 | btext.BackgroundTransparency = 1 | |
| 297 | btext.Size = UDim2.new(1.5, 0, 0.5, 0) | |
| 298 | btext.TextColor = BrickColor.new("Bright green")
| |
| 299 | game:GetService("Debris"):AddItem(bill, 2)
| |
| 300 | end | |
| 301 | elseif key == "e" then | |
| 302 | if mou.Target.Parent and mou.Target.Parent:FindFirstChildOfClass("Humanoid") then
| |
| 303 | local nomoretor = mou.Target.Parent:FindFirstChild("Torso") or mou.Target.Parent:FindFirstChild("UpperTorso")
| |
| 304 | local nomorehum = mou.Target.parent:FindFirstChildOfClass("Humanoid")
| |
| 305 | local explo = Instance.new("Explosion", workspace)
| |
| 306 | explo.Position = nomoretor.Position | |
| 307 | nomorehum.Health = 0 | |
| 308 | end | |
| 309 | elseif key == "f" then | |
| 310 | if mou.Target.Parent and mou.Target.Parent:FindFirstChildOfClass("Humanoid") then
| |
| 311 | local fatman = mou.Target.Parent | |
| 312 | local fatmanhum = fatman:FindFirstChildOfClass("Humanoid")
| |
| 313 | fatmanhum.WalkSpeed = 8 | |
| 314 | local fattor = mou.Target.Parent:FindFirstChild("Torso") or mou.Target.Parent:FindFirstChild("UpperTorso")
| |
| 315 | local hinum = Instance.new("Sound", fattor)
| |
| 316 | hinum.SoundId = "rbxassetid://1278031541" | |
| 317 | hinum.Volume = 10 | |
| 318 | local realfat = Instance.new("Part", fattor)
| |
| 319 | realfat.BrickColor = fattor.BrickColor | |
| 320 | realfat.Material = "SmoothPlastic" | |
| 321 | local supaweld = Instance.new("Weld", realfat)
| |
| 322 | supaweld.Part0 = fattor | |
| 323 | supaweld.Part1 = realfat | |
| 324 | local fat = Instance.new("SpecialMesh", realfat)
| |
| 325 | fat.MeshType = "Sphere" | |
| 326 | fat.Scale = Vector3.new(0.6, 1.6, 0.9) | |
| 327 | fat.Offset = Vector3.new(0, -0.4, -0.7) | |
| 328 | hinum:Play() | |
| 329 | if fatman:FindFirstChildOfClass("Shirt") then
| |
| 330 | fatman:FindFirstChildOfClass("Shirt"):remove()
| |
| 331 | end | |
| 332 | end | |
| 333 | elseif key == "b" then | |
| 334 | if mou.Target.Parent and mou.Target.Parent:FindFirstChildOfClass("Humanoid") and controlling == false then
| |
| 335 | controlling = true | |
| 336 | cman = mou.Target.Parent | |
| 337 | mtor = cman:FindFirstChild("Torso") or cman:FindFirstChild("UpperTorso")
| |
| 338 | mlarm = cman:FindFirstChild("Left Arm") or cman:FindFirstChild("LeftUpperArm")
| |
| 339 | mrarm = cman:FindFirstChild("Right Arm") or cman:FindFirstChild("RightUpperArm")
| |
| 340 | mlleg = cman:FindFirstChild("Left Leg") or cman:FindFirstChild("LeftUpperLeg")
| |
| 341 | mrleg = cman:FindFirstChild("Right Leg") or cman:FindFirstChild("RightUpperLeg")
| |
| 342 | mhead = cman:FindFirstChild("Head")
| |
| 343 | mhum = cman:FindFirstChildOfClass("Humanoid")
| |
| 344 | mhum.PlatformStand = true | |
| 345 | hum.NameOcclusion = "NoOcclusion" | |
| 346 | mface = head:FindFirstChild("face")
| |
| 347 | mface.Transparency = 1 | |
| 348 | humroot.Transparency = 1 | |
| 349 | for i,v in pairs(sauce:GetChildren()) do | |
| 350 | if v:IsA("Part") then
| |
| 351 | v.Transparency = 1 | |
| 352 | end | |
| 353 | if v:IsA("Accessory") then
| |
| 354 | v.Handle.Transparency = 1 | |
| 355 | end | |
| 356 | end | |
| 357 | ow1 = Instance.new("Weld", tor)
| |
| 358 | ow1.Part0 = tor | |
| 359 | ow1.Part1 = mtor | |
| 360 | ow2 = Instance.new("Weld", larm)
| |
| 361 | ow2.Part0 = larm | |
| 362 | ow2.Part1 = mlarm | |
| 363 | ow3 = Instance.new("Weld", rarm)
| |
| 364 | ow3.Part0 = rarm | |
| 365 | ow3.Part1 = mrarm | |
| 366 | ow4 = Instance.new("Weld", lleg)
| |
| 367 | ow4.Part0 = lleg | |
| 368 | ow4.Part1 = mlleg | |
| 369 | ow5 = Instance.new("Weld", rleg)
| |
| 370 | ow5.Part0 = rleg | |
| 371 | ow5.Part1 = mrleg | |
| 372 | ow6 = Instance.new("Weld", head)
| |
| 373 | ow6.Part0 = head | |
| 374 | ow6.Part1 = mhead | |
| 375 | elseif controlling == true then | |
| 376 | controlling = false | |
| 377 | ow1:Destroy() | |
| 378 | ow2:Destroy() | |
| 379 | ow3:Destroy() | |
| 380 | ow4:Destroy() | |
| 381 | ow5:Destroy() | |
| 382 | ow6:Destroy() | |
| 383 | mhum.PlatformStand = false | |
| 384 | hum.NameOcclusion = "OccludeAll" | |
| 385 | humrootTransparency = 1 | |
| 386 | mface.Transparency = 0 | |
| 387 | for i,v in pairs(sauce:GetChildren()) do | |
| 388 | if v:IsA("Part") and v ~= humroot then
| |
| 389 | v.Transparency = 0 | |
| 390 | end | |
| 391 | if v:IsA("Accessory") then
| |
| 392 | v.Handle.Transparency = 0 | |
| 393 | end | |
| 394 | end | |
| 395 | end | |
| 396 | elseif key == "n" then | |
| 397 | for i,v in pairs(workspace:GetChildren()) do | |
| 398 | if v:IsA("Model") and v:FindFirstChildOfClass("Humanoid") and v.Name ~= sauce.Name then
| |
| 399 | local fatman = v | |
| 400 | local fatmanhum = fatman:FindFirstChildOfClass("Humanoid")
| |
| 401 | fatmanhum.WalkSpeed = 8 | |
| 402 | local fattor = fatman:FindFirstChild("Torso") or fatman:FindFirstChild("UpperTorso")
| |
| 403 | local hinum2 = Instance.new("Sound", fattor)
| |
| 404 | hinum2.SoundId = "rbxassetid://1278031541" | |
| 405 | hinum2.Volume = 10 | |
| 406 | local realfat = Instance.new("Part", fattor)
| |
| 407 | realfat.BrickColor = fattor.BrickColor | |
| 408 | realfat.Material = "SmoothPlastic" | |
| 409 | local supaweld = Instance.new("Weld", realfat)
| |
| 410 | supaweld.Part0 = fattor | |
| 411 | supaweld.Part1 = realfat | |
| 412 | local fat = Instance.new("SpecialMesh", realfat)
| |
| 413 | fat.MeshType = "Sphere" | |
| 414 | fat.Scale = Vector3.new(0.6, 1.6, 0.9) | |
| 415 | fat.Offset = Vector3.new(0, -0.4, -0.7) | |
| 416 | hinum2:Play() | |
| 417 | if fatman:FindFirstChildOfClass("Shirt") then
| |
| 418 | fatman:FindFirstChildOfClass("Shirt"):remove()
| |
| 419 | end | |
| 420 | end | |
| 421 | end | |
| 422 | elseif key == "t" then | |
| 423 | if mou.Target.Parent and mou.Target.Parent:FindFirstChildOfClass("Humanoid") then
| |
| 424 | local goneman = mou.Target.Parent | |
| 425 | local gonehead = goneman:FindFirstChild("Head")
| |
| 426 | local gonetor = goneman:FindFirstChild("Torso") or goneman:FindFirstChild("UpperTorso")
| |
| 427 | local lightb = Instance.new("Part", goneman)
| |
| 428 | lightb.Shape = "Cylinder" | |
| 429 | lightb.CanCollide = false | |
| 430 | lightb.Anchored = true | |
| 431 | lightb.Size = Vector3.new(300, 10, 10) | |
| 432 | lightb.Material = "Neon" | |
| 433 | lightb.Transparency = 0.5 | |
| 434 | lightb.BrickColor = BrickColor.new("New Yeller")
| |
| 435 | lightb.CFrame = gonetor.CFrame * CFrame.new(0, 140, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) | |
| 436 | local start = gonetor.CFrame | |
| 437 | local finish = lightb.CFrame * CFrame.new(140, 0, 0) | |
| 438 | for i = 0,1,.01 do | |
| 439 | gonetor.CFrame = start:lerp(finish, i) | |
| 440 | wait() | |
| 441 | end | |
| 442 | gonehead.Size = Vector3.new(50, 50, 50) | |
| 443 | lightb:Destroy() | |
| 444 | end | |
| 445 | elseif key == "q" then | |
| 446 | if mou.Target ~= nil then | |
| 447 | local dont = Instance.new("Part", sauce)
| |
| 448 | dont.CFrame = mou.Hit | |
| 449 | dont.Material = "Sand" | |
| 450 | dont.BrickColor = BrickColor.new("Pastel yellow")
| |
| 451 | dont.Size = Vector3.new(3, 3, 3) | |
| 452 | dont.Shape = "Ball" | |
| 453 | dont.Anchored = true | |
| 454 | local obj = Instance.new("Sound", dont)
| |
| 455 | - | local feats = {463838589, 691897627, 179270320, 425407550, 1074595721, 1065045593, 142688397, 1308566029, 1402510823}
|
| 455 | + | local feats = {4897528175,1585416938,1972238279,937258314,1547067732,4216306082,3017465331,1145101566,1054426806}
|
| 456 | obj.SoundId = "rbxassetid://"..feats[math.random(1,#feats)] | |
| 457 | obj.Volume = 10 | |
| 458 | obj.Looped = true | |
| 459 | obj:Play() | |
| 460 | oil.Chatted:connect(function(msg) | |
| 461 | if msg:lower():sub(1, 7) == "plastic" then | |
| 462 | dont.Material = "Plastic" | |
| 463 | elseif msg:lower():sub(1, 5) == "slate" then | |
| 464 | dont.Material = "Slate" | |
| 465 | elseif msg:lower():sub(1, 3) == "ice" then | |
| 466 | dont.Material = "Ice" | |
| 467 | elseif msg:lower():sub(1, 5) == "metal" then | |
| 468 | dont.Material = "Metal" | |
| 469 | elseif msg:lower():sub(1, 4) == "neon" then | |
| 470 | dont.Material = "Neon" | |
| 471 | elseif msg:lower():sub(1, 5) == "grass" then | |
| 472 | dont.Material = "Grass" | |
| 473 | elseif msg:lower():sub(1, 4) == "sand" then | |
| 474 | dont.Material = "Sand" | |
| 475 | elseif msg:lower():sub(1, 9) == "woodplank" then | |
| 476 | dont.Material = "WoodPlanks" | |
| 477 | elseif msg:lower():sub(1, 4) == "wood" then | |
| 478 | dont.Material = "Wood" | |
| 479 | elseif msg:lower():sub(1, 6) == "marble" then | |
| 480 | dont.Material = "Marble" | |
| 481 | elseif msg:lower():sub(1, 8) == "concrete" then | |
| 482 | dont.Material = "Concrete" | |
| 483 | elseif msg:lower():sub(1, 5) == "brick" then | |
| 484 | dont.Material = "Brick" | |
| 485 | elseif msg:lower():sub(1, 7) == "granite" then | |
| 486 | dont.Material = "Granite" | |
| 487 | elseif msg:lower():sub(1, 6) == "pebble" then | |
| 488 | dont.Material = "Pebble" | |
| 489 | elseif msg:lower():sub(1, 11) == "cobblestone" then | |
| 490 | dont.Material = "Cobblestone" | |
| 491 | elseif msg:lower():sub(1, 13) == "corrodedmetal" then | |
| 492 | dont.Material = "CorrodedMetal" | |
| 493 | elseif msg:lower():sub(1, 12) == "diamondplate" then | |
| 494 | dont.Material = "DiamondPlate" | |
| 495 | elseif msg:lower():sub(1, 4) == "foil" then | |
| 496 | dont.Material = "Foil" | |
| 497 | elseif msg:lower():sub(1, 6) == "fabric" then | |
| 498 | dont.Material = "Fabric" | |
| 499 | elseif msg:lower():sub(1, 6) == "yellow" then | |
| 500 | dont.BrickColor = BrickColor.new("New Yeller")
| |
| 501 | elseif msg:lower():sub(1, 6) == "purple" then | |
| 502 | dont.BrickColor = BrickColor.new("Bright violet")
| |
| 503 | elseif msg:lower():sub(1, 3) == "red" then | |
| 504 | dont.BrickColor = BrickColor.new("Crimson")
| |
| 505 | elseif msg:lower():sub(1, 5) == "black" then | |
| 506 | dont.BrickColor = BrickColor.new("Really black")
| |
| 507 | elseif msg:lower():sub(1, 5) == "white" then | |
| 508 | dont.BrickColor = BrickColor.new("Institutional white")
| |
| 509 | elseif msg:lower():sub(1, 4) == "pink" then | |
| 510 | dont.BrickColor = BrickColor.new("Hot pink")
| |
| 511 | elseif msg:lower():sub(1, 5) == "green" then | |
| 512 | dont.BrickColor = BrickColor.new("Bright green")
| |
| 513 | elseif msg:lower():sub(1, 4) == "grey" then | |
| 514 | dont.BrickColor = BrickColor.new("Medium stone grey")
| |
| 515 | elseif msg:lower():sub(1, 5) == "brown" then | |
| 516 | dont.BrickColor = BrickColor.new("Burnt Sienna")
| |
| 517 | elseif msg:lower():sub(1, 6) == "orange" then | |
| 518 | dont.BrickColor = BrickColor.new("Deep orange")
| |
| 519 | elseif msg:lower():sub(1, 4) == "blue" then | |
| 520 | dont.BrickColor = BrickColor.new("Really blue")
| |
| 521 | elseif msg:lower():sub(1, 4) == "cyan" then | |
| 522 | dont.BrickColor = BrickColor.new("Cyan")
| |
| 523 | elseif msg:lower():sub(1, 6) == "pastel" then | |
| 524 | dont.BrickColor = BrickColor.new("Pastel yellow")
| |
| 525 | elseif msg:lower():sub(1, 5) == "ghost" then | |
| 526 | dont.Transparency = 0.7 | |
| 527 | elseif msg:lower():sub(1, 5) == "alive" then | |
| 528 | dont.Transparency = 0 | |
| 529 | elseif msg:lower():sub(1, 5) == "block" then | |
| 530 | dont.Shape = "Block" | |
| 531 | elseif msg:lower():sub(1, 4) == "ball" then | |
| 532 | dont.Shape = "Ball" | |
| 533 | elseif msg:lower():sub(1, 3) == "bye" then | |
| 534 | dont:Destroy() | |
| 535 | elseif msg:lower():sub(1, 17) == "pick another song" then | |
| 536 | obj:Stop() | |
| 537 | obj.SoundId = "rbxassetid://"..feats[math.random(1,#feats)] | |
| 538 | obj.Volume = 10 | |
| 539 | obj.Looped = true | |
| 540 | obj:Play() | |
| 541 | elseif msg:lower():sub(1, 4) == "play" then | |
| 542 | obj:Play() | |
| 543 | elseif msg:lower():sub(1, 4) == "stop" then | |
| 544 | obj:Stop() | |
| 545 | elseif msg:lower():sub(1, 3) == "add" then | |
| 546 | obj:Stop() | |
| 547 | local arg = msg:sub(5, 999) | |
| 548 | obj.SoundId = "rbxassetid://"..arg | |
| 549 | obj:Play() | |
| 550 | end | |
| 551 | end) | |
| 552 | while true do | |
| 553 | for i = 0,1,.001 do | |
| 554 | dont.CFrame = dont.CFrame:lerp(tor.CFrame * CFrame.new(0, 5, 3), i) | |
| 555 | dont.Size = Vector3.new(obj.PlaybackLoudness/80, obj.PlaybackLoudness/80, obj.PlaybackLoudness/80) | |
| 556 | wait() | |
| 557 | end | |
| 558 | wait() | |
| 559 | end | |
| 560 | end | |
| 561 | elseif key == "g" then | |
| 562 | if mou.Target ~= nil then | |
| 563 | local MAN = mou.Target.Parent | |
| 564 | local MANT = MAN:FindFirstChild("Torso") or MAN:FindFirstChild("UpperTorso")
| |
| 565 | local hole = Instance.new("Part", workspace)
| |
| 566 | hole.Shape = "Ball" | |
| 567 | hole.Size = Vector3.new(0.7, 0.7, 0.7) | |
| 568 | hole.BrickColor = BrickColor.new("Eggplant")
| |
| 569 | hole.Anchored = true | |
| 570 | hole.Material = "Neon" | |
| 571 | hole.CFrame = mou.Hit | |
| 572 | for i,v in pairs(workspace:GetChildren()) do | |
| 573 | if v:IsA("Model") and v:FindFirstChildOfClass("Humanoid") and v.Name ~= sauce.Name then
| |
| 574 | local owtor = v | |
| 575 | blacktor = owtor:FindFirstChild("Torso") or owtor:FindFirstChild("UpperTorso")
| |
| 576 | bodpos = Instance.new("BodyPosition", blacktor)
| |
| 577 | bodpos.Position = hole.Position | |
| 578 | bodpos.P = 5000000000 | |
| 579 | bodpos.MaxForce = Vector3.new(500000000, 500000000, 500000000) | |
| 580 | end | |
| 581 | end | |
| 582 | end | |
| 583 | ||
| 584 | end | |
| 585 | end | |
| 586 | end | |
| 587 | mou.KeyDown:connect(pressed) | |
| 588 | end) | |
| 589 | tool.Unequipped:connect(function() | |
| 590 | remoteequipped = false | |
| 591 | end) |