Advertisement
DarkScriptZEditors

Untitled

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