Bunnele

chara

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