Advertisement
idkwhatiam

wubstep?

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