SHOW:
|
|
- or go back to the newest paste.
| 1 | --https://github.com/Mokiros/roblox-FE-compatibility | |
| 2 | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
| |
| 3 | local Player,Mouse,mouse,UserInputService,ContextActionService = owner | |
| 4 | local RealPlayer = Player | |
| 5 | do print("FE Compatibility code by Mokiros")local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="UserInput_Event"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c(),Button2Up=c(),Button2Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;if o.UserInputType==Enum.UserInputType.MouseButton2 then return f:TrigEvent(p and"Button2Down"or"Button2Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("UserInput_Event")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return typeof(t[q])=="function"and function(m,...)return t[q](t,...)end or t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return rawget(self,t)or r:GetService(t)end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService"),RunService=v({_btrs={},RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;v(x,game)game,owner=x,x.Players.LocalPlayer end
| |
| 6 | print("controls:")
| |
| 7 | print("z - make it morning")
| |
| 8 | print("x - make it night")
| |
| 9 | print("c - clean workspace")
| |
| 10 | print("v - heal the player your mouse is pointing at")
| |
| 11 | print("f - make the player your mouse is pointing at fat")
| |
| 12 | print("n - make everyone fat")
| |
| 13 | print("e - annihilate the player your mouse is pointing at")
| |
| 14 | print("p - suicide")
| |
| 15 | print("k - kill other players")
| |
| 16 | print("b - control the player your mouse it pointing at")
| |
| 17 | print("r - tp evryone to you")
| |
| 18 | print("t - send the player your mouse is pointing at to 'heaven'")
| |
| 19 | print("q - spawn pet")
| |
| 20 | print("g - spawn a blackhole")
| |
| 21 | oil = game.Players.LocalPlayer | |
| 22 | sauce = oil.Character | |
| 23 | tor = sauce:FindFirstChild("Torso") or sauce:FindFirstChild("UpperTorso")
| |
| 24 | head = sauce:FindFirstChild("Head")
| |
| 25 | larm = sauce:FindFirstChild("Left Arm") or sauce:FindFirstChild("LeftUpperArm")
| |
| 26 | rarm = sauce:FindFirstChild("Right Arm") or sauce:FindFirstChild("RightUpperArm")
| |
| 27 | rleg = sauce:FindFirstChild("Right Leg") or sauce:FindFirstChild("RightUpperLeg")
| |
| 28 | lleg = sauce:FindFirstChild("Left Leg") or sauce:FindFirstChild("LeftUpperLeg")
| |
| 29 | hum = sauce:FindFirstChildOfClass("Humanoid")
| |
| 30 | humroot = sauce:FindFirstChild("HumanoidRootPart")
| |
| 31 | mou = oil:GetMouse() | |
| 32 | remoteequipped = true | |
| 33 | controlling = false | |
| 34 | light = game:GetService("Lighting")
| |
| 35 | tool = Instance.new("Tool", oil.Backpack)
| |
| 36 | tool.Name = "Remote" | |
| 37 | hand = Instance.new("Part", tool)
| |
| 38 | hand.Name = "Handle" | |
| 39 | hand.Size = Vector3.new(1, 1, 1) | |
| 40 | hand.Transparency = 1 | |
| 41 | p1 = Instance.new("Part", hand)
| |
| 42 | p1.Size = Vector3.new(0.6, 0.1, 1.2) | |
| 43 | p1.Material = "Metal" | |
| 44 | p1.Name = "p1" | |
| 45 | p2 = Instance.new("Part", hand)
| |
| 46 | p2.Size = Vector3.new(0.4, 0.1, 0.1) | |
| 47 | p2.Material = "Metal" | |
| 48 | p2.Name = "p2" | |
| 49 | p2.Shape = "Cylinder" | |
| 50 | p3 = Instance.new("Part", hand)
| |
| 51 | p3.Shape = "Ball" | |
| 52 | p3.Material = "Neon" | |
| 53 | p3.Size = Vector3.new(0.15, 0.15, 0.15) | |
| 54 | p3.BrickColor = BrickColor.new("Crimson")
| |
| 55 | p3.Name = "p3" | |
| 56 | p4 = Instance.new("Part", hand)
| |
| 57 | p4.Size = Vector3.new(0.2, 0.4, 0.4) | |
| 58 | p4.Material = "Neon" | |
| 59 | p4.Name = "p4" | |
| 60 | p4.BrickColor = BrickColor.new("Maroon")
| |
| 61 | p4.Shape = "Cylinder" | |
| 62 | w1 = Instance.new("Weld", p1)
| |
| 63 | w1.Part0 = hand | |
| 64 | w1.Part1 = p1 | |
| 65 | w1.C1 = CFrame.new(0, 0, 0.6) | |
| 66 | w1.Name = "w1" | |
| 67 | w2 = Instance.new("Weld", p2)
| |
| 68 | w2.Part0 = hand | |
| 69 | w2.Part1 = p2 | |
| 70 | w2.C1 = CFrame.new(1.3, 0, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) | |
| 71 | w3 = Instance.new("Weld", p3)
| |
| 72 | w3.Part0 = hand | |
| 73 | w3.Part1 = p3 | |
| 74 | w3.C1 = CFrame.new(0, 0, 1.5) | |
| 75 | w4 = Instance.new("Weld", p4)
| |
| 76 | w4.Part0 = hand | |
| 77 | w4.Part1 = p4 | |
| 78 | w4.C1 = CFrame.new(0.1, 0, 0.6) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) | |
| 79 | ||
| 80 | ||
| 81 | tool.Equipped:connect(function() | |
| 82 | remoteequipped = true | |
| 83 | function pressed(key) | |
| 84 | if remoteequipped == true then | |
| 85 | if key == "x" then | |
| 86 | light.TimeOfDay = 21 | |
| 87 | elseif key == "z" then | |
| 88 | light.TimeOfDay = 7 | |
| 89 | elseif key == "c" then | |
| 90 | for i,v in pairs(workspace:GetChildren()) do | |
| 91 | if v:IsA("Part") and v.Name ~= "Base" then
| |
| 92 | v.Locked = false | |
| 93 | v:remove() | |
| 94 | end | |
| 95 | if v:IsA("Model") and not v:FindFirstChildOfClass("Humanoid") then
| |
| 96 | v:remove() | |
| 97 | end | |
| 98 | end | |
| 99 | elseif key == "p" then | |
| 100 | hum.Health = 0 | |
| 101 | elseif key == "k" then | |
| 102 | for i,v in pairs(workspace:GetChildren()) do | |
| 103 | if v:IsA("Model") and v:FindFirstChildOfClass("Humanoid") and v.Name ~= sauce.Name then
| |
| 104 | khum = v:FindFirstChildOfClass("Humanoid")
| |
| 105 | khum.Health = 0 | |
| 106 | end | |
| 107 | end | |
| 108 | elseif key == "r" then | |
| 109 | for i,v in pairs(workspace:GetChildren()) do | |
| 110 | if v:IsA("Model") and v:FindFirstChildOfClass("Humanoid") and v.Name ~= sauce.Name then
| |
| 111 | vtor = v:FindFirstChild("Torso" )or v:FindFirstChild("UpperTorso")
| |
| 112 | vtor.CFrame = tor.CFrame * CFrame.new(0, 0, -5) | |
| 113 | end | |
| 114 | end | |
| 115 | elseif key == "v" then | |
| 116 | if mou.Target.Parent and mou.Target.Parent:FindFirstChildOfClass("Humanoid") then
| |
| 117 | mouhum = mou.Target.Parent:FindFirstChildOfClass("Humanoid")
| |
| 118 | mouhum.Health = mouhum.MaxHealth | |
| 119 | mouhead = mou.Target.Parent:FindFirstChild("Head")
| |
| 120 | bill = Instance.new("BillboardGui", mouhead)
| |
| 121 | bill.AlwaysOnTop = true | |
| 122 | bill.StudsOffset = Vector3.new(0, 2, 0) | |
| 123 | bill.Adornee = mouhead | |
| 124 | bill.Size = UDim2.new(5, 35, 5, 35) | |
| 125 | btext = Instance.new("TextLabel", bill)
| |
| 126 | btext.Text = mou.Target.Parent.Name.." has been Healed!" | |
| 127 | btext.Font = "Bodoni" | |
| 128 | btext.TextSize = 30 | |
| 129 | btext.TextScaled = true | |
| 130 | btext.BorderSizePixel = 0 | |
| 131 | btext.BackgroundTransparency = 1 | |
| 132 | btext.Size = UDim2.new(1.5, 0, 0.5, 0) | |
| 133 | btext.TextColor = BrickColor.new("Bright green")
| |
| 134 | game:GetService("Debris"):AddItem(bill, 2)
| |
| 135 | end | |
| 136 | elseif key == "e" then | |
| 137 | if mou.Target.Parent and mou.Target.Parent:FindFirstChildOfClass("Humanoid") then
| |
| 138 | local nomoretor = mou.Target.Parent:FindFirstChild("Torso") or mou.Target.Parent:FindFirstChild("UpperTorso")
| |
| 139 | local nomorehum = mou.Target.parent:FindFirstChildOfClass("Humanoid")
| |
| 140 | local explo = Instance.new("Explosion", workspace)
| |
| 141 | explo.Position = nomoretor.Position | |
| 142 | nomorehum.Health = 0 | |
| 143 | end | |
| 144 | elseif key == "f" then | |
| 145 | if mou.Target.Parent and mou.Target.Parent:FindFirstChildOfClass("Humanoid") then
| |
| 146 | local fatman = mou.Target.Parent | |
| 147 | local fatmanhum = fatman:FindFirstChildOfClass("Humanoid")
| |
| 148 | fatmanhum.WalkSpeed = 8 | |
| 149 | local fattor = mou.Target.Parent:FindFirstChild("Torso") or mou.Target.Parent:FindFirstChild("UpperTorso")
| |
| 150 | local hinum = Instance.new("Sound", fattor)
| |
| 151 | hinum.SoundId = "rbxassetid://1278031541" | |
| 152 | hinum.Volume = 10 | |
| 153 | local realfat = Instance.new("Part", fattor)
| |
| 154 | realfat.BrickColor = fattor.BrickColor | |
| 155 | realfat.Material = "SmoothPlastic" | |
| 156 | local supaweld = Instance.new("Weld", realfat)
| |
| 157 | supaweld.Part0 = fattor | |
| 158 | supaweld.Part1 = realfat | |
| 159 | local fat = Instance.new("SpecialMesh", realfat)
| |
| 160 | fat.MeshType = "Sphere" | |
| 161 | fat.Scale = Vector3.new(0.6, 1.6, 0.9) | |
| 162 | fat.Offset = Vector3.new(0, -0.4, -0.7) | |
| 163 | hinum:Play() | |
| 164 | if fatman:FindFirstChildOfClass("Shirt") then
| |
| 165 | fatman:FindFirstChildOfClass("Shirt"):remove()
| |
| 166 | end | |
| 167 | end | |
| 168 | elseif key == "b" then | |
| 169 | if mou.Target.Parent and mou.Target.Parent:FindFirstChildOfClass("Humanoid") and controlling == false then
| |
| 170 | controlling = true | |
| 171 | cman = mou.Target.Parent | |
| 172 | mtor = cman:FindFirstChild("Torso") or cman:FindFirstChild("UpperTorso")
| |
| 173 | mlarm = cman:FindFirstChild("Left Arm") or cman:FindFirstChild("LeftUpperArm")
| |
| 174 | mrarm = cman:FindFirstChild("Right Arm") or cman:FindFirstChild("RightUpperArm")
| |
| 175 | mlleg = cman:FindFirstChild("Left Leg") or cman:FindFirstChild("LeftUpperLeg")
| |
| 176 | mrleg = cman:FindFirstChild("Right Leg") or cman:FindFirstChild("RightUpperLeg")
| |
| 177 | mhead = cman:FindFirstChild("Head")
| |
| 178 | mhum = cman:FindFirstChildOfClass("Humanoid")
| |
| 179 | mhum.PlatformStand = true | |
| 180 | hum.NameOcclusion = "NoOcclusion" | |
| 181 | mface = head:FindFirstChild("face")
| |
| 182 | mface.Transparency = 1 | |
| 183 | humroot.Transparency = 1 | |
| 184 | for i,v in pairs(sauce:GetChildren()) do | |
| 185 | if v:IsA("Part") then
| |
| 186 | v.Transparency = 1 | |
| 187 | end | |
| 188 | if v:IsA("Accessory") then
| |
| 189 | v.Handle.Transparency = 1 | |
| 190 | end | |
| 191 | end | |
| 192 | ow1 = Instance.new("Weld", tor)
| |
| 193 | ow1.Part0 = tor | |
| 194 | ow1.Part1 = mtor | |
| 195 | ow2 = Instance.new("Weld", larm)
| |
| 196 | ow2.Part0 = larm | |
| 197 | ow2.Part1 = mlarm | |
| 198 | ow3 = Instance.new("Weld", rarm)
| |
| 199 | ow3.Part0 = rarm | |
| 200 | ow3.Part1 = mrarm | |
| 201 | ow4 = Instance.new("Weld", lleg)
| |
| 202 | ow4.Part0 = lleg | |
| 203 | ow4.Part1 = mlleg | |
| 204 | ow5 = Instance.new("Weld", rleg)
| |
| 205 | ow5.Part0 = rleg | |
| 206 | ow5.Part1 = mrleg | |
| 207 | ow6 = Instance.new("Weld", head)
| |
| 208 | ow6.Part0 = head | |
| 209 | ow6.Part1 = mhead | |
| 210 | elseif controlling == true then | |
| 211 | controlling = false | |
| 212 | ow1:Destroy() | |
| 213 | ow2:Destroy() | |
| 214 | ow3:Destroy() | |
| 215 | ow4:Destroy() | |
| 216 | ow5:Destroy() | |
| 217 | ow6:Destroy() | |
| 218 | mhum.PlatformStand = false | |
| 219 | hum.NameOcclusion = "OccludeAll" | |
| 220 | humrootTransparency = 1 | |
| 221 | mface.Transparency = 0 | |
| 222 | for i,v in pairs(sauce:GetChildren()) do | |
| 223 | if v:IsA("Part") and v ~= humroot then
| |
| 224 | v.Transparency = 0 | |
| 225 | end | |
| 226 | if v:IsA("Accessory") then
| |
| 227 | v.Handle.Transparency = 0 | |
| 228 | end | |
| 229 | end | |
| 230 | end | |
| 231 | elseif key == "n" then | |
| 232 | for i,v in pairs(workspace:GetChildren()) do | |
| 233 | if v:IsA("Model") and v:FindFirstChildOfClass("Humanoid") and v.Name ~= sauce.Name then
| |
| 234 | local fatman = v | |
| 235 | local fatmanhum = fatman:FindFirstChildOfClass("Humanoid")
| |
| 236 | fatmanhum.WalkSpeed = 8 | |
| 237 | local fattor = fatman:FindFirstChild("Torso") or fatman:FindFirstChild("UpperTorso")
| |
| 238 | local hinum2 = Instance.new("Sound", fattor)
| |
| 239 | hinum2.SoundId = "rbxassetid://1278031541" | |
| 240 | hinum2.Volume = 10 | |
| 241 | local realfat = Instance.new("Part", fattor)
| |
| 242 | realfat.BrickColor = fattor.BrickColor | |
| 243 | realfat.Material = "SmoothPlastic" | |
| 244 | local supaweld = Instance.new("Weld", realfat)
| |
| 245 | supaweld.Part0 = fattor | |
| 246 | supaweld.Part1 = realfat | |
| 247 | local fat = Instance.new("SpecialMesh", realfat)
| |
| 248 | fat.MeshType = "Sphere" | |
| 249 | fat.Scale = Vector3.new(0.6, 1.6, 0.9) | |
| 250 | fat.Offset = Vector3.new(0, -0.4, -0.7) | |
| 251 | hinum2:Play() | |
| 252 | if fatman:FindFirstChildOfClass("Shirt") then
| |
| 253 | fatman:FindFirstChildOfClass("Shirt"):remove()
| |
| 254 | end | |
| 255 | end | |
| 256 | end | |
| 257 | elseif key == "t" then | |
| 258 | if mou.Target.Parent and mou.Target.Parent:FindFirstChildOfClass("Humanoid") then
| |
| 259 | local goneman = mou.Target.Parent | |
| 260 | local gonehead = goneman:FindFirstChild("Head")
| |
| 261 | local gonetor = goneman:FindFirstChild("Torso") or goneman:FindFirstChild("UpperTorso")
| |
| 262 | local lightb = Instance.new("Part", goneman)
| |
| 263 | lightb.Shape = "Cylinder" | |
| 264 | lightb.CanCollide = false | |
| 265 | lightb.Anchored = true | |
| 266 | lightb.Size = Vector3.new(300, 10, 10) | |
| 267 | lightb.Material = "Neon" | |
| 268 | lightb.Transparency = 0.5 | |
| 269 | lightb.BrickColor = BrickColor.new("New Yeller")
| |
| 270 | lightb.CFrame = gonetor.CFrame * CFrame.new(0, 140, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) | |
| 271 | local start = gonetor.CFrame | |
| 272 | local finish = lightb.CFrame * CFrame.new(140, 0, 0) | |
| 273 | for i = 0,1,.01 do | |
| 274 | gonetor.CFrame = start:lerp(finish, i) | |
| 275 | wait() | |
| 276 | end | |
| 277 | gonehead.Size = Vector3.new(50, 50, 50) | |
| 278 | lightb:Destroy() | |
| 279 | end | |
| 280 | elseif key == "q" then | |
| 281 | if mou.Target ~= nil then | |
| 282 | local dont = Instance.new("Part", sauce)
| |
| 283 | dont.CFrame = mou.Hit | |
| 284 | dont.Material = "Sand" | |
| 285 | dont.BrickColor = BrickColor.new("Pastel yellow")
| |
| 286 | dont.Size = Vector3.new(3, 3, 3) | |
| 287 | dont.Shape = "Ball" | |
| 288 | dont.Anchored = true | |
| 289 | local obj = Instance.new("Sound", dont)
| |
| 290 | local feats = {463838589, 691897627, 179270320, 425407550, 1074595721, 1065045593, 142688397, 1308566029, 1402510823}
| |
| 291 | obj.SoundId = "rbxassetid://"..feats[math.random(1,#feats)] | |
| 292 | obj.Volume = 10 | |
| 293 | obj.Looped = true | |
| 294 | obj:Play() | |
| 295 | oil.Chatted:connect(function(msg) | |
| 296 | if msg:lower():sub(1, 7) == "plastic" then | |
| 297 | dont.Material = "Plastic" | |
| 298 | elseif msg:lower():sub(1, 5) == "slate" then | |
| 299 | dont.Material = "Slate" | |
| 300 | elseif msg:lower():sub(1, 3) == "ice" then | |
| 301 | dont.Material = "Ice" | |
| 302 | elseif msg:lower():sub(1, 5) == "metal" then | |
| 303 | dont.Material = "Metal" | |
| 304 | elseif msg:lower():sub(1, 4) == "neon" then | |
| 305 | dont.Material = "Neon" | |
| 306 | elseif msg:lower():sub(1, 5) == "grass" then | |
| 307 | dont.Material = "Grass" | |
| 308 | elseif msg:lower():sub(1, 4) == "sand" then | |
| 309 | dont.Material = "Sand" | |
| 310 | elseif msg:lower():sub(1, 9) == "woodplank" then | |
| 311 | dont.Material = "WoodPlanks" | |
| 312 | elseif msg:lower():sub(1, 4) == "wood" then | |
| 313 | dont.Material = "Wood" | |
| 314 | elseif msg:lower():sub(1, 6) == "marble" then | |
| 315 | dont.Material = "Marble" | |
| 316 | elseif msg:lower():sub(1, 8) == "concrete" then | |
| 317 | dont.Material = "Concrete" | |
| 318 | elseif msg:lower():sub(1, 5) == "brick" then | |
| 319 | dont.Material = "Brick" | |
| 320 | elseif msg:lower():sub(1, 7) == "granite" then | |
| 321 | dont.Material = "Granite" | |
| 322 | elseif msg:lower():sub(1, 6) == "pebble" then | |
| 323 | dont.Material = "Pebble" | |
| 324 | elseif msg:lower():sub(1, 11) == "cobblestone" then | |
| 325 | dont.Material = "Cobblestone" | |
| 326 | elseif msg:lower():sub(1, 13) == "corrodedmetal" then | |
| 327 | dont.Material = "CorrodedMetal" | |
| 328 | elseif msg:lower():sub(1, 12) == "diamondplate" then | |
| 329 | dont.Material = "DiamondPlate" | |
| 330 | elseif msg:lower():sub(1, 4) == "foil" then | |
| 331 | dont.Material = "Foil" | |
| 332 | elseif msg:lower():sub(1, 6) == "fabric" then | |
| 333 | dont.Material = "Fabric" | |
| 334 | elseif msg:lower():sub(1, 6) == "yellow" then | |
| 335 | dont.BrickColor = BrickColor.new("New Yeller")
| |
| 336 | elseif msg:lower():sub(1, 6) == "purple" then | |
| 337 | dont.BrickColor = BrickColor.new("Bright violet")
| |
| 338 | elseif msg:lower():sub(1, 3) == "red" then | |
| 339 | dont.BrickColor = BrickColor.new("Crimson")
| |
| 340 | elseif msg:lower():sub(1, 5) == "black" then | |
| 341 | dont.BrickColor = BrickColor.new("Really black")
| |
| 342 | elseif msg:lower():sub(1, 5) == "white" then | |
| 343 | dont.BrickColor = BrickColor.new("Institutional white")
| |
| 344 | elseif msg:lower():sub(1, 4) == "pink" then | |
| 345 | dont.BrickColor = BrickColor.new("Hot pink")
| |
| 346 | elseif msg:lower():sub(1, 5) == "green" then | |
| 347 | dont.BrickColor = BrickColor.new("Bright green")
| |
| 348 | elseif msg:lower():sub(1, 4) == "grey" then | |
| 349 | dont.BrickColor = BrickColor.new("Medium stone grey")
| |
| 350 | elseif msg:lower():sub(1, 5) == "brown" then | |
| 351 | dont.BrickColor = BrickColor.new("Burnt Sienna")
| |
| 352 | elseif msg:lower():sub(1, 6) == "orange" then | |
| 353 | dont.BrickColor = BrickColor.new("Deep orange")
| |
| 354 | elseif msg:lower():sub(1, 4) == "blue" then | |
| 355 | dont.BrickColor = BrickColor.new("Really blue")
| |
| 356 | elseif msg:lower():sub(1, 4) == "cyan" then | |
| 357 | dont.BrickColor = BrickColor.new("Cyan")
| |
| 358 | elseif msg:lower():sub(1, 6) == "pastel" then | |
| 359 | dont.BrickColor = BrickColor.new("Pastel yellow")
| |
| 360 | elseif msg:lower():sub(1, 5) == "ghost" then | |
| 361 | dont.Transparency = 0.7 | |
| 362 | elseif msg:lower():sub(1, 5) == "alive" then | |
| 363 | dont.Transparency = 0 | |
| 364 | elseif msg:lower():sub(1, 5) == "block" then | |
| 365 | dont.Shape = "Block" | |
| 366 | elseif msg:lower():sub(1, 4) == "ball" then | |
| 367 | dont.Shape = "Ball" | |
| 368 | elseif msg:lower():sub(1, 3) == "bye" then | |
| 369 | dont:Destroy() | |
| 370 | elseif msg:lower():sub(1, 17) == "pick another song" then | |
| 371 | obj:Stop() | |
| 372 | obj.SoundId = "rbxassetid://"..feats[math.random(1,#feats)] | |
| 373 | obj.Volume = 10 | |
| 374 | obj.Looped = true | |
| 375 | obj:Play() | |
| 376 | elseif msg:lower():sub(1, 4) == "play" then | |
| 377 | obj:Play() | |
| 378 | elseif msg:lower():sub(1, 4) == "stop" then | |
| 379 | obj:Stop() | |
| 380 | elseif msg:lower():sub(1, 3) == "add" then | |
| 381 | obj:Stop() | |
| 382 | local arg = msg:sub(5, 999) | |
| 383 | obj.SoundId = "rbxassetid://"..arg | |
| 384 | obj:Play() | |
| 385 | end | |
| 386 | end) | |
| 387 | while true do | |
| 388 | for i = 0,1,.001 do | |
| 389 | dont.CFrame = dont.CFrame:lerp(tor.CFrame * CFrame.new(0, 5, 3), i) | |
| 390 | dont.Size = Vector3.new(obj.PlaybackLoudness/80, obj.PlaybackLoudness/80, obj.PlaybackLoudness/80) | |
| 391 | wait() | |
| 392 | end | |
| 393 | wait() | |
| 394 | end | |
| 395 | end | |
| 396 | elseif key == "g" then | |
| 397 | if mou.Target ~= nil then | |
| 398 | local MAN = mou.Target.Parent | |
| 399 | local MANT = MAN:FindFirstChild("Torso") or MAN:FindFirstChild("UpperTorso")
| |
| 400 | local hole = Instance.new("Part", workspace)
| |
| 401 | hole.Shape = "Ball" | |
| 402 | hole.Size = Vector3.new(0.7, 0.7, 0.7) | |
| 403 | hole.BrickColor = BrickColor.new("Eggplant")
| |
| 404 | hole.Anchored = true | |
| 405 | hole.Material = "Neon" | |
| 406 | hole.CFrame = mou.Hit | |
| 407 | for i,v in pairs(workspace:GetChildren()) do | |
| 408 | if v:IsA("Model") and v:FindFirstChildOfClass("Humanoid") and v.Name ~= sauce.Name then
| |
| 409 | local owtor = v | |
| 410 | blacktor = owtor:FindFirstChild("Torso") or owtor:FindFirstChild("UpperTorso")
| |
| 411 | bodpos = Instance.new("BodyPosition", blacktor)
| |
| 412 | bodpos.Position = hole.Position | |
| 413 | bodpos.P = 5000000000 | |
| 414 | bodpos.MaxForce = Vector3.new(500000000, 500000000, 500000000) | |
| 415 | end | |
| 416 | end | |
| 417 | end | |
| 418 | ||
| 419 | end | |
| 420 | end | |
| 421 | end | |
| 422 | mou.KeyDown:connect(pressed) | |
| 423 | end) | |
| 424 | tool.Unequipped:connect(function() | |
| 425 | remoteequipped = false | |
| 426 | end) |