Advertisement
waconline

remote controller

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