Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --https://github.com/Mokiros/roblox-FE-compatibility
- if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
- local Player,game,owner = owner,game
- local RealPlayer = Player
- do
- print("FE Compatibility code V2 by Mokiros")
- local RealPlayer = RealPlayer
- script.Parent = RealPlayer.Character
- --Fake event to make stuff like Mouse.KeyDown work
- local Disconnect_Function = function(this)
- this[1].Functions[this[2]] = nil
- end
- local Disconnect_Metatable = {__index={disconnect=Disconnect_Function,Disconnect=Disconnect_Function}}
- local FakeEvent_Metatable = {__index={
- Connect = function(this,f)
- local i = tostring(math.random(0,10000))
- while this.Functions[i] do
- i = tostring(math.random(0,10000))
- end
- this.Functions[i] = f
- return setmetatable({this,i},Disconnect_Metatable)
- end
- }}
- FakeEvent_Metatable.__index.connect = FakeEvent_Metatable.__index.Connect
- local function fakeEvent()
- return setmetatable({Functions={}},FakeEvent_Metatable)
- end
- --Creating fake input objects with fake variables
- local FakeMouse = {Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent(),Button2Up=fakeEvent(),Button2Down=fakeEvent()}
- FakeMouse.keyUp = FakeMouse.KeyUp
- FakeMouse.keyDown = FakeMouse.KeyDown
- local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
- local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
- CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
- end}
- --Merged 2 functions into one by checking amount of arguments
- CAS.UnbindAction = CAS.BindAction
- --This function will trigger the events that have been :Connect()'ed
- local function TriggerEvent(self,ev,...)
- for _,f in pairs(self[ev].Functions) do
- f(...)
- end
- end
- FakeMouse.TriggerEvent = TriggerEvent
- UIS.TriggerEvent = TriggerEvent
- --Client communication
- local Event = Instance.new("RemoteEvent")
- Event.Name = "UserInput_Event"
- Event.OnServerEvent:Connect(function(plr,io)
- if plr~=RealPlayer then return end
- FakeMouse.Target = io.Target
- FakeMouse.Hit = io.Hit
- if not io.isMouse then
- local b = io.UserInputState == Enum.UserInputState.Begin
- if io.UserInputType == Enum.UserInputType.MouseButton1 then
- return FakeMouse:TriggerEvent(b and "Button1Down" or "Button1Up")
- end
- if io.UserInputType == Enum.UserInputType.MouseButton2 then
- return FakeMouse:TriggerEvent(b and "Button2Down" or "Button2Up")
- end
- for _,t in pairs(CAS.Actions) do
- for _,k in pairs(t.Keys) do
- if k==io.KeyCode then
- t.Function(t.Name,io.UserInputState,io)
- end
- end
- end
- FakeMouse:TriggerEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
- UIS:TriggerEvent(b and "InputBegan" or "InputEnded",io,false)
- end
- end)
- Event.Parent = NLS([==[local Event = script:WaitForChild("UserInput_Event")
- local Mouse = owner:GetMouse()
- local UIS = game:GetService("UserInputService")
- local input = function(io,RobloxHandled)
- if RobloxHandled then return end
- --Since InputObject is a client-side instance, we create and pass table instead
- Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
- end
- UIS.InputBegan:Connect(input)
- UIS.InputEnded:Connect(input)
- local h,t
- --Give the server mouse data every second frame, but only if the values changed
- --If player is not moving their mouse, client won't fire events
- local HB = game:GetService("RunService").Heartbeat
- while true do
- if h~=Mouse.Hit or t~=Mouse.Target then
- h,t=Mouse.Hit,Mouse.Target
- Event:FireServer({isMouse=true,Target=t,Hit=h})
- end
- --Wait 2 frames
- for i=1,2 do
- HB:Wait()
- end
- end]==],script)
- ----Sandboxed game object that allows the usage of client-side methods and services
- --Real game object
- local RealGame = game
- --Metatable for fake service
- local FakeService_Metatable = {
- __index = function(self,k)
- local s = rawget(self,"_RealService")
- if s then
- return typeof(s[k])=="function"
- and function(_,...)return s[k](s,...)end or s[k]
- end
- end,
- __newindex = function(self,k,v)
- local s = rawget(self,"_RealService")
- if s then s[k]=v end
- end
- }
- local function FakeService(t,RealService)
- t._RealService = typeof(RealService)=="string" and RealGame:GetService(RealService) or RealService
- return setmetatable(t,FakeService_Metatable)
- end
- --Fake game object
- local FakeGame = {
- GetService = function(self,s)
- return rawget(self,s) or RealGame:GetService(s)
- end,
- Players = FakeService({
- LocalPlayer = FakeService({GetMouse=function(self)return FakeMouse end},Player)
- },"Players"),
- UserInputService = FakeService(UIS,"UserInputService"),
- ContextActionService = FakeService(CAS,"ContextActionService"),
- RunService = FakeService({
- _btrs = {},
- RenderStepped = RealGame:GetService("RunService").Heartbeat,
- BindToRenderStep = function(self,name,_,fun)
- self._btrs[name] = self.Heartbeat:Connect(fun)
- end,
- UnbindFromRenderStep = function(self,name)
- self._btrs[name]:Disconnect()
- end,
- },"RunService")
- }
- rawset(FakeGame.Players,"localPlayer",FakeGame.Players.LocalPlayer)
- FakeGame.service = FakeGame.GetService
- FakeService(FakeGame,game)
- --Changing owner to fake player object to support owner:GetMouse()
- game,owner = FakeGame,FakeGame.Players.LocalPlayer
- end
- local Player,Mouse,mouse,UserInputService,ContextActionService = owner
- local RealPlayer = Player
- local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="UserInput_Event"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c(),Button2Up=c(),Button2Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;if o.UserInputType==Enum.UserInputType.MouseButton2 then return f:TrigEvent(p and"Button2Down"or"Button2Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("UserInput_Event")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return typeof(t[q])=="function"and function(m,...)return t[q](t,...)end or t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return rawget(self,t)or r:GetService(t)end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService"),RunService=v({_btrs={},RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;v(x,game)game,owner=x,x.Players.LocalPlayer warn'youngmacka123s minecraft script.'
- plr = owner
- char = plr.Character
- ra = char["Right Arm"]
- la = char["Left Arm"]
- hed = char.Head
- root = char.HumanoidRootPart
- hum = char.Humanoid
- mouse = plr:GetMouse()
- NLS([[
- plr = owner
- char = plr.Character
- ra = char["Right Arm"]
- la = char["Left Arm"]
- hed = char.Head
- root = char.HumanoidRootPart
- hum = char.Humanoid
- cam = workspace.CurrentCamera
- mouse = plr:GetMouse()
- ezweld = function(p, a, b, cf)
- local weld = Instance.new("Weld",p)
- weld.Part0 = a
- weld.Part1 = b
- weld.C0 = cf
- return weld
- end
- function wtom(m)
- local w = ezweld(char, m.Part0, m.Part1, m.C0)
- w.C1 = m.C1
- return w
- end
- local fake = Instance.new("Model", char)
- fake.Name = "FakeArm"
- local hum = Instance.new("Humanoid", fake)
- local arm = la:Clone()
- arm.Parent = fake
- local rs = char.Torso["Left Shoulder"]
- rsnor = rs.C0
- local tors2 = char.Torso:Clone()
- tors2.Transparency = 1
- tors2.Name = "aim"
- tors2:ClearAllChildren()
- tors2.Parent = fake
- local raw = ezweld(fake, tors2, arm, rsnor)
- raw.C1 = rs.C1
- raw.Part0 = tors2
- raw.Part1 = arm
- raw.C0 = rsnor * CFrame.Angles(math.rad(-6), math.rad(-15), math.rad(100))
- sine = 0
- for i,v in pairs (char:children()) do
- if v:IsA("Shirt") or v:IsA("Pants") or v:IsA("CharacterMesh") then
- v:Clone().Parent = fake
- end
- end
- local selected = Instance.new("SelectionBox", char)
- selected.Adornee = nil
- selected.LineThickness = 0.005
- selected.Color3 = Color3.new(0, 0, 0)
- hold = false
- attack = false
- function slap()
- attack = true
- hold = true
- repeat
- game:GetService("RunService").RenderStepped:Wait()
- tors2.CFrame = cam.CFrame * CFrame.new(0, -1.65, -1.25) * CFrame.Angles(math.rad(32.5 + 45 * math.sin(sine / 2)), math.rad(180) + math.rad(25), math.rad(15 - 15 * math.sin(sine / 2)))
- raw.C0 = rsnor * CFrame.Angles(math.rad(-6), math.rad(-15), math.rad(100))
- until hold == false
- hold = false
- attack = false
- end
- mouse.Button1Down:connect(function()
- if attack == false then
- slap()
- end
- end)
- mouse.Button1Up:connect(function()
- hold = false
- end)
- game:GetService("RunService").RenderStepped:Connect(function()
- for i,v in pairs (fake:children()) do
- if v:IsA("Part") and v ~= tors2 then
- v.LocalTransparencyModifier = v.Transparency
- end
- end
- if mouse.Target then
- selected.Adornee = mouse.Target
- else
- selected.Adornee = nil
- end
- sine = sine + 1
- arm.CanCollide = false
- tors2.CanCollide = false
- local TORSOVELOCITY = (root.Velocity * Vector3.new(1, 0, 1)).magnitude
- if TORSOVELOCITY < 1 then
- if attack == false then
- raw.C0 = rsnor * CFrame.Angles(math.rad(-6), math.rad(-15), math.rad(100))
- tors2.CFrame = cam.CFrame * CFrame.new(0, -1.65, -1.25) * CFrame.Angles(0, math.rad(180), 0)
- end
- elseif TORSOVELOCITY > 1 then
- if attack == false then
- raw.C0 = rsnor * CFrame.Angles(math.rad(-6), math.rad(-15), math.rad(100))
- tors2.CFrame = cam.CFrame * CFrame.new(0 - 0.1 * math.sin(sine / 8), -1.65 - 0.1 * math.sin(sine / 4), -1.25) * CFrame.Angles(0, math.rad(180), 0)
- end
- end
- end)
- ]], char)
- function crack(part, face)
- --Converted with ttyyuu12345's model to script plugin v4
- function sandbox(var,func)
- local env = getfenv(func)
- local newenv = setmetatable({},{
- __index = function(self,k)
- if k=="script" then
- return var
- else
- return env[k]
- end
- end,
- })
- setfenv(func,newenv)
- return func
- end
- cors = {}
- mas = Instance.new("Model",game:GetService("Lighting"))
- SurfaceGui0 = Instance.new("SurfaceGui")
- Frame1 = Instance.new("Frame")
- Frame2 = Instance.new("Frame")
- Frame3 = Instance.new("Frame")
- Frame4 = Instance.new("Frame")
- Frame5 = Instance.new("Frame")
- Frame6 = Instance.new("Frame")
- Frame7 = Instance.new("Frame")
- Frame8 = Instance.new("Frame")
- Frame9 = Instance.new("Frame")
- Frame10 = Instance.new("Frame")
- Frame11 = Instance.new("Frame")
- Frame12 = Instance.new("Frame")
- Frame13 = Instance.new("Frame")
- Frame14 = Instance.new("Frame")
- Frame15 = Instance.new("Frame")
- Frame16 = Instance.new("Frame")
- Frame17 = Instance.new("Frame")
- Frame18 = Instance.new("Frame")
- Frame19 = Instance.new("Frame")
- Frame20 = Instance.new("Frame")
- Frame21 = Instance.new("Frame")
- Frame22 = Instance.new("Frame")
- Frame23 = Instance.new("Frame")
- Frame24 = Instance.new("Frame")
- Frame25 = Instance.new("Frame")
- Frame26 = Instance.new("Frame")
- Frame27 = Instance.new("Frame")
- Frame28 = Instance.new("Frame")
- Frame29 = Instance.new("Frame")
- Frame30 = Instance.new("Frame")
- Frame31 = Instance.new("Frame")
- Frame32 = Instance.new("Frame")
- Frame33 = Instance.new("Frame")
- Frame34 = Instance.new("Frame")
- Frame35 = Instance.new("Frame")
- Frame36 = Instance.new("Frame")
- Frame37 = Instance.new("Frame")
- Frame38 = Instance.new("Frame")
- Frame39 = Instance.new("Frame")
- Frame40 = Instance.new("Frame")
- Frame41 = Instance.new("Frame")
- Frame42 = Instance.new("Frame")
- Frame43 = Instance.new("Frame")
- Frame44 = Instance.new("Frame")
- Frame45 = Instance.new("Frame")
- Frame46 = Instance.new("Frame")
- Frame47 = Instance.new("Frame")
- Frame48 = Instance.new("Frame")
- Frame49 = Instance.new("Frame")
- Frame50 = Instance.new("Frame")
- Frame51 = Instance.new("Frame")
- Frame52 = Instance.new("Frame")
- Frame53 = Instance.new("Frame")
- Frame54 = Instance.new("Frame")
- Frame55 = Instance.new("Frame")
- Frame56 = Instance.new("Frame")
- Frame57 = Instance.new("Frame")
- Frame58 = Instance.new("Frame")
- Frame59 = Instance.new("Frame")
- Frame60 = Instance.new("Frame")
- Frame61 = Instance.new("Frame")
- Frame62 = Instance.new("Frame")
- Frame63 = Instance.new("Frame")
- SurfaceGui0.Name = "BreakSG"
- SurfaceGui0.Parent = mas
- SurfaceGui0.LightInfluence = 1
- SurfaceGui0.Face = face
- SurfaceGui0.ClipsDescendants = true
- SurfaceGui0.CanvasSize = Vector2.new(16, 16)
- SurfaceGui0.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- SurfaceGui0.Adornee = nil
- SurfaceGui0.AlwaysOnTop = false
- Frame1.Name = "Stage1"
- Frame1.Parent = SurfaceGui0
- Frame1.Size = UDim2.new(1, 0, 1, 0)
- Frame1.BackgroundColor = BrickColor.new("Institutional white")
- Frame1.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame1.BackgroundTransparency = 1
- Frame1.BorderSizePixel = 0
- Frame1.ZIndex = 2
- Frame2.Name = "DarkP"
- Frame2.Parent = Frame1
- Frame2.Position = UDim2.new(0, 8, 0, 8)
- Frame2.Size = UDim2.new(0, 1, 0, 2)
- Frame2.BackgroundColor = BrickColor.new("Really black")
- Frame2.BackgroundColor3 = Color3.new(0, 0, 0)
- Frame2.BackgroundTransparency = 0.2392156869173
- Frame2.BorderSizePixel = 0
- Frame3.Name = "LightP"
- Frame3.Parent = Frame1
- Frame3.Position = UDim2.new(0, 8, 0, 10)
- Frame3.Size = UDim2.new(0, 1, 0, 1)
- Frame3.BackgroundColor = BrickColor.new("Really black")
- Frame3.BackgroundColor3 = Color3.new(0, 0, 0)
- Frame3.BackgroundTransparency = 0.60784316062927
- Frame3.BorderSizePixel = 0
- Frame4.Name = "DarkP"
- Frame4.Parent = Frame1
- Frame4.Position = UDim2.new(0, 6, 0, 5)
- Frame4.Size = UDim2.new(0, 1, 0, 2)
- Frame4.BackgroundColor = BrickColor.new("Really black")
- Frame4.BackgroundColor3 = Color3.new(0, 0, 0)
- Frame4.BackgroundTransparency = 0.2392156869173
- Frame4.BorderSizePixel = 0
- Frame5.Name = "LightP"
- Frame5.Parent = Frame1
- Frame5.Position = UDim2.new(0, 6, 0, 7)
- Frame5.Size = UDim2.new(0, 1, 0, 1)
- Frame5.BackgroundColor = BrickColor.new("Really black")
- Frame5.BackgroundColor3 = Color3.new(0, 0, 0)
- Frame5.BackgroundTransparency = 0.60784316062927
- Frame5.BorderSizePixel = 0
- Frame6.Name = "LightP"
- Frame6.Parent = Frame1
- Frame6.Position = UDim2.new(0, 9, 0, 8)
- Frame6.Size = UDim2.new(0, 1, 0, 1)
- Frame6.BackgroundColor = BrickColor.new("Really black")
- Frame6.BackgroundColor3 = Color3.new(0, 0, 0)
- Frame6.BackgroundTransparency = 0.60784316062927
- Frame6.BorderSizePixel = 0
- Frame7.Name = "DarkP"
- Frame7.Parent = Frame1
- Frame7.Position = UDim2.new(0, 9, 0, 7)
- Frame7.Size = UDim2.new(0, 1, 0, 1)
- Frame7.BackgroundColor = BrickColor.new("Really black")
- Frame7.BackgroundColor3 = Color3.new(0, 0, 0)
- Frame7.BackgroundTransparency = 0.2392156869173
- Frame7.BorderSizePixel = 0
- Frame8.Name = "Stage2"
- Frame8.Parent = SurfaceGui0
- Frame8.Size = UDim2.new(1, 0, 1, 0)
- Frame8.BackgroundColor = BrickColor.new("Institutional white")
- Frame8.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame8.BackgroundTransparency = 1
- Frame8.BorderSizePixel = 0
- Frame8.ZIndex = 3
- Frame9.Name = "DarkP"
- Frame9.Parent = Frame8
- Frame9.Position = UDim2.new(0, 8, 0, 8)
- Frame9.Size = UDim2.new(0, 1, 0, 3)
- Frame9.BackgroundColor = BrickColor.new("Really black")
- Frame9.BackgroundColor3 = Color3.new(0, 0, 0)
- Frame9.BackgroundTransparency = 0.2392156869173
- Frame9.BorderSizePixel = 0
- Frame10.Name = "LightP"
- Frame10.Parent = Frame8
- Frame10.Position = UDim2.new(0, 8, 0, 11)
- Frame10.Size = UDim2.new(0, 1, 0, 1)
- Frame10.BackgroundColor = BrickColor.new("Really black")
- Frame10.BackgroundColor3 = Color3.new(0, 0, 0)
- Frame10.BackgroundTransparency = 0.60784316062927
- Frame10.BorderSizePixel = 0
- Frame11.Name = "LightP"
- Frame11.Parent = Frame8
- Frame11.Position = UDim2.new(0, 7, 0, 12)
- Frame11.Size = UDim2.new(0, 1, 0, 1)
- Frame11.BackgroundColor = BrickColor.new("Really black")
- Frame11.BackgroundColor3 = Color3.new(0, 0, 0)
- Frame11.BackgroundTransparency = 0.60784316062927
- Frame11.BorderSizePixel = 0
- Frame12.Name = "DarkP"
- Frame12.Parent = Frame8
- Frame12.Position = UDim2.new(0, 7, 0, 11)
- Frame12.Size = UDim2.new(0, 1, 0, 1)
- Frame12.BackgroundColor = BrickColor.new("Really black")
- Frame12.BackgroundColor3 = Color3.new(0, 0, 0)
- Frame12.BackgroundTransparency = 0.2392156869173
- Frame12.BorderSizePixel = 0
- Frame13.Name = "DarkP"
- Frame13.Parent = Frame8
- Frame13.Position = UDim2.new(0, 6, 0, 4)
- Frame13.Size = UDim2.new(0, 1, 0, 3)
- Frame13.BackgroundColor = BrickColor.new("Really black")
- Frame13.BackgroundColor3 = Color3.new(0, 0, 0)
- Frame13.BackgroundTransparency = 0.2392156869173
- Frame13.BorderSizePixel = 0
- Frame14.Name = "DarkP"
- Frame14.Parent = Frame8
- Frame14.Position = UDim2.new(0, 10, 0, 6)
- Frame14.Size = UDim2.new(0, 2, 0, 1)
- Frame14.BackgroundColor = BrickColor.new("Really black")
- Frame14.BackgroundColor3 = Color3.new(0, 0, 0)
- Frame14.BackgroundTransparency = 0.2392156869173
- Frame14.BorderSizePixel = 0
- Frame15.Name = "LightP"
- Frame15.Parent = Frame8
- Frame15.Position = UDim2.new(0, 10, 0, 7)
- Frame15.Size = UDim2.new(0, 2, 0, 1)
- Frame15.BackgroundColor = BrickColor.new("Really black")
- Frame15.BackgroundColor3 = Color3.new(0, 0, 0)
- Frame15.BackgroundTransparency = 0.60784316062927
- Frame15.BorderSizePixel = 0
- Frame16.Name = "Stage3"
- Frame16.Parent = SurfaceGui0
- Frame16.Size = UDim2.new(1, 0, 1, 0)
- Frame16.BackgroundColor = BrickColor.new("Institutional white")
- Frame16.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame16.BackgroundTransparency = 1
- Frame16.BorderSizePixel = 0
- Frame16.ZIndex = 4
- Frame17.Name = "LightP"
- Frame17.Parent = Frame16
- Frame17.Position = UDim2.new(0, 5, 0, 7)
- Frame17.Size = UDim2.new(0, 1, 0, 1)
- Frame17.BackgroundColor = BrickColor.new("Really black")
- Frame17.BackgroundColor3 = Color3.new(0, 0, 0)
- Frame17.BackgroundTransparency = 0.60784316062927
- Frame17.BorderSizePixel = 0
- Frame18.Name = "DarkP"
- Frame18.Parent = Frame16
- Frame18.Position = UDim2.new(0, 5, 0, 6)
- Frame18.Size = UDim2.new(0, 1, 0, 1)
- Frame18.BackgroundColor = BrickColor.new("Really black")
- Frame18.BackgroundColor3 = Color3.new(0, 0, 0)
- Frame18.BackgroundTransparency = 0.2392156869173
- Frame18.BorderSizePixel = 0
- Frame19.Name = "LightP"
- Frame19.Parent = Frame16
- Frame19.Position = UDim2.new(0, 7, 0, 4)
- Frame19.Size = UDim2.new(0, 1, 0, 1)
- Frame19.BackgroundColor = BrickColor.new("Really black")
- Frame19.BackgroundColor3 = Color3.new(0, 0, 0)
- Frame19.BackgroundTransparency = 0.60784316062927
- Frame19.BorderSizePixel = 0
- Frame20.Name = "DarkP"
- Frame20.Parent = Frame16
- Frame20.Position = UDim2.new(0, 7, 0, 3)
- Frame20.Size = UDim2.new(0, 1, 0, 1)
- Frame20.BackgroundColor = BrickColor.new("Really black")
- Frame20.BackgroundColor3 = Color3.new(0, 0, 0)
- Frame20.BackgroundTransparency = 0.2392156869173
- Frame20.BorderSizePixel = 0
- Frame21.Name = "DarkP"
- Frame21.Parent = Frame16
- Frame21.Position = UDim2.new(0, 9, 0, 5)
- Frame21.Size = UDim2.new(0, 1, 0, 1)
- Frame21.BackgroundColor = BrickColor.new("Really black")
- Frame21.BackgroundColor3 = Color3.new(0, 0, 0)
- Frame21.BackgroundTransparency = 0.2392156869173
- Frame21.BorderSizePixel = 0
- Frame22.Name = "LightP"
- Frame22.Parent = Frame16
- Frame22.Position = UDim2.new(0, 9, 0, 6)
- Frame22.Size = UDim2.new(0, 1, 0, 1)
- Frame22.BackgroundColor = BrickColor.new("Really black")
- Frame22.BackgroundColor3 = Color3.new(0, 0, 0)
- Frame22.BackgroundTransparency = 0.60784316062927
- Frame22.BorderSizePixel = 0
- Frame23.Name = "LightP"
- Frame23.Parent = Frame16
- Frame23.Position = UDim2.new(0, 12, 0, 6)
- Frame23.Size = UDim2.new(0, 1, 0, 1)
- Frame23.BackgroundColor = BrickColor.new("Really black")
- Frame23.BackgroundColor3 = Color3.new(0, 0, 0)
- Frame23.BackgroundTransparency = 0.60784316062927
- Frame23.BorderSizePixel = 0
- Frame24.Name = "DarkP"
- Frame24.Parent = Frame16
- Frame24.Position = UDim2.new(0, 12, 0, 5)
- Frame24.Size = UDim2.new(0, 1, 0, 1)
- Frame24.BackgroundColor = BrickColor.new("Really black")
- Frame24.BackgroundColor3 = Color3.new(0, 0, 0)
- Frame24.BackgroundTransparency = 0.2392156869173
- Frame24.BorderSizePixel = 0
- Frame25.Name = "LightP"
- Frame25.Parent = Frame16
- Frame25.Position = UDim2.new(0, 6, 0, 12)
- Frame25.Size = UDim2.new(0, 1, 0, 1)
- Frame25.BackgroundColor = BrickColor.new("Really black")
- Frame25.BackgroundColor3 = Color3.new(0, 0, 0)
- Frame25.BackgroundTransparency = 0.60784316062927
- Frame25.BorderSizePixel = 0
- Frame26.Name = "DarkP"
- Frame26.Parent = Frame16
- Frame26.Position = UDim2.new(0, 6, 0, 11)
- Frame26.Size = UDim2.new(0, 1, 0, 1)
- Frame26.BackgroundColor = BrickColor.new("Really black")
- Frame26.BackgroundColor3 = Color3.new(0, 0, 0)
- Frame26.BackgroundTransparency = 0.2392156869173
- Frame26.BorderSizePixel = 0
- Frame27.Name = "Stage4"
- Frame27.Parent = SurfaceGui0
- Frame27.Size = UDim2.new(1, 0, 1, 0)
- Frame27.BackgroundColor = BrickColor.new("Institutional white")
- Frame27.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame27.BackgroundTransparency = 1
- Frame27.BorderSizePixel = 0
- Frame27.ZIndex = 5
- Frame28.Name = "LightP"
- Frame28.Parent = Frame27
- Frame28.Position = UDim2.new(0, 4, 0, 7)
- Frame28.Size = UDim2.new(0, 1, 0, 1)
- Frame28.BackgroundColor = BrickColor.new("Really black")
- Frame28.BackgroundColor3 = Color3.new(0, 0, 0)
- Frame28.BackgroundTransparency = 0.60784316062927
- Frame28.BorderSizePixel = 0
- Frame29.Name = "DarkP"
- Frame29.Parent = Frame27
- Frame29.Position = UDim2.new(0, 4, 0, 6)
- Frame29.Size = UDim2.new(0, 1, 0, 1)
- Frame29.BackgroundColor = BrickColor.new("Really black")
- Frame29.BackgroundColor3 = Color3.new(0, 0, 0)
- Frame29.BackgroundTransparency = 0.2392156869173
- Frame29.BorderSizePixel = 0
- Frame30.Name = "LightP"
- Frame30.Parent = Frame27
- Frame30.Position = UDim2.new(0, 8, 0, 3)
- Frame30.Size = UDim2.new(0, 1, 0, 1)
- Frame30.BackgroundColor = BrickColor.new("Really black")
- Frame30.BackgroundColor3 = Color3.new(0, 0, 0)
- Frame30.BackgroundTransparency = 0.60784316062927
- Frame30.BorderSizePixel = 0
- Frame31.Name = "DarkP"
- Frame31.Parent = Frame27
- Frame31.Position = UDim2.new(0, 8, 0, 2)
- Frame31.Size = UDim2.new(0, 1, 0, 1)
- Frame31.BackgroundColor = BrickColor.new("Really black")
- Frame31.BackgroundColor3 = Color3.new(0, 0, 0)
- Frame31.BackgroundTransparency = 0.2392156869173
- Frame31.BorderSizePixel = 0
- Frame32.Name = "DarkP"
- Frame32.Parent = Frame27
- Frame32.Position = UDim2.new(0, 9, 0, 4)
- Frame32.Size = UDim2.new(0, 1, 0, 1)
- Frame32.BackgroundColor = BrickColor.new("Really black")
- Frame32.BackgroundColor3 = Color3.new(0, 0, 0)
- Frame32.BackgroundTransparency = 0.2392156869173
- Frame32.BorderSizePixel = 0
- Frame33.Name = "LightP"
- Frame33.Parent = Frame27
- Frame33.Position = UDim2.new(0, 12, 0, 6)
- Frame33.Size = UDim2.new(0, 1, 0, 1)
- Frame33.BackgroundColor = BrickColor.new("Really black")
- Frame33.BackgroundColor3 = Color3.new(0, 0, 0)
- Frame33.BackgroundTransparency = 0.60784316062927
- Frame33.BorderSizePixel = 0
- Frame34.Name = "DarkP"
- Frame34.Parent = Frame27
- Frame34.Position = UDim2.new(0, 12, 0, 5)
- Frame34.Size = UDim2.new(0, 1, 0, 1)
- Frame34.BackgroundColor = BrickColor.new("Really black")
- Frame34.BackgroundColor3 = Color3.new(0, 0, 0)
- Frame34.BackgroundTransparency = 0.2392156869173
- Frame34.BorderSizePixel = 0
- Frame35.Name = "LightP"
- Frame35.Parent = Frame27
- Frame35.Position = UDim2.new(0, 5, 0, 12)
- Frame35.Size = UDim2.new(0, 1, 0, 1)
- Frame35.BackgroundColor = BrickColor.new("Really black")
- Frame35.BackgroundColor3 = Color3.new(0, 0, 0)
- Frame35.BackgroundTransparency = 0.60784316062927
- Frame35.BorderSizePixel = 0
- Frame36.Name = "DarkP"
- Frame36.Parent = Frame27
- Frame36.Position = UDim2.new(0, 5, 0, 11)
- Frame36.Size = UDim2.new(0, 1, 0, 1)
- Frame36.BackgroundColor = BrickColor.new("Really black")
- Frame36.BackgroundColor3 = Color3.new(0, 0, 0)
- Frame36.BackgroundTransparency = 0.2392156869173
- Frame36.BorderSizePixel = 0
- Frame37.Name = "DarkP"
- Frame37.Parent = Frame27
- Frame37.Position = UDim2.new(0, 8, 0, 12)
- Frame37.Size = UDim2.new(0, 1, 0, 1)
- Frame37.BackgroundColor = BrickColor.new("Really black")
- Frame37.BackgroundColor3 = Color3.new(0, 0, 0)
- Frame37.BackgroundTransparency = 0.2392156869173
- Frame37.BorderSizePixel = 0
- Frame38.Name = "LightP"
- Frame38.Parent = Frame27
- Frame38.Position = UDim2.new(0, 8, 0, 13)
- Frame38.Size = UDim2.new(0, 1, 0, 1)
- Frame38.BackgroundColor = BrickColor.new("Really black")
- Frame38.BackgroundColor3 = Color3.new(0, 0, 0)
- Frame38.BackgroundTransparency = 0.60784316062927
- Frame38.BorderSizePixel = 0
- Frame39.Name = "LightP"
- Frame39.Parent = Frame27
- Frame39.Position = UDim2.new(0, 13, 0, 5)
- Frame39.Size = UDim2.new(0, 1, 0, 1)
- Frame39.BackgroundColor = BrickColor.new("Really black")
- Frame39.BackgroundColor3 = Color3.new(0, 0, 0)
- Frame39.BackgroundTransparency = 0.60784316062927
- Frame39.BorderSizePixel = 0
- Frame40.Name = "DarkP"
- Frame40.Parent = Frame27
- Frame40.Position = UDim2.new(0, 13, 0, 4)
- Frame40.Size = UDim2.new(0, 1, 0, 1)
- Frame40.BackgroundColor = BrickColor.new("Really black")
- Frame40.BackgroundColor3 = Color3.new(0, 0, 0)
- Frame40.BackgroundTransparency = 0.2392156869173
- Frame40.BorderSizePixel = 0
- Frame41.Name = "DarkP"
- Frame41.Parent = Frame27
- Frame41.Position = UDim2.new(0, 3, 0, 7)
- Frame41.Size = UDim2.new(0, 1, 0, 1)
- Frame41.BackgroundColor = BrickColor.new("Really black")
- Frame41.BackgroundColor3 = Color3.new(0, 0, 0)
- Frame41.BackgroundTransparency = 0.2392156869173
- Frame41.BorderSizePixel = 0
- Frame42.Name = "LightP"
- Frame42.Parent = Frame27
- Frame42.Position = UDim2.new(0, 3, 0, 8)
- Frame42.Size = UDim2.new(0, 1, 0, 1)
- Frame42.BackgroundColor = BrickColor.new("Really black")
- Frame42.BackgroundColor3 = Color3.new(0, 0, 0)
- Frame42.BackgroundTransparency = 0.60784316062927
- Frame42.BorderSizePixel = 0
- Frame43.Name = "Stage5"
- Frame43.Parent = SurfaceGui0
- Frame43.Visible = false
- Frame43.Size = UDim2.new(1, 0, 1, 0)
- Frame43.BackgroundColor = BrickColor.new("Institutional white")
- Frame43.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame43.BackgroundTransparency = 1
- Frame43.BorderSizePixel = 0
- Frame43.ZIndex = 6
- Frame44.Name = "DarkP"
- Frame44.Parent = Frame43
- Frame44.Position = UDim2.new(0, 4, 0, 5)
- Frame44.Size = UDim2.new(0, 1, 0, 1)
- Frame44.BackgroundColor = BrickColor.new("Really black")
- Frame44.BackgroundColor3 = Color3.new(0, 0, 0)
- Frame44.BackgroundTransparency = 0.2392156869173
- Frame44.BorderSizePixel = 0
- Frame45.Name = "LightP"
- Frame45.Parent = Frame43
- Frame45.Position = UDim2.new(0, 9, 0, 3)
- Frame45.Size = UDim2.new(0, 1, 0, 1)
- Frame45.BackgroundColor = BrickColor.new("Really black")
- Frame45.BackgroundColor3 = Color3.new(0, 0, 0)
- Frame45.BackgroundTransparency = 0.60784316062927
- Frame45.BorderSizePixel = 0
- Frame46.Name = "DarkP"
- Frame46.Parent = Frame43
- Frame46.Position = UDim2.new(0, 9, 0, 2)
- Frame46.Size = UDim2.new(0, 1, 0, 1)
- Frame46.BackgroundColor = BrickColor.new("Really black")
- Frame46.BackgroundColor3 = Color3.new(0, 0, 0)
- Frame46.BackgroundTransparency = 0.2392156869173
- Frame46.BorderSizePixel = 0
- Frame47.Name = "LightP"
- Frame47.Parent = Frame43
- Frame47.Position = UDim2.new(0, 5, 0, 12)
- Frame47.Size = UDim2.new(0, 1, 0, 1)
- Frame47.BackgroundColor = BrickColor.new("Really black")
- Frame47.BackgroundColor3 = Color3.new(0, 0, 0)
- Frame47.BackgroundTransparency = 0.60784316062927
- Frame47.BorderSizePixel = 0
- Frame48.Name = "DarkP"
- Frame48.Parent = Frame43
- Frame48.Position = UDim2.new(0, 4, 0, 12)
- Frame48.Size = UDim2.new(0, 1, 0, 1)
- Frame48.BackgroundColor = BrickColor.new("Really black")
- Frame48.BackgroundColor3 = Color3.new(0, 0, 0)
- Frame48.BackgroundTransparency = 0.2392156869173
- Frame48.BorderSizePixel = 0
- Frame49.Name = "DarkP"
- Frame49.Parent = Frame43
- Frame49.Position = UDim2.new(0, 9, 0, 13)
- Frame49.Size = UDim2.new(0, 1, 0, 1)
- Frame49.BackgroundColor = BrickColor.new("Really black")
- Frame49.BackgroundColor3 = Color3.new(0, 0, 0)
- Frame49.BackgroundTransparency = 0.2392156869173
- Frame49.BorderSizePixel = 0
- Frame50.Name = "LightP"
- Frame50.Parent = Frame43
- Frame50.Position = UDim2.new(0, 9, 0, 14)
- Frame50.Size = UDim2.new(0, 1, 0, 1)
- Frame50.BackgroundColor = BrickColor.new("Really black")
- Frame50.BackgroundColor3 = Color3.new(0, 0, 0)
- Frame50.BackgroundTransparency = 0.60784316062927
- Frame50.BorderSizePixel = 0
- Frame51.Name = "LightP"
- Frame51.Parent = Frame43
- Frame51.Position = UDim2.new(0, 14, 0, 5)
- Frame51.Size = UDim2.new(0, 1, 0, 1)
- Frame51.BackgroundColor = BrickColor.new("Really black")
- Frame51.BackgroundColor3 = Color3.new(0, 0, 0)
- Frame51.BackgroundTransparency = 0.60784316062927
- Frame51.BorderSizePixel = 0
- Frame52.Name = "DarkP"
- Frame52.Parent = Frame43
- Frame52.Position = UDim2.new(0, 14, 0, 4)
- Frame52.Size = UDim2.new(0, 1, 0, 1)
- Frame52.BackgroundColor = BrickColor.new("Really black")
- Frame52.BackgroundColor3 = Color3.new(0, 0, 0)
- Frame52.BackgroundTransparency = 0.2392156869173
- Frame52.BorderSizePixel = 0
- Frame53.Name = "LightP"
- Frame53.Parent = Frame43
- Frame53.Position = UDim2.new(0, 4, 0, 13)
- Frame53.Size = UDim2.new(0, 1, 0, 1)
- Frame53.BackgroundColor = BrickColor.new("Really black")
- Frame53.BackgroundColor3 = Color3.new(0, 0, 0)
- Frame53.BackgroundTransparency = 0.60784316062927
- Frame53.BorderSizePixel = 0
- Frame54.Name = "DarkP"
- Frame54.Parent = Frame43
- Frame54.Position = UDim2.new(0, 5, 0, 10)
- Frame54.Size = UDim2.new(0, 1, 0, 1)
- Frame54.BackgroundColor = BrickColor.new("Really black")
- Frame54.BackgroundColor3 = Color3.new(0, 0, 0)
- Frame54.BackgroundTransparency = 0.2392156869173
- Frame54.BorderSizePixel = 0
- Frame55.Name = "DarkP"
- Frame55.Parent = Frame43
- Frame55.Position = UDim2.new(0, 2, 0, 8)
- Frame55.Size = UDim2.new(0, 1, 0, 1)
- Frame55.BackgroundColor = BrickColor.new("Really black")
- Frame55.BackgroundColor3 = Color3.new(0, 0, 0)
- Frame55.BackgroundTransparency = 0.2392156869173
- Frame55.BorderSizePixel = 0
- Frame56.Name = "LightP"
- Frame56.Parent = Frame43
- Frame56.Position = UDim2.new(0, 2, 0, 9)
- Frame56.Size = UDim2.new(0, 1, 0, 1)
- Frame56.BackgroundColor = BrickColor.new("Really black")
- Frame56.BackgroundColor3 = Color3.new(0, 0, 0)
- Frame56.BackgroundTransparency = 0.60784316062927
- Frame56.BorderSizePixel = 0
- Frame57.Name = "DarkP"
- Frame57.Parent = Frame43
- Frame57.Position = UDim2.new(0, 6, 0, 2)
- Frame57.Size = UDim2.new(0, 1, 0, 1)
- Frame57.BackgroundColor = BrickColor.new("Really black")
- Frame57.BackgroundColor3 = Color3.new(0, 0, 0)
- Frame57.BackgroundTransparency = 0.2392156869173
- Frame57.BorderSizePixel = 0
- Frame58.Name = "LightP"
- Frame58.Parent = Frame43
- Frame58.Position = UDim2.new(0, 6, 0, 3)
- Frame58.Size = UDim2.new(0, 1, 0, 1)
- Frame58.BackgroundColor = BrickColor.new("Really black")
- Frame58.BackgroundColor3 = Color3.new(0, 0, 0)
- Frame58.BackgroundTransparency = 0.60784316062927
- Frame58.BorderSizePixel = 0
- Frame59.Name = "Stage0"
- Frame59.Parent = SurfaceGui0
- Frame59.Size = UDim2.new(1, 0, 1, 0)
- Frame59.BackgroundColor = BrickColor.new("Institutional white")
- Frame59.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame59.BackgroundTransparency = 1
- Frame59.BorderSizePixel = 0
- Frame60.Name = "DarkP"
- Frame60.Parent = Frame59
- Frame60.Position = UDim2.new(0, 7, 0, 7)
- Frame60.Size = UDim2.new(0, 1, 0, 1)
- Frame60.BackgroundColor = BrickColor.new("Really black")
- Frame60.BackgroundColor3 = Color3.new(0, 0, 0)
- Frame60.BackgroundTransparency = 0.2392156869173
- Frame60.BorderSizePixel = 0
- Frame61.Name = "DarkP"
- Frame61.Parent = Frame59
- Frame61.Position = UDim2.new(0, 8, 0, 8)
- Frame61.Size = UDim2.new(0, 1, 0, 1)
- Frame61.BackgroundColor = BrickColor.new("Really black")
- Frame61.BackgroundColor3 = Color3.new(0, 0, 0)
- Frame61.BackgroundTransparency = 0.2392156869173
- Frame61.BorderSizePixel = 0
- Frame62.Name = "LightP"
- Frame62.Parent = Frame59
- Frame62.Position = UDim2.new(0, 8, 0, 9)
- Frame62.Size = UDim2.new(0, 1, 0, 1)
- Frame62.BackgroundColor = BrickColor.new("Really black")
- Frame62.BackgroundColor3 = Color3.new(0, 0, 0)
- Frame62.BackgroundTransparency = 0.60784316062927
- Frame62.BorderSizePixel = 0
- Frame63.Name = "LightP"
- Frame63.Parent = Frame59
- Frame63.Position = UDim2.new(0, 7, 0, 8)
- Frame63.Size = UDim2.new(0, 1, 0, 1)
- Frame63.BackgroundColor = BrickColor.new("Really black")
- Frame63.BackgroundColor3 = Color3.new(0, 0, 0)
- Frame63.BackgroundTransparency = 0.60784316062927
- Frame63.BorderSizePixel = 0
- for i,v in pairs(mas:GetChildren()) do
- v.Parent = part
- pcall(function() v:MakeJoints() end)
- end
- mas:Destroy()
- for i,v in pairs(cors) do
- spawn(function()
- pcall(v)
- end)
- end
- end
- hold = false
- attack = false
- function slap()
- attack = true
- hold = true
- repeat
- game:service("RunService").RenderStepped:Wait()
- local part = mouse.Target
- if part and part.Name ~= "Base" and part.Name ~= "Baseplate" then
- if not part:FindFirstChild("mineeh") then
- local mineeh = Instance.new("NumberValue", part)
- mineeh.Name = "mineeh"
- mineeh.Value = 1
- crack(part, "Front")
- crack(part, "Top")
- crack(part, "Bottom")
- crack(part, "Right")
- crack(part, "Left")
- crack(part, "Back")
- for i,v in pairs (part:GetChildren()) do
- if v:IsA("SurfaceGui") then
- for i,v in pairs (v:children()) do
- if v:IsA("Frame") and v.Name ~= "Stage1" then
- v.Visible = false
- end
- end
- end
- end
- elseif part:FindFirstChild("mineeh") then
- local mineeh = part:FindFirstChild("mineeh")
- mineeh.Value = mineeh.Value + 1
- if mineeh.Value == 1 then
- for i,v in pairs (part:GetChildren()) do
- if v:IsA("SurfaceGui") then
- for i,v in pairs (v:children()) do
- if v:IsA("Frame") and v.Name ~= "Stage1" then
- v.Visible = false
- end
- end
- end
- end
- end
- if mineeh.Value == 5 then
- for i,v in pairs (part:GetChildren()) do
- if v:IsA("SurfaceGui") then
- for i,v in pairs (v:children()) do
- if v:IsA("Frame") and v.Name ~= "Stage1" and v.Name ~= "Stage2" then
- v.Visible = false
- elseif v.Name == "Stage2" then
- v.Visible = true
- end
- end
- end
- end
- end
- if mineeh.Value == 13 then
- for i,v in pairs (part:GetChildren()) do
- if v:IsA("SurfaceGui") then
- for i,v in pairs (v:children()) do
- if v:IsA("Frame") and v.Name ~= "Stage1" and v.Name ~= "Stage2" and v.Name ~= "Stage3" then
- v.Visible = false
- elseif v.Name == "Stage3" then
- v.Visible = true
- end
- end
- end
- end
- end
- if mineeh.Value == 22 then
- for i,v in pairs (part:GetChildren()) do
- if v:IsA("SurfaceGui") then
- for i,v in pairs (v:children()) do
- if v:IsA("Frame") and v.Name ~= "Stage1" and v.Name ~= "Stage2" and v.Name ~= "Stage3" and v.Name ~= "Stage4" then
- v.Visible = false
- elseif v.Name == "Stage4" then
- v.Visible = true
- end
- end
- end
- end
- end
- if mineeh.Value == 31 then
- for i,v in pairs (part:GetChildren()) do
- if v:IsA("SurfaceGui") then
- for i,v in pairs (v:children()) do
- if v:IsA("Frame") and v.Name ~= "Stage1" and v.Name ~= "Stage2" and v.Name ~= "Stage3" and v.Name ~= "Stage4" and v.Name ~= "Stage5" then
- v.Visible = false
- elseif v.Name == "Stage5" then
- v.Visible = true
- end
- end
- end
- end
- end
- if mineeh.Value == 37 then
- for i,v in pairs (part:GetChildren()) do
- if v:IsA("SurfaceGui") then
- for i,v in pairs (v:children()) do
- if v:IsA("Frame") and v.Name ~= "Stage1" and v.Name ~= "Stage2" and v.Name ~= "Stage3" and v.Name ~= "Stage4" and v.Name ~= "Stage6" and v.Name ~= "Stage5" then
- v.Visible = false
- elseif v.Name == "Stage6" then
- v.Visible = true
- end
- end
- end
- end
- end
- if mineeh.Value == 45 then
- part.CanCollide = false
- for i = 1,8 do
- local a = 35
- local p = Instance.new("Part", workspace)
- p.Size = Vector3.new(part.Size.x*0.3, part.Size.x*0.3, part.Size.x*0.3)
- p.Material = part.Material
- p.Color = part.Color
- p.TopSurface = part.TopSurface
- p.BottomSurface = part.BottomSurface
- p.FrontSurface = part.FrontSurface
- p.BackSurface = part.BackSurface
- p.LeftSurface = part.LeftSurface
- p.RightSurface = part.RightSurface
- p.Reflectance = part.Reflectance
- p.Transparency = part.Transparency
- p.CFrame = part.CFrame
- p.Velocity = Vector3.new(math.random(-a, a), math.random(-a, a), math.random(-a, a))
- game.Debris:AddItem(p, 0.5)
- for i,v in pairs (part:children()) do
- if v:IsA("Decal") or v:IsA("Texture") then
- v:Clone().Parent = p
- end
- end
- end
- part:remove()
- end
- end
- end
- until hold == false
- hold = false
- attack = false
- end
- mouse.Button1Down:connect(function()
- if attack == false then
- slap()
- end
- end)
- mouse.Button1Up:connect(function()
- hold = false
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement