Advertisement
DogeLiker

headphone (FE)

Aug 3rd, 2018
177
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 37.35 KB | None | 0 0
  1. --Created with PenguinAnonymous's compiler
  2. --PenguinAnonymous is not responsible for damages caused to your game
  3. --Please stop using my plugin to create abusive scripts
  4. --Errors:
  5. local runDummyScript = function(f,scri)
  6. local oldenv = getfenv(f)
  7. local newenv = setmetatable({}, {
  8. __index = function(_, k)
  9. if k:lower() == 'script' then
  10. return scri
  11. else
  12. return oldenv[k]
  13. end
  14. end
  15. })
  16. setfenv(f, newenv)
  17. ypcall(function() f() end)
  18. end
  19. cors = {}
  20. mas = Instance.new("Model",game:GetService("Lighting"))
  21. mas.Name = "CompiledModel"
  22. o1 = Instance.new("LocalScript")
  23. o1.Name = "Wubstep"
  24. o1.Parent = mas
  25. table.insert(cors,function()
  26. wait()
  27. runDummyScript(function()
  28.  
  29. function clerp(c1,c2,al)
  30. local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
  31. local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
  32. for i,v in pairs(com1) do
  33. com1[i] = v+(com2[i]-v)*al
  34. end
  35. return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
  36. end
  37.  
  38. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  39. local Player,game,owner = owner,game
  40. local RealPlayer = Player
  41. do
  42. print("FE Compatibility code by Mokiros")
  43. local rp = RealPlayer
  44. script.Parent = rp.Character
  45.  
  46. --RemoteEvent for communicating
  47. local Event = Instance.new("RemoteEvent")
  48. Event.Name = "UserInput_Event"
  49.  
  50. --Fake event to make stuff like Mouse.KeyDown work
  51. local function fakeEvent()
  52. local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
  53. t.connect = t.Connect
  54. return t
  55. end
  56.  
  57. --Creating fake input objects with fake variables
  58. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  59. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  60. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  61. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  62. end}
  63. --Merged 2 functions into one by checking amount of arguments
  64. CAS.UnbindAction = CAS.BindAction
  65.  
  66. --This function will trigger the events that have been :Connect()'ed
  67. local function te(self,ev,...)
  68. local t = m[ev]
  69. if t and t._fakeEvent then
  70. for _,f in pairs(t.Functions) do
  71. f(...)
  72. end
  73. end
  74. end
  75. m.TrigEvent = te
  76. UIS.TrigEvent = te
  77.  
  78. Event.OnServerEvent:Connect(function(plr,io)
  79. if plr~=rp then return end
  80. m.Target = io.Target
  81. m.Hit = io.Hit
  82. if not io.isMouse then
  83. local b = io.UserInputState == Enum.UserInputState.Begin
  84. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  85. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  86. end
  87. for _,t in pairs(CAS.Actions) do
  88. for _,k in pairs(t.Keys) do
  89. if k==io.KeyCode then
  90. t.Function(t.Name,io.UserInputState,io)
  91. end
  92. end
  93. end
  94. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  95. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  96. end
  97. end)
  98. Event.Parent = NLS([==[
  99. local Player = game:GetService("Players").LocalPlayer
  100. local Event = script:WaitForChild("UserInput_Event")
  101.  
  102. local Mouse = Player:GetMouse()
  103. local UIS = game:GetService("UserInputService")
  104. local input = function(io,a)
  105. if a then return end
  106. --Since InputObject is a client-side instance, we create and pass table instead
  107. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  108. end
  109. UIS.InputBegan:Connect(input)
  110. UIS.InputEnded:Connect(input)
  111.  
  112. local h,t
  113. --Give the server mouse data 30 times every second, but only if the values changed
  114. --If player is not moving their mouse, client won't fire events
  115. while wait(1/30) do
  116. if h~=Mouse.Hit or t~=Mouse.Target then
  117. h,t=Mouse.Hit,Mouse.Target
  118. Event:FireServer({isMouse=true,Target=t,Hit=h})
  119. end
  120. end]==],Player.Character)
  121.  
  122. ----Sandboxed game object that allows the usage of client-side methods and services
  123. --Real game object
  124. local _rg = game
  125.  
  126. --Metatable for fake service
  127. local fsmt = {
  128. __index = function(self,k)
  129. local s = rawget(self,"_RealService")
  130. if s then return s[k] end
  131. end,
  132. __newindex = function(self,k,v)
  133. local s = rawget(self,"_RealService")
  134. if s then s[k]=v end
  135. end,
  136. __call = function(self,...)
  137. local s = rawget(self,"_RealService")
  138. if s then return s(...) end
  139. end
  140. }
  141. local function FakeService(t,RealService)
  142. t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
  143. return setmetatable(t,fsmt)
  144. end
  145.  
  146. --Fake game object
  147. local g = {
  148. GetService = function(self,s)
  149. return self[s]
  150. end,
  151. Players = FakeService({
  152. LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
  153. },"Players"),
  154. UserInputService = FakeService(UIS,"UserInputService"),
  155. ContextActionService = FakeService(CAS,"ContextActionService"),
  156. }
  157. rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
  158. g.service = g.GetService
  159.  
  160. g.RunService = FakeService({
  161. RenderStepped = _rg:GetService("RunService").Heartbeat,
  162. BindToRenderStep = function(self,name,_,fun)
  163. self._btrs[name] = self.Heartbeat:Connect(fun)
  164. end,
  165. UnbindFromRenderStep = function(self,name)
  166. self._btrs[name]:Disconnect()
  167. end,
  168. },"RunService")
  169.  
  170. setmetatable(g,{
  171. __index=function(self,s)
  172. return _rg:GetService(s) or typeof(_rg[s])=="function"
  173. and function(_,...)return _rg[s](_rg,...)end or _rg[s]
  174. end,
  175. __newindex = fsmt.__newindex,
  176. __call = fsmt.__call
  177. })
  178. --Changing owner to fake player object to support owner:GetMouse()
  179. game,owner = g,g.Players.LocalPlayer
  180. end
  181.  
  182. plr = owner
  183. char = plr.Character
  184. mouse = plr:GetMouse()
  185. humanoid = char:findFirstChild("Humanoid")
  186. torso = char:findFirstChild("Torso")
  187. head = char.Head
  188. ra = char:findFirstChild("Right Arm")
  189. la = char:findFirstChild("Left Arm")
  190. rl = char:findFirstChild("Right Leg")
  191. ll = char:findFirstChild("Left Leg")
  192. rs = torso:findFirstChild("Right Shoulder")
  193. ls = torso:findFirstChild("Left Shoulder")
  194. rh = torso:findFirstChild("Right Hip")
  195. lh = torso:findFirstChild("Left Hip")
  196. neck = torso:findFirstChild("Neck")
  197. rj = char:findFirstChild("HumanoidRootPart"):findFirstChild("RootJoint")
  198. rootpart = char:findFirstChild("HumanoidRootPart")
  199. camera = workspace.CurrentCamera
  200. anim = char:findFirstChild("Animate")
  201.  
  202. if char:FindFirstChild("Animate") then
  203. char.Animate:Destroy()
  204. end
  205. humanoid.Animator:Destroy()
  206.  
  207. local rm = Instance.new("Weld", torso)
  208. rm.C0 = CFrame.new(1.5, 0.5, 0)
  209. rm.C1 = CFrame.new(0, 0.5, 0)
  210. rm.Part0 = torso
  211. rm.Part1 = ra
  212.  
  213. local lm = Instance.new("Weld", torso)
  214. lm.C0 = CFrame.new(-1.5, 0.5, 0)
  215. lm.C1 = CFrame.new(0, 0.5, 0)
  216. lm.Part0 = torso
  217. lm.Part1 = la
  218.  
  219. local rlegm = Instance.new("Weld", torso)
  220. rlegm.C0 = CFrame.new(0.5, -1, 0)
  221. rlegm.C1 = CFrame.new(0, 1, 0)
  222. rlegm.Part0 = torso
  223. rlegm.Part1 = rl
  224. local llegm = Instance.new("Weld", torso)
  225. llegm.C0 = CFrame.new(-0.5, -1, 0)
  226. llegm.C1 = CFrame.new(0, 1, 0)
  227. llegm.Part0 = torso
  228. llegm.Part1 = ll
  229.  
  230. neck.C0 = CFrame.new(0, 1, 0)
  231. neck.C1 = CFrame.new(0, -.5, 0)
  232.  
  233. rj.C0 = CFrame.new()
  234. rj.C1 = CFrame.new()
  235.  
  236. local Rbx = LoadLibrary("RbxUtility")
  237. local Create = Rbx.Create
  238.  
  239. GUI = Create("ScreenGui"){
  240. Parent = plr.PlayerGui,
  241. Enabled = true,
  242. ResetOnSpawn = true,
  243. Name = "WubstepGUI"
  244. }
  245.  
  246. Main = Create("Frame"){
  247. Parent = GUI,
  248. BackgroundColor3 = Color3.new(50/255,50/255,50/255),
  249. BorderColor3 = Color3.new(27/255,42/255,53/255),
  250. BorderSizePixel = 0,
  251. BackgroundTransparency = 0,
  252. Size = UDim2.new(0.2,0,0.5,0),
  253. Position = UDim2.new(-1.2,0,0.25,0),
  254. ZIndex = 1,
  255. Visible = true,
  256. Selectable = false,
  257. Name = "Main"
  258. }
  259.  
  260. IDBox = Create("TextBox"){
  261. Parent = Main,
  262. BackgroundColor3 = Color3.new(9/255,9/255,9/255),
  263. BackgroundTransparency = 0.7,
  264. BorderColor3 = Color3.new(255/255,255/255,255/255),
  265. BorderSizePixel = 5,
  266. Name = "ID",
  267. Position = UDim2.new(0.05,0,0.03,0),
  268. Selectable = true,
  269. ShowNativeInput = true,
  270. ClearTextOnFocus = true,
  271. Size = UDim2.new(0.9,0,0.15,0),
  272. Visible = true,
  273. ZIndex = 2,
  274. Text = "ID",
  275. TextWrapped = true,
  276. TextScaled = true,
  277. TextColor3 = Color3.new(255/255,255/255,255/255),
  278. TextStrokeTransparency = 0,
  279. TextStrokeColor3 = Color3.new(0,0,0)
  280. }
  281.  
  282. PlayButton = Create("TextButton"){
  283. Parent = Main,
  284. BackgroundTransparency = 0,
  285. BackgroundColor3 = Color3.new(9/255,9/255,9/255),
  286. BorderSizePixel = 0,
  287. BorderColor3 = Color3.new(27/255,42/255,53/255),
  288. Name = "Play",
  289. Modal = false,
  290. Position = UDim2.new(0.05,0,0.205,0),
  291. Size = UDim2.new(0.9,0,0.1,0),
  292. ZIndex = 2,
  293. Text = "Play",
  294. TextScaled = true,
  295. TextStrokeColor3 = Color3.new(0,0,0),
  296. TextStrokeTransparency = 1,
  297. TextColor3 = Color3.new(255/255,255/255,255/255),
  298. TextWrapped = true
  299. }
  300.  
  301. VolumeInc = Create("TextButton"){
  302. Parent = Main,
  303. BackgroundColor3 = Color3.new(0,7/255,48/255),
  304. BorderSizePixel = 2,
  305. Modal = false,
  306. Name = "+",
  307. Position = UDim2.new(0.75,0,0.325,0),
  308. Size = UDim2.new(0.2,0,0.34,0),
  309. Visible = true,
  310. TextScaled = true,
  311. TextColor3 = Color3.new(255/255,255/255,255/255),
  312. TextStrokeTransparency = 1,
  313. Text = "+"
  314. }
  315.  
  316. VolumeDec = Create("TextButton"){
  317. Parent = Main,
  318. BackgroundColor3 = Color3.new(48/255,0,0),
  319. BorderSizePixel = 2,
  320. Modal = false,
  321. Name = "+",
  322. Position = UDim2.new(0.05,0,0.325,0),
  323. Size = UDim2.new(0.2,0,0.34,0),
  324. Visible = true,
  325. TextScaled = true,
  326. TextColor3 = Color3.new(255/255,255/255,255/255),
  327. TextStrokeTransparency = 1,
  328. Text = "-"
  329. }
  330.  
  331. VolText = Create("TextLabel"){
  332. Parent = Main,
  333. BackgroundColor3 = Color3.new(255/255,255/255,255/255),
  334. BackgroundTransparency = 1,
  335. BorderColor3 = Color3.new(27/255,42/255,53/255),
  336. BorderSizePixel = 0,
  337. Name = "Volume",
  338. Position = UDim2.new(0.175,0,0.325,0),
  339. Size = UDim2.new(0.64,0,0.1,0),
  340. Visible = true,
  341. Text = "Volume",
  342. TextColor3 = Color3.new(255/255,255/255,255/255),
  343. TextScaled = true,
  344. TextStrokeColor3 = Color3.new(0,0,0),
  345. TextStrokeTransparency = 0
  346. }
  347.  
  348. VolNum = Create("TextLabel"){
  349. Parent = Main,
  350. BackgroundTransparency = 1,
  351. BorderSizePixel = 0,
  352. Name = "###",
  353. Position = UDim2.new(0.175,0,0.45,0),
  354. Size = UDim2.new(0.64,0,0.2,0),
  355. TextStrokeTransparency = 0,
  356. TextColor3 = Color3.new(255/255,255/255,255/255),
  357. Text = "1",
  358. TextScaled = true
  359. }
  360.  
  361. HeadphText = Create("TextLabel"){
  362. Parent = Main,
  363. BackgroundTransparency = 1,
  364. BorderSizePixel = 0,
  365. Name = "Headphones",
  366. Position = UDim2.new(0.05,0,0.7,0),
  367. Size = UDim2.new(0.64,0,0.1,0),
  368. TextStrokeTransparency = 0,
  369. TextColor3 = Color3.new(255/255,255/255,255/255),
  370. Text = "Headphones",
  371. TextScaled = true
  372. }
  373.  
  374. NotesText = Create("TextLabel"){
  375. Parent = Main,
  376. BackgroundTransparency = 1,
  377. BorderSizePixel = 0,
  378. Name = "Notes",
  379. Position = UDim2.new(0.05,0,0.85,0),
  380. Size = UDim2.new(0.64,0,0.1,0),
  381. TextStrokeTransparency = 0,
  382. TextColor3 = Color3.new(255/255,255/255,255/255),
  383. Text = "Notes",
  384. TextScaled = true
  385. }
  386.  
  387. Check1 = Create("TextButton"){
  388. Parent = Main,
  389. BackgroundTransparency = 0.7,
  390. BackgroundColor3 = Color3.new(50/255,50/255,50/255),
  391. BorderSizePixel = 5,
  392. BorderColor3 = Color3.new(0,0,0),
  393. Name = "Check1",
  394. Modal = false,
  395. Position = UDim2.new(0.78,0,0.7,0),
  396. Size = UDim2.new(0.13,0,0.1,0),
  397. ZIndex = 2,
  398. Text = "",
  399. TextScaled = true,
  400. TextStrokeColor3 = Color3.new(0,0,0),
  401. TextStrokeTransparency = 1,
  402. TextColor3 = Color3.new(255/255,255/255,255/255),
  403. TextWrapped = true
  404. }
  405.  
  406. Check2 = Create("TextButton"){
  407. Parent = Main,
  408. BackgroundTransparency = 0.7,
  409. BackgroundColor3 = Color3.new(50/255,50/255,50/255),
  410. BorderSizePixel = 5,
  411. BorderColor3 = Color3.new(0,0,0),
  412. Name = "Check2",
  413. Modal = false,
  414. Position = UDim2.new(0.78,0,0.85,0),
  415. Size = UDim2.new(0.13,0,0.1,0),
  416. ZIndex = 2,
  417. Text = "",
  418. TextScaled = true,
  419. TextStrokeColor3 = Color3.new(0,0,0),
  420. TextStrokeTransparency = 1,
  421. TextColor3 = Color3.new(255/255,255/255,255/255),
  422. TextWrapped = true
  423. }
  424.  
  425. Checkmark1 = Create("ImageLabel"){
  426. Parent = Check1,
  427. Size = UDim2.new(1,0,1,0),
  428. Position = UDim2.new(0,0,0,0),
  429. BorderSizePixel = 0,
  430. BackgroundTransparency = 1,
  431. Image = "rbxassetid://55565289",
  432. }
  433.  
  434. Checkmark2 = Create("ImageLabel"){
  435. Parent = Check2,
  436. Size = UDim2.new(1,0,1,0),
  437. Position = UDim2.new(0,0,0,0),
  438. BorderSizePixel = 0,
  439. BackgroundTransparency = 1,
  440. Image = "rbxassetid://55565289",
  441. }
  442.  
  443. OpenButton = Create("TextButton"){
  444. Parent = GUI,
  445. BackgroundTransparency = 0.7,
  446. BackgroundColor3 = Color3.new(50/255,50/255,50/255),
  447. BorderSizePixel = 5,
  448. BorderColor3 = Color3.new(0,0,0),
  449. Name = "Open/Close",
  450. Modal = false,
  451. Position = UDim2.new(0,0,0.7,0),
  452. Size = UDim2.new(0.13,0,0.1,0),
  453. ZIndex = 2,
  454. Text = "Wubstep",
  455. TextScaled = true,
  456. TextStrokeColor3 = Color3.new(0,0,0),
  457. TextStrokeTransparency = 0,
  458. TextColor3 = Color3.new(255/255,255/255,255/255),
  459. TextWrapped = true
  460. }
  461.  
  462. local Open = false
  463. local Debounce = false
  464. OpenButton.MouseButton1Down:connect(function()
  465. if Open == false and Debounce == false then
  466. Debounce = true
  467. Main:TweenPosition(UDim2.new(0.4, 0, 0.25, 0),"Out","Quad",3,false)
  468. repeat wait() until Main.Position == UDim2.new(0.4,0,0.25,0)
  469. wait(0.2)
  470. Open = true
  471. Debounce = false
  472. elseif Open == true and Debounce == false then
  473. Debounce = true
  474. Main:TweenPosition(UDim2.new(-1.2, 0, 0.25, 0),"Out","Quad",5,false)
  475. repeat wait() until Main.Position == UDim2.new(-1.2,0,0.25,0)
  476. wait(0.2)
  477. Open = false
  478. Debounce = false
  479. end
  480. end)
  481.  
  482. local Volume = 1
  483. VolumeInc.MouseButton1Down:connect(function()
  484. if Volume < 10 then
  485. Volume = Volume + 0.5
  486. end
  487. end)
  488. VolumeDec.MouseButton1Down:connect(function()
  489. if Volume > 0 then
  490. Volume = Volume - 0.5
  491. end
  492. end)
  493.  
  494. humanoid.WalkSpeed = 7
  495.  
  496. local s = Instance.new('Sound', head)
  497. s.Volume = Volume
  498. s.SoundId = "rbxassetid://0" --EG: Music to my ears
  499. s.Looped = true
  500. s:play()
  501.  
  502. PlayButton.MouseButton1Down:connect(function()
  503. s.SoundId = "rbxassetid://"..IDBox.Text
  504. end)
  505.  
  506. rsc0 = rm.C0
  507. lsc0 = lm.C0
  508. neckc0 = neck.C0
  509. rootc0 = rj.C0
  510. llc0 = llegm.C0
  511. rlc0 = rlegm.C0
  512. speed = 0.25
  513. angle = 0
  514. anglespeed = 1
  515.  
  516. local Hat = Instance.new('Part', char)
  517. Hat.FormFactor = 'Custom'
  518. Hat.Size = Vector3.new(1,1,1)
  519. Hat.CanCollide = false
  520. Hat.Locked = true
  521. Hat.Name = 'Headphones'
  522. Hat:breakJoints()
  523. Hat.TopSurface = 0
  524. Hat.BottomSurface = 0
  525. local Mesh = Instance.new('SpecialMesh', Hat)
  526. Mesh.MeshId = "http://www.roblox.com/asset/?id=1051545"
  527. Mesh.TextureId = "rbxassetid://186142634"
  528.  
  529. local Weld = Instance.new('Weld', Hat)
  530. Weld.Part0 = Hat
  531. Weld.Part1 = head
  532. Weld.C1 = CFrame.new(0, .2, 0)
  533.  
  534. local HP = true
  535. local Not = true
  536. Check1.MouseButton1Down:connect(function()
  537. if HP == true then
  538. HP = false
  539. Hat.Transparency = 0
  540. Checkmark1.Visible = true
  541. elseif HP == false then
  542. HP = true
  543. Hat.Transparency = 1
  544. Checkmark1.Visible = false
  545. end
  546. end)
  547. Check2.MouseButton1Down:connect(function()
  548. if Not == true then
  549. Not = false
  550. Checkmark2.Visible = false
  551. elseif Not == false then
  552. Not = true
  553. Checkmark2.Visible = true
  554. end
  555. end)
  556.  
  557. local SplashEffect = Instance.new('Part')
  558. Instance.new("CylinderMesh", SplashEffect);
  559. SplashEffect.Size = Vector3.new(.2,.2,.2)
  560. SplashEffect.Anchored = true
  561. SplashEffect.Transparency = 1
  562. SplashEffect.CanCollide = false
  563. SplashEffect.Locked = true
  564. SplashEffect.Material = "Neon"
  565. local surfacegui = Instance.new('SurfaceGui', SplashEffect)
  566. surfacegui.Face = 'Top'
  567. surfacegui.CanvasSize = Vector2.new(800,800)
  568. local SplashEffectImage = Instance.new('ImageLabel', surfacegui)
  569. SplashEffectImage.Size = UDim2.new(1,0,1,0)
  570. SplashEffectImage.Image = "rbxassetid://166139049"
  571. SplashEffectImage.BackgroundTransparency = 1
  572. SplashEffectImage.Name = 'Effect'
  573. SplashEffectImage.ImageColor3 = Color3.new(223/255, 0, 255/255)
  574. local light = Instance.new('PointLight', SplashEffect)
  575.  
  576. local SplashEffect2 = SplashEffect:clone()
  577. SplashEffect2:ClearAllChildren()
  578. Instance.new("CylinderMesh", SplashEffect2);
  579. local surfacegui2 = Instance.new('SurfaceGui', SplashEffect2)
  580. surfacegui2.Face = 'Top'
  581. surfacegui2.CanvasSize = Vector2.new(800,800)
  582. local SplashEffect2Image = Instance.new('ImageLabel', surfacegui2)
  583. SplashEffect2Image.Size = UDim2.new(1,0,1,0)
  584. SplashEffect2Image.Image = "rbxassetid://166139049"
  585. SplashEffect2Image.BackgroundTransparency = 1
  586. SplashEffect2Image.Name = 'Effect'
  587. SplashEffect2Image.ImageColor3 = Color3.new(223/255, 0, 255/255)
  588. local light2 = Instance.new('PointLight', SplashEffect2)
  589.  
  590. local Crack = Instance.new('Part')
  591. Crack.Size = Vector3.new(12, .2, 12)
  592. Crack.Anchored = true
  593. Crack.Transparency = 1
  594. Crack.CanCollide = false
  595.  
  596. Images = {"rbxassetid://109516732", "rbxassetid://185526499"}
  597. local Image = Instance.new('Decal', Crack)
  598. Image.Face = 'Top'
  599.  
  600.  
  601. local SplashColors = {Color3.new(223/255, 0, 255/255), Color3.new(223/255, 0, 255/255), Color3.new(226/255, 156/255, 210/255), Color3.new(120/255, 91/255, 169/255), Color3.new(8/255, 146/255, 208/255), Color3.new(0,0,1), Color3.new(127/255, 255/255, 212/255)}
  602. local Splash1cframe
  603. local Splash2cframe
  604.  
  605. function math_pos(float)
  606. if float < 0 then float = 0 end
  607. return float
  608. end
  609. function math_neg(float)
  610. if float > 0 then float = 0 end
  611. return float
  612. end
  613. function math_max(float, max)
  614. if float > max then float = max end
  615. return float
  616. end
  617. function math_min(float, min)
  618. if float > min then float = min end
  619. return float
  620. end
  621. pchar = char
  622. Part = function(x,y,z,color,tr,cc,an,parent)
  623. local p = Instance.new('Part',parent)
  624. p.formFactor = 'Custom'
  625. p.Size = Vector3.new(x,y,z)
  626. p.BrickColor = BrickColor.new(color)
  627. p.Material = "Neon"
  628. p.CanCollide = cc
  629. p.Transparency = tr
  630. p.Anchored = an
  631. p.TopSurface,p.BottomSurface = 0,0
  632. p.Locked=true
  633. p:BreakJoints()
  634. return p
  635. end
  636. Mesh = function(par,num,x,y,z)
  637. local msh = _
  638. if num == 1 then
  639. msh = Instance.new("CylinderMesh",par)
  640. elseif num == 2 then
  641. msh = Instance.new("SpecialMesh",par)
  642. msh.MeshType = 3
  643. elseif num == 3 then
  644. msh = Instance.new("BlockMesh",par)
  645. elseif num == 4 then
  646. msh = Instance.new("SpecialMesh",par)
  647. msh.MeshType = "Torso"
  648. elseif type(num) == 'string' then
  649. msh = Instance.new("SpecialMesh",par)
  650. msh.MeshId = num
  651. end
  652. msh.Scale = Vector3.new(x,y,z)
  653. return msh
  654. end
  655. function explosion(col1,col2,cfr,sz,rng,dmg)
  656. local a= Part(1,1,1,col1,.5,false,true,pchar)
  657. local a2= Part(1,1,1,col2,.5,false,true,pchar)
  658. local a3= Part(1,1,1,col2,.5,false,true,pchar)
  659. v1,v2,v3=sz.x,sz.y,sz.z
  660. local m= Mesh(a,'http://www.roblox.com/asset/?id=1185246',v1,v2,v3)
  661. local m2= Mesh(a2,3,v1/3,v2/3,v3/3)
  662. local m3= Mesh(a3,3,v1/3,v2/3,v3/3)
  663. a.CFrame=cfr
  664. a2.CFrame=cfr*CFrame.Angles(math.random(),math.random(),math.random())
  665. a3.CFrame=cfr*CFrame.Angles(math.random(),math.random(),math.random())
  666. for i,v in pairs(workspace:children()) do
  667. if v:IsA("Model") and v:findFirstChild("Humanoid") then
  668. if v:findFirstChild("Head") and v:findFirstChild("Torso") then
  669. if (v:findFirstChild("Torso").Position - a.Position).magnitude < rng and v.Name ~= pchar.Name then
  670. v.Humanoid.Health=v.Humanoid.Health-dmg
  671. v.Torso.Velocity=Vector3.new(math.random(-dmg*2,dmg*2),dmg*3,math.random(-dmg*2,dmg*2))
  672. end
  673. end
  674. end
  675. end
  676. Spawn(function()
  677. while true do
  678. wait()
  679. if a.Transparency >= 1 then a:Destroy() a2:Destroy() a3:Destroy() break end
  680. m.Scale=m.Scale+Vector3.new(.1,0.1,0.1)
  681. m2.Scale=m2.Scale+Vector3.new(.1,0.1,0.1)
  682. m3.Scale=m3.Scale+Vector3.new(.1,0.1,0.1)
  683. a2.CFrame=a2.CFrame*CFrame.Angles(math.rad(2),math.rad(2),math.rad(2))
  684. a3.CFrame=a3.CFrame*CFrame.Angles(-math.rad(2),-math.rad(2),-math.rad(2))
  685. a.Transparency=a.Transparency+0.05
  686. a2.Transparency=a2.Transparency+0.05
  687. a3.Transparency=a3.Transparency+0.05
  688. end
  689. end)
  690. end
  691.  
  692. local lasttick
  693. local Action = false
  694. local db = false
  695. cd = false
  696.  
  697. mouse.KeyDown:connect(function(k)
  698. if k:byte() == 32 then
  699. if not jumped then
  700. lasttick = tick()
  701. end
  702. elseif k:lower() == "c" and db == false and cd == false then
  703. cd = true
  704. local Colors = {"New Yeller","Really red","Really blue","Royal purple","Pastel orange","Lime green","Hot pink","Toothpaste","Institutional white"}
  705. local Col1 = Colors[math.random(1,#Colors)]
  706. local Col2 = Colors[math.random(1,#Colors)]
  707. explosion(Col1,Col2,torso.CFrame,Vector3.new(80,80,80),60,80)
  708. cd = false
  709. elseif k:lower() == "f" and db == false then
  710. db = true
  711. local Rbx = LoadLibrary("RbxUtility")
  712. local Cre = Rbx.Create
  713. local Colors = {"New Yeller","Really red","Really blue","Royal purple","Pastel orange","Lime green","Hot pink","Toothpaste","Institutional white"}
  714. local sh = Cre("Part"){
  715. Parent = char,
  716. Size = Vector3.new(0.2,0.2,0.2),
  717. Anchored = true,
  718. CanCollide = false,
  719. Material = "Neon",
  720. BrickColor = BrickColor.new(Colors[math.random(1,#Colors)]),
  721. CFrame = torso.CFrame
  722. }
  723. local msh = Cre("SpecialMesh"){
  724. MeshType = "Sphere",
  725. Scale = Vector3.new(0.01,0.01,0.01),
  726. Parent = sh
  727. }
  728. game:GetService("Debris"):AddItem(sh,25)
  729. coroutine.resume(coroutine.create(function()
  730. local a = 0
  731. for i=0,150 do
  732. game:GetService("RunService").RenderStepped:wait()
  733. sh.CFrame = torso.CFrame
  734. msh.Scale = msh.Scale + Vector3.new(math.floor(i/18),math.floor(i/18),math.floor(i/18))
  735. sh.Transparency = i/150
  736. a = a + 1
  737. if a >= 3 then
  738. a = 0
  739. sh.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
  740. end
  741. for i,v in pairs(game.Workspace:GetChildren()) do
  742. if v and v.Name ~= plr.Name and v:FindFirstChild("Humanoid") then
  743. if v:FindFirstChild("Torso") then
  744. if (v.Torso.Position - torso.Position).magnitude <= i then
  745. v:BreakJoints()
  746. end
  747. end
  748. end
  749. end
  750. end
  751. db = false
  752. end))
  753. end
  754. end)
  755.  
  756. plr.Chatted:connect(function(msg)
  757. if msg == "/e dance" or msg == "/emote dance" then
  758. Action = 'Dancing'
  759. end
  760. if msg == "/e dance2" or msg == "/emote dance2" then
  761. Action = 'Dancing2'
  762. end
  763. if msg == "/e dance3" or msg == "/emote dance3" then
  764. Action = 'Dancing3'
  765. end
  766. end)
  767.  
  768. local screengui = Instance.new('ScreenGui', plr.PlayerGui)
  769. screengui.Name = "Vinyl's Effect"
  770. local frame = Instance.new('ImageLabel', screengui)
  771. frame.Size = UDim2.new(1,250,1,250)
  772. frame.Position = UDim2.new(0,-125,0,-125)
  773. frame.Image = "rbxassetid://186263828"
  774. frame.BackgroundTransparency = 1
  775.  
  776. local parts = Instance.new('Model', char)
  777.  
  778. coroutine.resume(coroutine.create(function()
  779. while true do
  780. game:GetService("RunService").RenderStepped:wait()
  781. VolNum.Text = Volume
  782. s.Volume = Volume
  783. end
  784. end))
  785.  
  786. local Notes = {}
  787. game:service'RunService'.RenderStepped:connect(function()
  788. angle = (angle % 100) + anglespeed/10
  789. local rscf = rsc0
  790. local lscf = lsc0
  791. local rjcf = rootc0
  792. local ncf = neckc0
  793. local rlcf = rlc0
  794. local llcf = llc0
  795. local jumpray = Ray.new(rootpart.Position, Vector3.new(0, -4.1, 0))
  796. local jumphit, jumppos = workspace:FindPartOnRayWithIgnoreList(jumpray, {char, parts, Crack, SplashEffect, SplashEffect2})
  797. do --Right leg effect
  798. local ray = Ray.new(rl.CFrame.p, ((rl.CFrame*CFrame.new(0,-1,0)).p - rl.Position).unit*1)
  799. local hit,hitz, normal = workspace:FindPartOnRay(ray, char)
  800. if hit and hit:IsA'BasePart' and hitz then
  801. if SplashEffect.Parent == nil then
  802. local COLOR = SplashColors[math.random(1,#SplashColors)];
  803. SplashEffect.Parent = parts
  804. SplashEffect.Transparency = 0.2
  805. SplashEffect.BrickColor = BrickColor.new(COLOR)
  806. SplashEffect.Size = Vector3.new(.2,.2,.2)
  807. SplashEffectImage.ImageColor3 = COLOR;
  808. SplashEffectImage.ImageTransparency = 0
  809. SplashEffect.CFrame = CFrame.new(hitz, hitz+normal) * CFrame.Angles(-math.pi/2, 0, 0) * CFrame.new(0, -.65, 0)
  810. Splash1cframe = SplashEffect.CFrame
  811. light.Color = SplashEffectImage.ImageColor3
  812. light.Brightness = 1
  813. light.Range = 8
  814. if Not == true then
  815. for i = 1, math.random(6,10) do
  816. local Note = Instance.new('Part', parts)
  817. Note.CanCollide = false
  818. Note.Material = "Neon"
  819. Note.Anchored = true
  820. Note.CFrame = SplashEffect.CFrame * CFrame.new(math.random(-4,4), -2, math.random(-4,4)) * CFrame.Angles(math.pi/2+math.random(-50,50)/220,math.random(-50,50)/220,math.random(-50,50)/20)
  821. Note.Color = SplashEffectImage.ImageColor3
  822. Note.Size = Vector3.new(1,1,1)
  823. local mesh = Instance.new('SpecialMesh', Note)
  824. mesh.MeshId = "rbxassetid://1088207"
  825. mesh.Scale = Vector3.new(.1-math.random()/5,.1-math.random()/5,.1-math.random()/5)
  826. table.insert(Notes,Note)
  827. end
  828. end
  829. wait(1)
  830. SplashEffect.Parent = nil
  831. Splash1cframe = nil
  832. end
  833. end
  834. end
  835. do --Left leg effect
  836. local ray = Ray.new(ll.CFrame.p, ((ll.CFrame*CFrame.new(0,-1,0)).p - ll.Position).unit*1)
  837. local hit,hitz, normal = workspace:FindPartOnRay(ray, char)
  838. if hit and hit:IsA'BasePart' and hitz then
  839. if SplashEffect2.Parent == nil then
  840. local COLOR = SplashColors[math.random(1,#SplashColors)];
  841. SplashEffect2.Parent = parts
  842. SplashEffect2.Transparency = 0.2
  843.  
  844. SplashEffect2.BrickColor = BrickColor.new(COLOR)
  845. SplashEffect2.Size = Vector3.new(.2,.2,.2)
  846. SplashEffect2Image.ImageColor3 = COLOR;
  847. SplashEffect2Image.ImageTransparency = 0
  848. SplashEffect2.CFrame = CFrame.new(hitz, hitz+normal) * CFrame.Angles(-math.pi/2, 0, 0) * CFrame.new(0, -.65, 0)
  849. Splash2cframe = SplashEffect2.CFrame
  850. light2.Color = SplashEffect2Image.ImageColor3
  851. light2.Brightness = 1
  852. light2.Range = 8
  853. if Not == true then
  854. for i = 1, math.random(6,10) do
  855. local Note = Instance.new('Part', parts)
  856. Note.CanCollide = false
  857. Note.Material = "Neon"
  858. Note.Anchored = true
  859. Note.CFrame = SplashEffect2.CFrame * CFrame.new(math.random(-4,4), -2, math.random(-4,4)) * CFrame.Angles(math.pi/2+math.random(-50,50)/220,math.random(-50,50)/220,math.random(-50,50)/20)
  860. Note.Color = SplashEffect2Image.ImageColor3
  861. Note.Size = Vector3.new(1,1,1)
  862. local mesh = Instance.new('SpecialMesh', Note)
  863. mesh.MeshId = "rbxassetid://1088207"
  864. mesh.Scale = Vector3.new(.1-math.random()/5,.1-math.random()/5,.1-math.random()/5)
  865. table.insert(Notes,Note)
  866. end
  867. end
  868. wait(1)
  869. SplashEffect2.Parent = nil
  870. Splash2cframe = nil
  871. end
  872. end
  873. end
  874. if Action == 'Dancing' then
  875. anglespeed = .95
  876. llcf = llc0 * CFrame.new(0, .2, -math_pos(math.asin(math.sin(angle))*.2)) * CFrame.Angles(math_pos(math.asin(math.sin(angle))*.2)-.12, 0, -.02)
  877. rlcf = rlc0 * CFrame.new(0, .2, -math_pos(math.asin(math.sin(angle))*.2)) * CFrame.Angles(math_pos(math.asin(math.sin(angle))*.2), 0, .02)
  878. rscf = rsc0 * CFrame.Angles(math.rad(70) - math.asin(math.sin(angle))*1.5, 0, 0)
  879. lscf = lsc0 * CFrame.Angles(math.rad(10) - math.asin(math.sin(angle))*.45, 0, -.1)
  880. rjcf = rootc0 * CFrame.new(0, -.2 + -math_neg(math.asin(math.sin(angle))*2), 0) * CFrame.Angles(-math_pos(math.asin(math.sin(angle))*.2), 0, 0)
  881. ncf = neckc0 * CFrame.Angles(-math_neg(math.asin(math.sin(angle))*.2), 0, 0)
  882. elseif Action == 'Dancing2' then
  883. anglespeed = 1.15
  884. llcf = llc0 * CFrame.new(0, -math_neg(math.sin((angle+2)*2))*.2, math_neg(math.sin((angle+4)*2)*.6)) * CFrame.Angles(-math.abs(math.asin(math.sin(angle))*.05), 0, -.02)
  885. rlcf = rlc0 * CFrame.new(0, -math_neg(math.sin(angle*2))*.2, math_neg(math.sin(angle*2)*.6)) * CFrame.Angles(-math.abs(math.asin(math.sin(angle))*.05), 0, .02)
  886. rscf = rsc0 * CFrame.Angles(math.rad(140) - math.sin(angle*1.5+(math.random()/2))*.65, 0, -.2 + math.abs(math.asin(math.sin(angle)))*.35)
  887. lscf = lsc0 * CFrame.Angles(math.rad(140) - math.sin(angle*1.5+(math.random()/2))*.65, 0, .2 - math.abs(math.asin(math.sin(angle)))*.35)
  888. rjcf = rootc0 * CFrame.new(0, -.1 + -math_neg(math.sin(angle*2)*.8), 0) * CFrame.Angles(0, 0, 0)
  889. ncf = neckc0 * CFrame.Angles(-math_neg(math.sin(angle/2)*.2), 0, math.asin(math.sin(angle))*.2)
  890. elseif Action == 'Dancing3' then
  891. anglespeed = .95
  892. rjcf = rootc0 * CFrame.new(math.asin(math.sin(angle))*.1, 0, 0) * CFrame.Angles(0,math.asin(math.sin(angle))*.05,0)
  893. rlcf = rlc0 * CFrame.new(0, -.05 + math_pos(-math.asin(math.sin(angle)))*.5, -math_pos(-math.asin(math.sin(angle)))*.5) * CFrame.Angles(-math_pos(-math.asin(math.sin(angle)))*.4,0,.075 + -math.asin(math.sin(angle))*.05)
  894. llcf = llc0 * CFrame.new(0, -.05 + math_pos(math.asin(math.sin(angle)))*.5, -math_pos(math.asin(math.sin(angle)))*.5) * CFrame.Angles(-math_pos(math.asin(math.sin(angle)))*.4,0,-.075 + -math.asin(math.sin(angle))*.05)
  895. rscf = rsc0 * CFrame.new(0, 0, math.abs(math.asin(math.sin(angle)))*.15) * CFrame.Angles(math.rad(30) + math.abs(math.asin(math.sin(angle)))*.95, 0, math.asin(math.sin(angle))*.8)
  896. lscf = lsc0 * CFrame.new(0, 0, math.abs(math.asin(math.sin(angle)))*.15) * CFrame.Angles(math.rad(30) + math.abs(math.asin(math.sin(angle)))*.95, 0, math.asin(math.sin(angle))*.8)
  897. ncf = neckc0 * CFrame.Angles(0,-math.asin(math.sin(angle))*.5,0)
  898. elseif Action == false then
  899. if not jumphit then
  900. anglespeed = 2
  901. rlcf = rlc0 * CFrame.new(0, .15, -.15) * CFrame.Angles(-.1 - math.asin(math.sin(angle))*.05, 0, 0)
  902. llcf = llc0 * CFrame.new(0, .15, -.15) * CFrame.Angles(-.1 + math.asin(math.sin(angle))*.05, 0, 0)
  903. lscf = lsc0 * CFrame.Angles(math_min(math_max(math.rad(-torso.Velocity.y), -10), 10) - math.asin(math.sin(angle))*.05, 0, 0)
  904. rscf = rsc0 * CFrame.Angles(math_min(math_max(math.rad(-torso.Velocity.y), -10), 10) + math.asin(math.sin(angle))*.05, 0, 0)
  905. elseif Vector3.new(torso.Velocity.x,0,torso.Velocity.z).magnitude < 2 then
  906. anglespeed = .75
  907. ncf = neckc0 * CFrame.Angles(math.abs(math.asin(math.sin(angle))*.15), math.asin(math.sin(angle))*.15, 0)
  908. rjcf = rootc0 * CFrame.new(math.asin(math.sin(angle))*.1, 0, 0)
  909. rlcf = rlc0 * CFrame.new(0, -.05 + math_pos(-math.asin(math.sin(angle)))*.25, -math_pos(-math.asin(math.sin(angle)))*.25) * CFrame.Angles(-math_pos(-math.asin(math.sin(angle)))*.24,0,.075 + -math.asin(math.sin(angle))*.05)
  910. llcf = llc0 * CFrame.new(0, -.05 + math_pos(math.asin(math.sin(angle)))*.25, -math_pos(math.asin(math.sin(angle)))*.25) * CFrame.Angles(-math_pos(math.asin(math.sin(angle)))*.24,0,-.075 + -math.asin(math.sin(angle))*.05)
  911. rscf = rsc0 * CFrame.Angles(-math.asin(math.sin(angle))*.25, 0, .015)
  912. lscf = lsc0 * CFrame.Angles(math.asin(math.sin(angle))*.25, 0, -.015)
  913. elseif Vector3.new(torso.Velocity.x,0,torso.Velocity.z).magnitude > 2 then
  914. anglespeed = 1
  915. rjcf = rootc0 * CFrame.new(math.asin(math.sin(angle))*.025, .05 - math.cos(angle*2)*.025, 0) * CFrame.Angles(-.15 + -math.abs(math.cos(angle)*.025),math.asin(math.sin(angle))*.025,0)
  916. rlcf = rlc0 * CFrame.new(0, -.05 + math_pos(math.cos(angle - 0.25)*.3), math_neg(-math.asin(math.sin(angle))*.2)) * CFrame.Angles(-.025 + math.asin(math.sin(angle))*.4,0,.025 + -math.asin(math.sin(angle))*.025)
  917. llcf = llc0 * CFrame.new(0, -.05 + math_pos(-math.cos(angle - 0.25)*.3), math_neg(math.asin(math.sin(angle))*.2)) * CFrame.Angles(-.025 - math.asin(math.sin(angle))*.4,0,-.025 + -math.asin(math.sin(angle))*.025)
  918. rscf = rsc0 * CFrame.Angles(.5 - math.asin(math.sin(angle))*.9, 0, math.asin(math.sin(angle))*.2)
  919. lscf = lsc0 * CFrame.Angles(.5 + math.asin(math.sin(angle))*.9, 0, math.asin(math.sin(angle))*.2)
  920. end
  921. end
  922. if SplashEffect.Parent ~= nil then
  923. if light then
  924. light.Range = light.Range + 1
  925. light.Brightness = light.Brightness - .045
  926. end
  927. SplashEffect.Size = SplashEffect.Size + Vector3.new(1.25,0,1.25)
  928. SplashEffectImage.ImageTransparency = SplashEffectImage.ImageTransparency + .045
  929. SplashEffect.Transparency = SplashEffect.Transparency + .025
  930. SplashEffect.CFrame = Splash1cframe
  931. end
  932.  
  933. if Crack.Parent ~= nil then
  934. if Image.Transparency > 1 then Crack.Parent = nil end
  935. Image.Transparency = Image.Transparency + .045
  936. end
  937.  
  938. if SplashEffect2.Parent ~= nil then
  939. if light2 then
  940. light2.Range = light2.Range + 1
  941. light2.Brightness = light2.Brightness - .045
  942. end
  943. SplashEffect2.Size = SplashEffect2.Size + Vector3.new(1.25,0,1.25)
  944. SplashEffect2Image.ImageTransparency = SplashEffect2Image.ImageTransparency + .045
  945. SplashEffect2.Transparency = SplashEffect2.Transparency + .025
  946. SplashEffect2.CFrame = Splash2cframe
  947. end
  948.  
  949. for i,v in pairs(Notes) do
  950. if v and v:IsA'BasePart' then
  951. if v.Transparency > 1 then
  952. v:Destroy()
  953. table.remove(Notes, i)
  954. end
  955. v.CFrame = v.CFrame * CFrame.new(0,0,-.285)
  956. v.Transparency = v.Transparency + .025
  957. end
  958. end
  959.  
  960. if Action ~= false then
  961. if torso.Velocity.magnitude > 2 then
  962. Action = false
  963. end
  964. end
  965.  
  966. rlegm.C0 = clerp(rlegm.C0,rlcf,speed)
  967. llegm.C0 = clerp(llegm.C0,llcf,speed)
  968. rj.C0 = clerp(rj.C0,rjcf,speed)
  969. rm.C0 = clerp(rm.C0,rscf,speed)
  970. lm.C0 = clerp(lm.C0,lscf,speed)
  971. rj.C0 = clerp(rj.C0,rjcf,speed)
  972. neck.C0 = clerp(neck.C0,ncf,speed)
  973. end)
  974.  
  975. plr.Chatted:connect(function(msg)
  976. if (msg:sub(1,4) == "/mc ") then
  977. s:stop();
  978. s.SoundId = "rbxassetid://"..msg:sub(5);
  979. s:play();
  980. elseif msg:lower() == "/mc epicsaxguy" then
  981. s:stop()
  982. s.SoundId = "rbxassetid://130775431"
  983. s:play()
  984. elseif msg:lower() == "/mc shirushi" then
  985. s:stop()
  986. s.SoundId = "rbxassetid://186565262"
  987. s:play()
  988. end
  989. end)
  990.  
  991.  
  992. while true do
  993. for i = 0,140,15 do
  994. frame.Size = UDim2.new(1,350 - i,1,350 - i)
  995. frame.Rotation = 0+math.random()
  996. frame.Position = UDim2.new(0,-frame.Size.X.Offset*.5,0,-frame.Size.Y.Offset*.5)
  997. game:service'RunService'.RenderStepped:wait()
  998. end
  999. for i = 140,5, -15 do
  1000. frame.Size = UDim2.new(1,350 - i,1,350 - i)
  1001. frame.Rotation = 0+math.random(-10,10)/10
  1002. frame.Position = UDim2.new(0,-frame.Size.X.Offset*.5,0,-frame.Size.Y.Offset*.5)
  1003. game:service'RunService'.RenderStepped:wait()
  1004. end
  1005. for i = 5,25,15 do
  1006. frame.Rotation = 0-math.random()
  1007. frame.Size = UDim2.new(1,350 - i,1,350 - i)
  1008. frame.Position = UDim2.new(0,-frame.Size.X.Offset*.5,0,-frame.Size.Y.Offset*.5)
  1009. game:service'RunService'.RenderStepped:wait()
  1010. end
  1011. for i = 25,0,-15 do
  1012. frame.Rotation = 0+math.random()
  1013. frame.Size = UDim2.new(1,350 - i,1,350 - i)
  1014. frame.Position = UDim2.new(0,-frame.Size.X.Offset*.5,0,-frame.Size.Y.Offset*.5)
  1015. game:service'RunService'.RenderStepped:wait()
  1016. end
  1017. for i = 0,75,-15 do
  1018. frame.Rotation = 0-math.random()
  1019. frame.Size = UDim2.new(1,350 - i,1,350 - i)
  1020. frame.Position = UDim2.new(0,-frame.Size.X.Offset*.5,0,-frame.Size.Y.Offset*.5)
  1021. game:service'RunService'.RenderStepped:wait()
  1022. end
  1023. for i = 75,0,-15 do
  1024. frame.Rotation = 0
  1025. frame.Size = UDim2.new(1,350 - i,1,350 - i)
  1026. frame.Position = UDim2.new(0,-frame.Size.X.Offset*.5,0,-frame.Size.Y.Offset*.5)
  1027. game:service'RunService'.RenderStepped:wait()
  1028. end
  1029. end
  1030. end,o1)
  1031. end)
  1032. mas.Parent = workspace
  1033. mas:MakeJoints()
  1034. local mas1 = mas:GetChildren()
  1035. for i=1,#mas1 do
  1036. mas1[i].Parent = script
  1037. ypcall(function() mas1[i]:MakeJoints() end)
  1038. end
  1039. mas:Destroy()
  1040. for i=1,#cors do
  1041. spawn(cors[i])
  1042. end
  1043.  
  1044. game:GetService("Lighting").Ambient = Color3.new(0, 0, 0)
  1045. game:GetService("Lighting").Brightness = 1
  1046. game:GetService("Lighting").ColorShift_Bottom = Color3.new(0, 0, 0)
  1047. game:GetService("Lighting").ColorShift_Top = Color3.new(0, 0, 0)
  1048. game:GetService("Lighting").GlobalShadows = true
  1049. game:GetService("Lighting").OutdoorAmbient = Color3.new(0.5, 0.5, 0.5)
  1050. game:GetService("Lighting").Outlines = true
  1051. game:GetService("Lighting").GeographicLatitude = 41.733299255371
  1052. game:GetService("Lighting").TimeOfDay = "14:00:00"
  1053. game:GetService("Lighting").FogColor = Color3.new(0.75, 0.75, 0.75)
  1054. game:GetService("Lighting").FogEnd = 100000
  1055. game:GetService("Lighting").FogStart = 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement