nuttanun734

testtt

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