SHOW:
|
|
- or go back to the newest paste.
| 1 | --https://github.com/Mokiros/roblox-FE-compatibility | |
| 2 | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
| |
| 3 | local Player,game,owner = owner,game | |
| 4 | local RealPlayer = Player | |
| 5 | do print("FE Compatibility code V2 by Mokiros")local RealPlayer=RealPlayer;script.Parent=RealPlayer.Character;local a=function(b)b[1].f[b[2]]=nil end;local c={__index={disconnect=a,Disconnect=a}}local d={__index={Connect=function(b,e)local f=tostring(math.random(0,10000))while b.f[f]do f=tostring(math.random(0,10000))end;b.f[f]=e;return setmetatable({b,f},c)end}}d.__index.connect=d.__index.Connect;local function g()return setmetatable({f={}},d)end;local h={Hit=CFrame.new(),KeyUp=g(),KeyDown=g(),Button1Up=g(),Button1Down=g(),Button2Up=g(),Button2Down=g()}h.keyUp=h.KeyUp;h.keyDown=h.KeyDown;local i={InputBegan=g(),InputEnded=g()}local CAS={Actions={},BindAction=function(self,j,k,l,...)CAS.Actions[j]=k and{Name=j,Function=k,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function m(self,n,...)for o,e in pairs(self[n].f)do e(...)end end;h.T=m;i.T=m;local p=Instance.new("RemoteEvent")p.Name="UserInput_Event"p.OnServerEvent:Connect(function(q,r)if q~=RealPlayer then return end;h.Target=r.e;h.Hit=r.d;if not r.f then local s=r.c==Enum.UserInputState.Begin;if r.b==Enum.UserInputType.MouseButton1 then return h:T(s and"Button1Down"or"Button1Up")end;if r.b==Enum.UserInputType.MouseButton2 then return h:T(s and"Button2Down"or"Button2Up")end;for o,t in pairs(CAS.Actions)do for o,u in pairs(t.Keys)do if u==r.a then t.Function(t.Name,r.c,r)end end end;h:T(s and"KeyDown"or"KeyUp",r.a.Name:lower())i:T(s and"InputBegan"or"InputEnded",r,false)end end)p.Parent=NLS([==[local a=script:WaitForChild("UserInput_Event")local b=owner:GetMouse()local c=game:GetService("UserInputService")local d=function(e,f)if f then return end;a:FireServer({a=e.KeyCode,b=e.UserInputType,c=e.UserInputState,d=b.Hit,e=b.Target})end;c.InputBegan:Connect(d)c.InputEnded:Connect(d)local g,h;local i=game:GetService("RunService").Heartbeat;while true do if g~=b.Hit or h~=b.Target then g,h=b.Hit,b.Target;a:FireServer({f=1,Target=h,d=g})end;for j=1,2 do i:Wait()end end]==],script)local v=game;local w={__index=function(self,u)local x=rawget(self,"_RealService")if x then return typeof(x[u])=="function"and function(o,...)return x[u](x,...)end or x[u]end end,__newindex=function(self,u,y)local x=rawget(self,"_RealService")if x then x[u]=y end end}local function z(t,A)t._RealService=typeof(A)=="string"and v:GetService(A)or A;return setmetatable(t,w)end;local B={GetService=function(self,x)return rawget(self,x)or v:GetService(x)end,Players=z({LocalPlayer=z({GetMouse=function(self)return h end},Player)},"Players"),UserInputService=z(i,"UserInputService"),ContextActionService=z(CAS,"ContextActionService"),RunService=z({_btrs={},RenderStepped=v:GetService("RunService").Heartbeat,BindToRenderStep=function(self,j,o,k)self._btrs[j]=self.Heartbeat:Connect(k)end,UnbindFromRenderStep=function(self,j)self._btrs[j]:Disconnect()end},"RunService")}rawset(B.Players,"localPlayer",B.Players.LocalPlayer)B.service=B.GetService;z(B,game)game,owner=B,B.Players.LocalPlayer end
| |
| 6 | ||
| 7 | - | -- NOTE (READ!!): This script doesn't work on voidacity's script builder |
| 7 | + | Player=game:GetService("Players").LocalPlayer
|
| 8 | - | -- since it crashes your game, but it's usable on other |
| 8 | + | Character=Player.Character |
| 9 | - | -- script builders like fancy dev's or nexure's. |
| 9 | + | PlayerGui=Player.PlayerGui |
| 10 | - | -- (it just doesn't work on voidacity only) |
| 10 | + | Backpack=Player.Backpack |
| 11 | Torso=Character.Torso | |
| 12 | - | --[[ |
| 12 | + | Head=Character.Head |
| 13 | - | |
| 13 | + | Humanoid=Character.Humanoid |
| 14 | - | |
| 14 | + | m=Instance.new('Model',Character)
|
| 15 | - | |
| 15 | + | LeftArm=Character["Left Arm"] |
| 16 | - | ▓▒▒▓▓ ░▓▒▒██▒▒▓█▒▒▓▓ █▒▒▓█▒▒▒▒▒▒▒█▓▒▒▒▒▒▒▒█▒▓▒▒▒▒▒▓█▒▒▒▒▒▒▒█▓▒▒▒▓▒▒▓█▒▒▒▒▒▓▒▓░ |
| 16 | + | LeftLeg=Character["Left Leg"] |
| 17 | - | ▓ ░█▒ ▓░ ▓▓ ░█ ░█░▒ ▒▒ █░ █ ░ ▒▓ ▓▒ █ ░░ |
| 17 | + | RightArm=Character["Right Arm"] |
| 18 | - | ░░ ░ ▒██░░░ █░ ▓▓ ░░█░ ▓▒ ▒█████░ ▓█████░░ ▓▓ ░█ ▒█░█▓ ▒▓ ░███████▓ ██░ |
| 18 | + | RightLeg=Character["Right Leg"] |
| 19 | - | ▓ ▓█▓ ▒▒█ █▒ ░█ ▓▒ ▒█████░ ▓█████░░ ▓▓ ░█ ▒█▓░ ░▓ ▓███████ █▓ |
| 19 | + | LS=Torso["Left Shoulder"] |
| 20 | - | ▓ ░░ ▒█ █▒ ░ █░ ░░░░█░ ▓█████░ ▒██░ ▒██▒ ░█ ░ ░███ ▒░ |
| 20 | + | LH=Torso["Left Hip"] |
| 21 | - | ▒░ ░░ ▓▓ █░ ▓▒ █░ ░░ ░█░ ▓█████░ █░ ░░ ░ █░ ░ ███░ ░▒ |
| 21 | + | RS=Torso["Right Shoulder"] |
| 22 | - | ▒░ ▓▓ ▒▓ █░ ▒█ █▒ ░ █ ▓█████░ ▓ █░ ▒▓ █▒ ░ █▒ ▒█▓█████▓ ░▒ |
| 22 | + | RH=Torso["Right Hip"] |
| 23 | - | ▒░▒░█▒▒█▓ █░ ▓█ ██░ ░ █░ ▓█████░ ▓█████░ ▒█ ░ █▒ ▒█ ░ █▒ ░███▓███▓░ ▒ |
| 23 | + | Face = Head.face |
| 24 | - | ░▒░ ▒█▓ ▒▒ ▒█░ ▓▓ ░██ ░▓ ▒ ░ █░ █░ ▒█ ▓▒ ░█ ▒▓ ███ ▓███░ ▒░ |
| 24 | + | Neck=Torso.Neck |
| 25 | - | ▒░ ░▓██▒░░ ▓▓ █▒ ▒██ ▓▓ ░ ░ ░█░ ░ █░ ▒█ ▓▓ █░ ▒█ █▓░ ░███▒ ░▒ |
| 25 | + | it=Instance.new |
| 26 | - | ▒▒ ▒███░▒ ░█ █▓ ░██░ ▒█ ░ █░ ░ █░ ▒█ █▒ ░█ ▓▓ ░█ ░██▓▒ ▓░ |
| 26 | + | attacktype=1 |
| 27 | - | ▒▒ ▒██▓▓▒ ▒▓ █░ ▓█▓ █░ ▒█░ █░ ▓▓ ░█░ ▓▒ ░█▒ ▓ ▓█▒░ ▒▒ |
| 27 | + | vt=Vector3.new |
| 28 | - | ▒▒░ █▓ ▓▒░▒█▒░░▓█░░▒█▒▒░░▓▓░▒▒▒░░▒█▒░░░░░░░█▒░▒█▓░░▓█▒░▒█░░░█▓░░▓▒ ▓█░░▒▒ |
| 28 | + | cf=CFrame.new |
| 29 | - | ░▒▒▒░ ▒░░▒▒░░░░░░░░ ▒░░░▒▒▒▒▒▒▒▒░░░░░░░░░░░░░▒▒▒▒▒▒▒▒▒▒░▒▒▒░░░░ ░░░▒░ |
| 29 | + | euler=CFrame.fromEulerAnglesXYZ |
| 30 | - | ASCII Art Generators are cool :) |
| 30 | + | angles=CFrame.Angles |
| 31 | cloaked=false | |
| 32 | necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
| 33 | necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
| 34 | - | ]] |
| 34 | + | LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0) |
| 35 | LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0) | |
| 36 | - | -- Scroll down for changelog... |
| 36 | + | RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0) |
| 37 | RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0) | |
| 38 | - | -- ORIGINAL CREATOR: Depr1 |
| 38 | + | RootPart=Character.HumanoidRootPart |
| 39 | RootJoint=RootPart.RootJoint | |
| 40 | - | -- If this script isn't on pastebin or the user who uploaded this isn't called "Delros12" |
| 40 | + | RootCF=euler(-1.57,0,3.14) |
| 41 | - | -- (and yes my pastebin account is Delros12) or the link is not https://pastebin.com/2NNDTLjL |
| 41 | + | attack = false |
| 42 | - | -- then this is not the original link of this script. |
| 42 | + | attackdebounce = false |
| 43 | deb=false | |
| 44 | - | -- The original link of the script gets edited constantly for updates, if you use the original |
| 44 | + | equipped=true |
| 45 | - | -- link you will be able to enjoy the most recent updates of this script without changing to |
| 45 | + | hand=false |
| 46 | - | -- another link which contains updated script. |
| 46 | + | MMouse=nil |
| 47 | combo=0 | |
| 48 | - | -- Controls: Q to sneak, use the keypad numbers 1-9 to change blocks, |
| 48 | + | mana=0 |
| 49 | - | -- choose a empty slot if you want to remove a block, E to open creative |
| 49 | + | trispeed=.2 |
| 50 | - | -- inventory, right-click to destroy a block in your toolbar in creative |
| 50 | + | attackmode='none' |
| 51 | - | -- inventory, R to make camera face your character's front or back. |
| 51 | + | local idle=0 |
| 52 | local Anim="Idle" | |
| 53 | - | -- You will become steve when you use this script, if you die after |
| 53 | + | local Effects={}
|
| 54 | - | -- using this script, keep trying to use it or wait 60 seconds |
| 54 | + | local gun=false |
| 55 | - | -- (it doesn't work at first but eventually it will) |
| 55 | + | local shoot=false |
| 56 | player=nil | |
| 57 | - | -- Enjoy! :) |
| 57 | + | mana=0 |
| 58 | ||
| 59 | - | local updateHand = false |
| 59 | + | mouse=Player:GetMouse() |
| 60 | - | local Changelog = [[ |
| 60 | + | --save shoulders |
| 61 | RSH, LSH=nil, nil | |
| 62 | - | Redstone coming soon. (not... sorry) |
| 62 | + | --welds |
| 63 | - | Note (Read!): It will be a very long while till this script gets |
| 63 | + | RW, LW=Instance.new("Weld"), Instance.new("Weld")
|
| 64 | - | updated again, i stopped updating this since im focusing more on other things |
| 64 | + | RW.Name="Right Shoulder" LW.Name="Left Shoulder" |
| 65 | - | like C++ programming and game development, i'm not really that active much |
| 65 | + | LH=Torso["Left Hip"] |
| 66 | - | in roblox (and if im off im probably programming), so yeah, maybe in a |
| 66 | + | RH=Torso["Right Hip"] |
| 67 | - | million years i'll come back to update the script again (:P). |
| 67 | + | TorsoColor=Torso.BrickColor |
| 68 | - | 09/03/2018: |
| 68 | + | function NoOutline(Part) |
| 69 | - | + Added the heart bar. |
| 69 | + | Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10 |
| 70 | - | + Added death animation. |
| 70 | + | |
| 71 | - | * Your camera now shakes like in minecraft when hurt. |
| 71 | + | player=Player |
| 72 | - | * Toolbar Selection GUI now is accurate. |
| 72 | + | ch=Character |
| 73 | RSH=ch.Torso["Right Shoulder"] | |
| 74 | - | 02/03/2018: |
| 74 | + | LSH=ch.Torso["Left Shoulder"] |
| 75 | - | * Fixed a bug with the textures. |
| 75 | + | -- |
| 76 | RSH.Parent=nil | |
| 77 | - | 01/03/2018: |
| 77 | + | LSH.Parent=nil |
| 78 | - | + Added a global grid. |
| 78 | + | -- |
| 79 | - | + Added something that i'm not sure how to describe. |
| 79 | + | RW.Name="Right Shoulder" |
| 80 | - | * Punching Animation in first person is now more accurate. |
| 80 | + | RW.Part0=ch.Torso |
| 81 | RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5) | |
| 82 | - | 17/02/2018: |
| 82 | + | RW.C1=cf(0, 0.5, 0) |
| 83 | - | + You can't break your neck anymore (360 head you know) |
| 83 | + | RW.Part1=ch["Right Arm"] |
| 84 | - | + Added this changelog |
| 84 | + | RW.Parent=ch.Torso |
| 85 | - | - Removed the name tag, since it causes it to get banned on |
| 85 | + | -- |
| 86 | - | some servers for some reason (really voidacity?). |
| 86 | + | LW.Name="Left Shoulder" |
| 87 | - | * Walking animation is now more accurate |
| 87 | + | LW.Part0=ch.Torso |
| 88 | LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8) | |
| 89 | - | Note: It's been a while since i don't update the script, but i'll |
| 89 | + | LW.C1=cf(0, 0.5, 0) |
| 90 | - | get back to updating it. |
| 90 | + | LW.Part1=ch["Left Arm"] |
| 91 | - | |
| 91 | + | LW.Parent=ch.Torso |
| 92 | - | 05/02/2018: |
| 92 | + | |
| 93 | - | + Added gravity to sand and gravel (WARNING: Can be laggy!) |
| 93 | + | Player=game:GetService('Players').LocalPlayer
|
| 94 | Character=Player.Character | |
| 95 | - | 04/02/2018: |
| 95 | + | Mouse=Player:GetMouse() |
| 96 | - | + Added creative inventory |
| 96 | + | m=Instance.new('Model',Character)
|
| 97 | - | + Added 31 blocks (that's a lot, but not near minecraft's level) |
| 97 | + | |
| 98 | - | + Added sprinting (i'll add footsteps and particles later) |
| 98 | + | |
| 99 | - | - Removed Herobrine |
| 99 | + | local function weldBetween(a, b) |
| 100 | - | * Fixed a bug where the hand dissapears if u look down while sneaking |
| 100 | + | local weldd = Instance.new("ManualWeld")
|
| 101 | - | * Fixed? (not sure) a bug where if u ran the script you would die |
| 101 | + | weldd.Part0 = a |
| 102 | weldd.Part1 = b | |
| 103 | - | 01/02/2018: |
| 103 | + | weldd.C0 = CFrame.new() |
| 104 | - | + Added the hand that appears on minecraft when ur first person |
| 104 | + | weldd.C1 = b.CFrame:inverse() * a.CFrame |
| 105 | - | + Added a walking animation to the hand |
| 105 | + | weldd.Parent = a |
| 106 | - | + Punching animation added to the hand |
| 106 | + | return weldd |
| 107 | - | + Camera bobbing |
| 107 | + | end |
| 108 | - | + Sneaking now lowers your camera just like in minecraft |
| 108 | + | |
| 109 | - | + Blocks now have sounds (i chose the ones that are the closest to minecraft sounds) |
| 109 | + | function swait(num) |
| 110 | - | + When a block is broken, particles will fall from it |
| 110 | + | if num==0 or num==nil then |
| 111 | - | ]] |
| 111 | + | game:service'RunService'.Stepped:wait(0) |
| 112 | else | |
| 113 | - | workspace:WaitForChild("Camera"):ClearAllChildren()
|
| 113 | + | for i=0,num do |
| 114 | - | local RS = game:GetService("RunService").RenderStepped
|
| 114 | + | game:service'RunService'.Stepped:wait(0) |
| 115 | - | local targetName = game.Players.LocalPlayer.Name |
| 115 | + | end |
| 116 | - | local player = game.Players:FindFirstChild(targetName) |
| 116 | + | end |
| 117 | end | |
| 118 | - | local creativeInventory = {
|
| 118 | + | |
| 119 | - | {
|
| 119 | + | function nooutline(part) |
| 120 | - | name = "Dirt", |
| 120 | + | part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10 |
| 121 | - | size = Vector3.new(2.6, 2.6, 2.6), |
| 121 | + | end |
| 122 | - | transparency = 0; |
| 122 | + | |
| 123 | - | frontTex = "rbxassetid://152569532", |
| 123 | + | function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size) |
| 124 | - | backTex = "rbxassetid://152569532", |
| 124 | + | local fp=it("Part")
|
| 125 | - | topTex = "rbxassetid://152569532", |
| 125 | + | fp.formFactor=formfactor |
| 126 | - | bottomTex = "rbxassetid://152569532", |
| 126 | + | fp.Parent=parent |
| 127 | - | leftTex = "rbxassetid://152569532", |
| 127 | + | fp.Reflectance=reflectance |
| 128 | - | rightTex = "rbxassetid://152569532", |
| 128 | + | fp.Transparency=transparency |
| 129 | - | displayTex = "", |
| 129 | + | fp.CanCollide=false |
| 130 | - | sound = "rbxassetid://1102186681", |
| 130 | + | fp.Locked=true |
| 131 | - | soundVol = 1.25, |
| 131 | + | fp.BrickColor=BrickColor.new(tostring(brickcolor)) |
| 132 | - | hasGravity = false, |
| 132 | + | fp.Name=name |
| 133 | - | objectType = "Block" |
| 133 | + | fp.Size=size |
| 134 | - | }, |
| 134 | + | fp.Position=Character.Torso.Position |
| 135 | - | {
|
| 135 | + | nooutline(fp) |
| 136 | - | name = "Grass", |
| 136 | + | fp.Material=material |
| 137 | - | size = Vector3.new(2.6, 2.6, 2.6), |
| 137 | + | fp:BreakJoints() |
| 138 | - | transparency = 0; |
| 138 | + | return fp |
| 139 | - | frontTex = "rbxassetid://96430337", |
| 139 | + | end |
| 140 | - | backTex = "rbxassetid://96430337", |
| 140 | + | |
| 141 | - | topTex = "rbxassetid://96430265", |
| 141 | + | function mesh(Mesh,part,meshtype,meshid,offset,scale) |
| 142 | - | bottomTex = "rbxassetid://179655033", |
| 142 | + | local mesh=it(Mesh) |
| 143 | - | leftTex = "rbxassetid://96430337", |
| 143 | + | mesh.Parent=part |
| 144 | - | rightTex = "rbxassetid://96430337", |
| 144 | + | if Mesh=="SpecialMesh" then |
| 145 | - | displayTex = "", |
| 145 | + | mesh.MeshType=meshtype |
| 146 | - | sound = "rbxassetid://1102186681", |
| 146 | + | mesh.MeshId=meshid |
| 147 | - | soundVol = 1.25, |
| 147 | + | end |
| 148 | - | hasGravity = false, |
| 148 | + | mesh.Offset=offset |
| 149 | - | objectType = "Block" |
| 149 | + | mesh.Scale=scale |
| 150 | - | }, |
| 150 | + | return mesh |
| 151 | - | {
|
| 151 | + | end |
| 152 | - | name = "Sand", |
| 152 | + | |
| 153 | - | size = Vector3.new(2.6, 2.6, 2.6), |
| 153 | + | function weld(parent,part0,part1,c0,c1) |
| 154 | - | transparency = 0; |
| 154 | + | local weld=it("Weld")
|
| 155 | - | frontTex = "rbxassetid://347007448", |
| 155 | + | weld.Parent=parent |
| 156 | - | backTex = "rbxassetid://347007448", |
| 156 | + | weld.Part0=part0 |
| 157 | - | topTex = "rbxassetid://347007448", |
| 157 | + | weld.Part1=part1 |
| 158 | - | bottomTex = "rbxassetid://347007448", |
| 158 | + | weld.C0=c0 |
| 159 | - | leftTex = "rbxassetid://347007448", |
| 159 | + | weld.C1=c1 |
| 160 | - | rightTex = "rbxassetid://347007448", |
| 160 | + | return weld |
| 161 | - | displayTex = "", |
| 161 | + | end |
| 162 | - | sound = "rbxassetid://1102186681", |
| 162 | + | |
| 163 | - | soundVol = 1.25, |
| 163 | + | |
| 164 | - | hasGravity = true, |
| 164 | + | local function CFrameFromTopBack(at, top, back) |
| 165 | - | objectType = "Block" |
| 165 | + | local right = top:Cross(back) |
| 166 | - | }, |
| 166 | + | return CFrame.new(at.x, at.y, at.z, |
| 167 | - | {
|
| 167 | + | right.x, top.x, back.x, |
| 168 | - | name = "Gravel", |
| 168 | + | right.y, top.y, back.y, |
| 169 | - | size = Vector3.new(2.6, 2.6, 2.6), |
| 169 | + | right.z, top.z, back.z) |
| 170 | - | transparency = 0; |
| 170 | + | |
| 171 | - | frontTex = "rbxassetid://151701568", |
| 171 | + | |
| 172 | - | backTex = "rbxassetid://151701568", |
| 172 | + | function Triangle(a, b, c) |
| 173 | - | topTex = "rbxassetid://151701568", |
| 173 | + | local edg1 = (c-a):Dot((b-a).unit) |
| 174 | - | bottomTex = "rbxassetid://151701568", |
| 174 | + | local edg2 = (a-b):Dot((c-b).unit) |
| 175 | - | leftTex = "rbxassetid://151701568", |
| 175 | + | local edg3 = (b-c):Dot((a-c).unit) |
| 176 | - | rightTex = "rbxassetid://151701568", |
| 176 | + | if edg1 <= (b-a).magnitude and edg1 >= 0 then |
| 177 | - | displayTex = "", |
| 177 | + | a, b, c = a, b, c |
| 178 | - | sound = "rbxassetid://1102186681", |
| 178 | + | elseif edg2 <= (c-b).magnitude and edg2 >= 0 then |
| 179 | - | soundVol = 1.25, |
| 179 | + | a, b, c = b, c, a |
| 180 | - | hasGravity = true, |
| 180 | + | elseif edg3 <= (a-c).magnitude and edg3 >= 0 then |
| 181 | - | objectType = "Block" |
| 181 | + | a, b, c = c, a, b |
| 182 | - | }, |
| 182 | + | else |
| 183 | - | {
|
| 183 | + | assert(false, "unreachable") |
| 184 | - | name = "Stone", |
| 184 | + | |
| 185 | - | size = Vector3.new(2.6, 2.6, 2.6), |
| 185 | + | |
| 186 | - | transparency = 0; |
| 186 | + | local len1 = (c-a):Dot((b-a).unit) |
| 187 | - | frontTex = "rbxassetid://75880927", |
| 187 | + | local len2 = (b-a).magnitude - len1 |
| 188 | - | backTex = "rbxassetid://75880927", |
| 188 | + | local width = (a + (b-a).unit*len1 - c).magnitude |
| 189 | - | topTex = "rbxassetid://75880927", |
| 189 | + | |
| 190 | - | bottomTex = "rbxassetid://75880927", |
| 190 | + | local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit) |
| 191 | - | leftTex = "rbxassetid://75880927", |
| 191 | + | |
| 192 | - | rightTex = "rbxassetid://75880927", |
| 192 | + | local list = {}
|
| 193 | - | displayTex = "", |
| 193 | + | |
| 194 | - | sound = "rbxassetid://1016978163", |
| 194 | + | if len1 > 0.01 then |
| 195 | - | soundVol = 2, |
| 195 | + | local w1 = Instance.new('WedgePart', m)
|
| 196 | - | hasGravity = false, |
| 196 | + | game:GetService("Debris"):AddItem(w1,5)
|
| 197 | - | objectType = "Block" |
| 197 | + | w1.Material = "SmoothPlastic" |
| 198 | - | }, |
| 198 | + | w1.FormFactor = 'Custom' |
| 199 | - | {
|
| 199 | + | w1.BrickColor = BrickColor.new("Really red")
|
| 200 | - | name = "Diamond Ore", |
| 200 | + | w1.Transparency = 0 |
| 201 | - | size = Vector3.new(2.6, 2.6, 2.6), |
| 201 | + | w1.Reflectance = 0 |
| 202 | - | transparency = 0; |
| 202 | + | w1.Material = "SmoothPlastic" |
| 203 | - | frontTex = "rbxassetid://57928490", |
| 203 | + | w1.CanCollide = false |
| 204 | - | backTex = "rbxassetid://57928490", |
| 204 | + | NoOutline(w1) |
| 205 | - | topTex = "rbxassetid://57928490", |
| 205 | + | local sz = Vector3.new(0.2, width, len1) |
| 206 | - | bottomTex = "rbxassetid://57928490", |
| 206 | + | w1.Size = sz |
| 207 | - | leftTex = "rbxassetid://57928490", |
| 207 | + | local sp = Instance.new("SpecialMesh",w1)
|
| 208 | - | rightTex = "rbxassetid://57928490", |
| 208 | + | sp.MeshType = "Wedge" |
| 209 | - | displayTex = "", |
| 209 | + | sp.Scale = Vector3.new(0,1,1) * sz/w1.Size |
| 210 | - | sound = "rbxassetid://1016978163", |
| 210 | + | w1:BreakJoints() |
| 211 | - | soundVol = 2, |
| 211 | + | w1.Anchored = true |
| 212 | - | hasGravity = false, |
| 212 | + | w1.Parent = workspace |
| 213 | - | objectType = "Block" |
| 213 | + | w1.Transparency = 0.7 |
| 214 | - | }, |
| 214 | + | table.insert(Effects,{w1,"Disappear",.01})
|
| 215 | - | {
|
| 215 | + | w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2) |
| 216 | - | name = "Diamond Block", |
| 216 | + | table.insert(list,w1) |
| 217 | - | size = Vector3.new(2.6, 2.6, 2.6), |
| 217 | + | |
| 218 | - | transparency = 0; |
| 218 | + | |
| 219 | - | frontTex = "rbxassetid://56749955", |
| 219 | + | if len2 > 0.01 then |
| 220 | - | backTex = "rbxassetid://56749955", |
| 220 | + | local w2 = Instance.new('WedgePart', m)
|
| 221 | - | topTex = "rbxassetid://56749955", |
| 221 | + | game:GetService("Debris"):AddItem(w2,5)
|
| 222 | - | bottomTex = "rbxassetid://56749955", |
| 222 | + | w2.Material = "SmoothPlastic" |
| 223 | - | leftTex = "rbxassetid://56749955", |
| 223 | + | w2.FormFactor = 'Custom' |
| 224 | - | rightTex = "rbxassetid://56749955", |
| 224 | + | w2.BrickColor = BrickColor.new("Really red")
|
| 225 | - | displayTex = "", |
| 225 | + | w2.Transparency = 0 |
| 226 | - | sound = "rbxassetid://1016978163", |
| 226 | + | w2.Reflectance = 0 |
| 227 | - | soundVol = 2, |
| 227 | + | w2.Material = "SmoothPlastic" |
| 228 | - | hasGravity = false, |
| 228 | + | w2.CanCollide = false |
| 229 | - | objectType = "Block" |
| 229 | + | NoOutline(w2) |
| 230 | - | }, |
| 230 | + | local sz = Vector3.new(0.2, width, len2) |
| 231 | - | {
|
| 231 | + | w2.Size = sz |
| 232 | - | name = "Emerald Block", |
| 232 | + | local sp = Instance.new("SpecialMesh",w2)
|
| 233 | - | size = Vector3.new(2.6, 2.6, 2.6), |
| 233 | + | sp.MeshType = "Wedge" |
| 234 | - | transparency = 0; |
| 234 | + | sp.Scale = Vector3.new(0,1,1) * sz/w2.Size |
| 235 | - | frontTex = "rbxassetid://152410853", |
| 235 | + | w2:BreakJoints() |
| 236 | - | backTex = "rbxassetid://152410853", |
| 236 | + | w2.Anchored = true |
| 237 | - | topTex = "rbxassetid://152410853", |
| 237 | + | w2.Parent = workspace |
| 238 | - | bottomTex = "rbxassetid://152410853", |
| 238 | + | w2.Transparency = 0.7 |
| 239 | - | leftTex = "rbxassetid://152410853", |
| 239 | + | table.insert(Effects,{w2,"Disappear",.01})
|
| 240 | - | rightTex = "rbxassetid://152410853", |
| 240 | + | w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2) |
| 241 | - | displayTex = "", |
| 241 | + | table.insert(list,w2) |
| 242 | - | sound = "rbxassetid://1016978163", |
| 242 | + | |
| 243 | - | soundVol = 2, |
| 243 | + | return unpack(list) |
| 244 | - | hasGravity = false, |
| 244 | + | |
| 245 | - | objectType = "Block" |
| 245 | + | |
| 246 | - | }, |
| 246 | + | |
| 247 | - | {
|
| 247 | + | so = function(id,par,vol,pit) |
| 248 | - | name = "Emerald Ore", |
| 248 | + | coroutine.resume(coroutine.create(function() |
| 249 | - | size = Vector3.new(2.6, 2.6, 2.6), |
| 249 | + | local sou = Instance.new("Sound",par or workspace)
|
| 250 | - | transparency = 0; |
| 250 | + | sou.Volume=vol |
| 251 | - | frontTex = "rbxassetid://152410868", |
| 251 | + | sou.Pitch=pit or 1 |
| 252 | - | backTex = "rbxassetid://152410868", |
| 252 | + | sou.SoundId=id |
| 253 | - | topTex = "rbxassetid://152410868", |
| 253 | + | swait() |
| 254 | - | bottomTex = "rbxassetid://152410868", |
| 254 | + | sou:play() |
| 255 | - | leftTex = "rbxassetid://152410868", |
| 255 | + | game:GetService("Debris"):AddItem(sou,6)
|
| 256 | - | rightTex = "rbxassetid://152410868", |
| 256 | + | end)) |
| 257 | - | displayTex = "", |
| 257 | + | |
| 258 | - | sound = "rbxassetid://1016978163", |
| 258 | + | |
| 259 | - | soundVol = 2, |
| 259 | + | function clerp(a,b,t) |
| 260 | - | hasGravity = false, |
| 260 | + | local qa = {QuaternionFromCFrame(a)}
|
| 261 | - | objectType = "Block" |
| 261 | + | local qb = {QuaternionFromCFrame(b)}
|
| 262 | - | }, |
| 262 | + | local ax, ay, az = a.x, a.y, a.z |
| 263 | - | {
|
| 263 | + | local bx, by, bz = b.x, b.y, b.z |
| 264 | - | name = "Obsidian", |
| 264 | + | local _t = 1-t |
| 265 | - | size = Vector3.new(2.6, 2.6, 2.6), |
| 265 | + | return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t)) |
| 266 | - | transparency = 0; |
| 266 | + | |
| 267 | - | frontTex = "rbxassetid://112560322", |
| 267 | + | |
| 268 | - | backTex = "rbxassetid://112560322", |
| 268 | + | function QuaternionFromCFrame(cf) |
| 269 | - | topTex = "rbxassetid://112560322", |
| 269 | + | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() |
| 270 | - | bottomTex = "rbxassetid://112560322", |
| 270 | + | local trace = m00 + m11 + m22 |
| 271 | - | leftTex = "rbxassetid://112560322", |
| 271 | + | if trace > 0 then |
| 272 | - | rightTex = "rbxassetid://112560322", |
| 272 | + | local s = math.sqrt(1 + trace) |
| 273 | - | displayTex = "", |
| 273 | + | local recip = 0.5/s |
| 274 | - | sound = "rbxassetid://1016978163", |
| 274 | + | return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5 |
| 275 | - | soundVol = 2, |
| 275 | + | else |
| 276 | - | hasGravity = false, |
| 276 | + | local i = 0 |
| 277 | - | objectType = "Block" |
| 277 | + | if m11 > m00 then |
| 278 | - | }, |
| 278 | + | i = 1 |
| 279 | - | {
|
| 279 | + | |
| 280 | - | name = "Gold Block", |
| 280 | + | if m22 > (i == 0 and m00 or m11) then |
| 281 | - | size = Vector3.new(2.6, 2.6, 2.6), |
| 281 | + | i = 2 |
| 282 | - | transparency = 0; |
| 282 | + | |
| 283 | - | frontTex = "rbxassetid://152572128", |
| 283 | + | if i == 0 then |
| 284 | - | backTex = "rbxassetid://152572128", |
| 284 | + | local s = math.sqrt(m00-m11-m22+1) |
| 285 | - | topTex = "rbxassetid://152572128", |
| 285 | + | local recip = 0.5/s |
| 286 | - | bottomTex = "rbxassetid://152572128", |
| 286 | + | return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip |
| 287 | - | leftTex = "rbxassetid://152572128", |
| 287 | + | elseif i == 1 then |
| 288 | - | rightTex = "rbxassetid://152572128", |
| 288 | + | local s = math.sqrt(m11-m22-m00+1) |
| 289 | - | displayTex = "", |
| 289 | + | local recip = 0.5/s |
| 290 | - | sound = "rbxassetid://1016978163", |
| 290 | + | return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip |
| 291 | - | soundVol = 2, |
| 291 | + | elseif i == 2 then |
| 292 | - | hasGravity = false, |
| 292 | + | local s = math.sqrt(m22-m00-m11+1) |
| 293 | - | objectType = "Block" |
| 293 | + | local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip |
| 294 | - | }, |
| 294 | + | |
| 295 | - | {
|
| 295 | + | |
| 296 | - | name = "Gold Ore", |
| 296 | + | |
| 297 | - | size = Vector3.new(2.6, 2.6, 2.6), |
| 297 | + | |
| 298 | - | transparency = 0; |
| 298 | + | function QuaternionToCFrame(px, py, pz, x, y, z, w) |
| 299 | - | frontTex = "rbxassetid://152572121", |
| 299 | + | local xs, ys, zs = x + x, y + y, z + z |
| 300 | - | backTex = "rbxassetid://152572121", |
| 300 | + | local wx, wy, wz = w*xs, w*ys, w*zs |
| 301 | - | topTex = "rbxassetid://152572121", |
| 301 | + | local xx = x*xs |
| 302 | - | bottomTex = "rbxassetid://152572121", |
| 302 | + | local xy = x*ys |
| 303 | - | leftTex = "rbxassetid://152572121", |
| 303 | + | local xz = x*zs |
| 304 | - | rightTex = "rbxassetid://152572121", |
| 304 | + | local yy = y*ys |
| 305 | - | displayTex = "", |
| 305 | + | local yz = y*zs |
| 306 | - | sound = "rbxassetid://1016978163", |
| 306 | + | local zz = z*zs |
| 307 | - | soundVol = 2, |
| 307 | + | return CFrame.new(px, py, pz,1-(yy+zz), xy - wz, xz + wy,xy + wz, 1-(xx+zz), yz - wx, xz - wy, yz + wx, 1-(xx+yy)) |
| 308 | - | hasGravity = false, |
| 308 | + | |
| 309 | - | objectType = "Block" |
| 309 | + | |
| 310 | - | }, |
| 310 | + | function QuaternionSlerp(a, b, t) |
| 311 | - | {
|
| 311 | + | local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4] |
| 312 | - | name = "Iron Block", |
| 312 | + | local startInterp, finishInterp; |
| 313 | - | size = Vector3.new(2.6, 2.6, 2.6), |
| 313 | + | if cosTheta >= 0.0001 then |
| 314 | - | transparency = 0; |
| 314 | + | if (1 - cosTheta) > 0.0001 then |
| 315 | - | frontTex = "rbxassetid://152572134", |
| 315 | + | local theta = math.acos(cosTheta) |
| 316 | - | backTex = "rbxassetid://152572134", |
| 316 | + | local invSinTheta = 1/math.sin(theta) |
| 317 | - | topTex = "rbxassetid://152572134", |
| 317 | + | startInterp = math.sin((1-t)*theta)*invSinTheta |
| 318 | - | bottomTex = "rbxassetid://152572134", |
| 318 | + | finishInterp = math.sin(t*theta)*invSinTheta |
| 319 | - | leftTex = "rbxassetid://152572134", |
| 319 | + | else |
| 320 | - | rightTex = "rbxassetid://152572134", |
| 320 | + | startInterp = 1-t |
| 321 | - | displayTex = "", |
| 321 | + | finishInterp = t |
| 322 | - | sound = "rbxassetid://1016978163", |
| 322 | + | |
| 323 | - | soundVol = 2, |
| 323 | + | else |
| 324 | - | hasGravity = false, |
| 324 | + | if (1+cosTheta) > 0.0001 then |
| 325 | - | objectType = "Block" |
| 325 | + | local theta = math.acos(-cosTheta) |
| 326 | - | }, |
| 326 | + | local invSinTheta = 1/math.sin(theta) |
| 327 | - | {
|
| 327 | + | startInterp = math.sin((t-1)*theta)*invSinTheta |
| 328 | - | name = "Iron Ore", |
| 328 | + | finishInterp = math.sin(t*theta)*invSinTheta |
| 329 | - | size = Vector3.new(2.6, 2.6, 2.6), |
| 329 | + | else |
| 330 | - | transparency = 0; |
| 330 | + | startInterp = t-1 |
| 331 | - | frontTex = "rbxassetid://132879562", |
| 331 | + | finishInterp = t |
| 332 | - | backTex = "rbxassetid://132879562", |
| 332 | + | |
| 333 | - | topTex = "rbxassetid://132879562", |
| 333 | + | |
| 334 | - | bottomTex = "rbxassetid://132879562", |
| 334 | + | return a[1]*startInterp + b[1]*finishInterp, a[2]*startInterp + b[2]*finishInterp, a[3]*startInterp + b[3]*finishInterp, a[4]*startInterp + b[4]*finishInterp |
| 335 | - | leftTex = "rbxassetid://132879562", |
| 335 | + | |
| 336 | - | rightTex = "rbxassetid://132879562", |
| 336 | + | |
| 337 | - | displayTex = "", |
| 337 | + | function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants |
| 338 | - | sound = "rbxassetid://1016978163", |
| 338 | + | return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
|
| 339 | - | soundVol = 2, |
| 339 | + | |
| 340 | - | hasGravity = false, |
| 340 | + | |
| 341 | - | objectType = "Block" |
| 341 | + | local function CFrameFromTopBack(at, top, back) |
| 342 | - | }, |
| 342 | + | local right = top:Cross(back) |
| 343 | - | {
|
| 343 | + | return CFrame.new(at.x, at.y, at.z, |
| 344 | - | name = "Redstone Block", |
| 344 | + | right.x, top.x, back.x, |
| 345 | - | size = Vector3.new(2.6, 2.6, 2.6), |
| 345 | + | right.y, top.y, back.y, |
| 346 | - | transparency = 0; |
| 346 | + | right.z, top.z, back.z) |
| 347 | - | frontTex = "rbxassetid://136260219", |
| 347 | + | |
| 348 | - | backTex = "rbxassetid://136260219", |
| 348 | + | |
| 349 | - | topTex = "rbxassetid://136260219", |
| 349 | + | --Example: Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4) |
| 350 | - | bottomTex = "rbxassetid://136260219", |
| 350 | + | |
| 351 | - | leftTex = "rbxassetid://136260219", |
| 351 | + | |
| 352 | - | rightTex = "rbxassetid://136260219", |
| 352 | + | function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants |
| 353 | - | sound = "rbxassetid://1016978163", |
| 353 | + | return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
|
| 354 | - | soundVol = 2, |
| 354 | + | |
| 355 | - | hasGravity = false, |
| 355 | + | |
| 356 | - | objectType = "Block" |
| 356 | + | Damagefunc=function(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock) |
| 357 | - | }, |
| 357 | + | if hit.Parent==nil then |
| 358 | - | {
|
| 358 | + | return |
| 359 | - | name = "Redstone Ore", |
| 359 | + | end |
| 360 | - | size = Vector3.new(2.6, 2.6, 2.6), |
| 360 | + | h=hit.Parent:FindFirstChild("Humanoid")
|
| 361 | - | transparency = 0; |
| 361 | + | for _,v in pairs(hit.Parent:children()) do |
| 362 | - | frontTex = "rbxassetid://152572209", |
| 362 | + | if v:IsA("Humanoid") then
|
| 363 | - | backTex = "rbxassetid://152572209", |
| 363 | + | h=v |
| 364 | - | topTex = "rbxassetid://152572209", |
| 364 | + | end |
| 365 | - | bottomTex = "rbxassetid://152572209", |
| 365 | + | end |
| 366 | - | leftTex = "rbxassetid://152572209", |
| 366 | + | if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
|
| 367 | - | rightTex = "rbxassetid://152572209", |
| 367 | + | h=hit.Parent.Parent:FindFirstChild("Humanoid")
|
| 368 | - | displayTex = "", |
| 368 | + | end |
| 369 | - | sound = "rbxassetid://1016978163", |
| 369 | + | if hit.Parent.className=="Hat" then |
| 370 | - | soundVol = 2, |
| 370 | + | hit=hit.Parent.Parent:findFirstChild("Head")
|
| 371 | - | hasGravity = false, |
| 371 | + | end |
| 372 | - | objectType = "Block" |
| 372 | + | if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
|
| 373 | - | }, |
| 373 | + | if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
|
| 374 | - | {
|
| 374 | + | --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then |
| 375 | - | name = "Coal Block", |
| 375 | + | return |
| 376 | - | size = Vector3.new(2.6, 2.6, 2.6), |
| 376 | + | end]] |
| 377 | - | transparency = 0; |
| 377 | + | -- hs(hit,1.2) |
| 378 | - | frontTex = "rbxassetid://152527418", |
| 378 | + | c=Instance.new("ObjectValue")
|
| 379 | - | backTex = "rbxassetid://152527418", |
| 379 | + | c.Name="creator" |
| 380 | - | topTex = "rbxassetid://152527418", |
| 380 | + | c.Value=game:service("Players").LocalPlayer
|
| 381 | - | bottomTex = "rbxassetid://152527418", |
| 381 | + | c.Parent=h |
| 382 | - | leftTex = "rbxassetid://152527418", |
| 382 | + | game:GetService("Debris"):AddItem(c,.5)
|
| 383 | - | rightTex = "rbxassetid://152527418", |
| 383 | + | Damage=math.random(minim,maxim) |
| 384 | - | displayTex = "", |
| 384 | + | -- h:TakeDamage(Damage) |
| 385 | - | sound = "rbxassetid://1016978163", |
| 385 | + | blocked=false |
| 386 | - | soundVol = 2, |
| 386 | + | block=hit.Parent:findFirstChild("Block")
|
| 387 | - | hasGravity = false, |
| 387 | + | if block~=nil then |
| 388 | - | objectType = "Block" |
| 388 | + | print(block.className) |
| 389 | - | }, |
| 389 | + | if block.className=="NumberValue" then |
| 390 | - | {
|
| 390 | + | if block.Value>0 then |
| 391 | - | name = "Coal Ore", |
| 391 | + | blocked=true |
| 392 | - | size = Vector3.new(2.6, 2.6, 2.6), |
| 392 | + | if decreaseblock==nil then |
| 393 | - | transparency = 0; |
| 393 | + | block.Value=block.Value-1 |
| 394 | - | frontTex = "rbxassetid://152572101", |
| 394 | + | end |
| 395 | - | backTex = "rbxassetid://152572101", |
| 395 | + | end |
| 396 | - | topTex = "rbxassetid://152572101", |
| 396 | + | end |
| 397 | - | bottomTex = "rbxassetid://152572101", |
| 397 | + | if block.className=="IntValue" then |
| 398 | - | leftTex = "rbxassetid://152572101", |
| 398 | + | if block.Value>0 then |
| 399 | - | rightTex = "rbxassetid://152572101", |
| 399 | + | blocked=true |
| 400 | - | displayTex = "", |
| 400 | + | if decreaseblock~=nil then |
| 401 | - | sound = "rbxassetid://1016978163", |
| 401 | + | block.Value=block.Value-1 |
| 402 | - | soundVol = 2, |
| 402 | + | end |
| 403 | - | hasGravity = false, |
| 403 | + | end |
| 404 | - | objectType = "Block" |
| 404 | + | end |
| 405 | - | }, |
| 405 | + | end |
| 406 | - | {
|
| 406 | + | if blocked==false then |
| 407 | - | name = "Bedrock", |
| 407 | + | -- h:TakeDamage(Damage) |
| 408 | - | size = Vector3.new(2.6, 2.6, 2.6), |
| 408 | + | h.Health=h.Health-Damage |
| 409 | - | transparency = 0; |
| 409 | + | showDamage(hit.Parent,Damage,.5,BrickColor.new("Really red"))
|
| 410 | - | frontTex = "rbxassetid://75881126", |
| 410 | + | else |
| 411 | - | backTex = "rbxassetid://75881126", |
| 411 | + | h.Health=h.Health-(Damage/2) |
| 412 | - | topTex = "rbxassetid://75881126", |
| 412 | + | showDamage(hit.Parent,Damage/2,.5,BrickColor.new("Bright blue"))
|
| 413 | - | bottomTex = "rbxassetid://75881126", |
| 413 | + | end |
| 414 | - | leftTex = "rbxassetid://75881126", |
| 414 | + | if Type=="Knockdown" then |
| 415 | - | rightTex = "rbxassetid://75881126", |
| 415 | + | hum=hit.Parent.Humanoid |
| 416 | - | displayTex = "", |
| 416 | + | hum.PlatformStand=true |
| 417 | - | sound = "rbxassetid://1016978163", |
| 417 | + | coroutine.resume(coroutine.create(function(HHumanoid) |
| 418 | - | soundVol = 2, |
| 418 | + | swait(1) |
| 419 | - | hasGravity = false, |
| 419 | + | HHumanoid.PlatformStand=false |
| 420 | - | objectType = "Block" |
| 420 | + | end),hum) |
| 421 | - | }, |
| 421 | + | local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit |
| 422 | - | {
|
| 422 | + | --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0) |
| 423 | - | name = "Cobblestone", |
| 423 | + | local bodvol=Instance.new("BodyVelocity")
|
| 424 | - | size = Vector3.new(2.6, 2.6, 2.6), |
| 424 | + | bodvol.velocity=angle*knockback |
| 425 | - | transparency = 0; |
| 425 | + | bodvol.P=5000 |
| 426 | - | frontTex = "rbxassetid://152572105", |
| 426 | + | bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003) |
| 427 | - | backTex = "rbxassetid://152572105", |
| 427 | + | bodvol.Parent=hit |
| 428 | - | topTex = "rbxassetid://152572105", |
| 428 | + | rl=Instance.new("BodyAngularVelocity")
|
| 429 | - | bottomTex = "rbxassetid://152572105", |
| 429 | + | rl.P=3000 |
| 430 | - | leftTex = "rbxassetid://152572105", |
| 430 | + | rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000 |
| 431 | - | rightTex = "rbxassetid://152572105", |
| 431 | + | rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10)) |
| 432 | - | displayTex = "", |
| 432 | + | rl.Parent=hit |
| 433 | - | sound = "rbxassetid://1016978163", |
| 433 | + | game:GetService("Debris"):AddItem(bodvol,.5)
|
| 434 | - | soundVol = 2, |
| 434 | + | game:GetService("Debris"):AddItem(rl,.5)
|
| 435 | - | hasGravity = false, |
| 435 | + | elseif Type=="Normal" then |
| 436 | - | objectType = "Block" |
| 436 | + | vp=Instance.new("BodyVelocity")
|
| 437 | - | }, |
| 437 | + | vp.P=500 |
| 438 | - | {
|
| 438 | + | vp.maxForce=Vector3.new(math.huge,0,math.huge) |
| 439 | - | name = "Mossy Stone Brick", |
| 439 | + | -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback |
| 440 | - | size = Vector3.new(2.6, 2.6, 2.6), |
| 440 | + | if KnockbackType==1 then |
| 441 | - | transparency = 0; |
| 441 | + | vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05 |
| 442 | - | frontTex = "rbxassetid://61826751", |
| 442 | + | elseif KnockbackType==2 then |
| 443 | - | backTex = "rbxassetid://61826751", |
| 443 | + | vp.velocity=Property.CFrame.lookVector*knockback |
| 444 | - | topTex = "rbxassetid://61826751", |
| 444 | + | end |
| 445 | - | bottomTex = "rbxassetid://61826751", |
| 445 | + | if knockback>0 then |
| 446 | - | leftTex = "rbxassetid://61826751", |
| 446 | + | vp.Parent=hit.Parent.Torso |
| 447 | - | rightTex = "rbxassetid://61826751", |
| 447 | + | end |
| 448 | - | displayTex = "", |
| 448 | + | game:GetService("Debris"):AddItem(vp,.5)
|
| 449 | - | sound = "rbxassetid://1016978163", |
| 449 | + | elseif Type=="Up" then |
| 450 | - | soundVol = 2, |
| 450 | + | local bodyVelocity=Instance.new("BodyVelocity")
|
| 451 | - | hasGravity = false, |
| 451 | + | bodyVelocity.velocity=vt(0,60,0) |
| 452 | - | objectType = "Block" |
| 452 | + | bodyVelocity.P=5000 |
| 453 | - | }, |
| 453 | + | bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003) |
| 454 | - | {
|
| 454 | + | bodyVelocity.Parent=hit |
| 455 | - | name = "Cracked Stone Brick", |
| 455 | + | game:GetService("Debris"):AddItem(bodyVelocity,1)
|
| 456 | - | size = Vector3.new(2.6, 2.6, 2.6), |
| 456 | + | rl=Instance.new("BodyAngularVelocity")
|
| 457 | - | transparency = 0; |
| 457 | + | rl.P=3000 |
| 458 | - | frontTex = "rbxassetid://151802087", |
| 458 | + | rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000 |
| 459 | - | backTex = "rbxassetid://151802087", |
| 459 | + | rl.angularvelocity=Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30)) |
| 460 | - | topTex = "rbxassetid://151802087", |
| 460 | + | rl.Parent=hit |
| 461 | - | bottomTex = "rbxassetid://151802087", |
| 461 | + | game:GetService("Debris"):AddItem(rl,.5)
|
| 462 | - | leftTex = "rbxassetid://151802087", |
| 462 | + | elseif Type=="Snare" then |
| 463 | - | rightTex = "rbxassetid://151802087", |
| 463 | + | bp=Instance.new("BodyPosition")
|
| 464 | - | displayTex = "", |
| 464 | + | bp.P=2000 |
| 465 | - | sound = "rbxassetid://1016978163", |
| 465 | + | bp.D=100 |
| 466 | - | soundVol = 2, |
| 466 | + | bp.maxForce=Vector3.new(math.huge,math.huge,math.huge) |
| 467 | - | hasGravity = false, |
| 467 | + | bp.position=hit.Parent.Torso.Position |
| 468 | - | objectType = "Block" |
| 468 | + | bp.Parent=hit.Parent.Torso |
| 469 | - | }, |
| 469 | + | game:GetService("Debris"):AddItem(bp,1)
|
| 470 | - | {
|
| 470 | + | elseif Type=="Target" then |
| 471 | - | name = "Chiseled Stone Brick", |
| 471 | + | if Targetting==false then |
| 472 | - | size = Vector3.new(2.6, 2.6, 2.6), |
| 472 | + | ZTarget=hit.Parent.Torso |
| 473 | - | transparency = 0; |
| 473 | + | coroutine.resume(coroutine.create(function(Part) |
| 474 | - | frontTex = "rbxassetid://151802074", |
| 474 | + | so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
|
| 475 | - | backTex = "rbxassetid://151802074", |
| 475 | + | swait(5) |
| 476 | - | topTex = "rbxassetid://151802074", |
| 476 | + | so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
|
| 477 | - | bottomTex = "rbxassetid://151802074", |
| 477 | + | end),ZTarget) |
| 478 | - | leftTex = "rbxassetid://151802074", |
| 478 | + | TargHum=ZTarget.Parent:findFirstChild("Humanoid")
|
| 479 | - | rightTex = "rbxassetid://151802074", |
| 479 | + | targetgui=Instance.new("BillboardGui")
|
| 480 | - | displayTex = "", |
| 480 | + | targetgui.Parent=ZTarget |
| 481 | - | sound = "rbxassetid://1016978163", |
| 481 | + | targetgui.Size=UDim2.new(10,100,10,100) |
| 482 | - | soundVol = 2, |
| 482 | + | targ=Instance.new("ImageLabel")
|
| 483 | - | hasGravity = false, |
| 483 | + | targ.Parent=targetgui |
| 484 | - | objectType = "Block" |
| 484 | + | targ.BackgroundTransparency=1 |
| 485 | - | }, |
| 485 | + | targ.Image="rbxassetid://4834067" |
| 486 | - | {
|
| 486 | + | targ.Size=UDim2.new(1,0,1,0) |
| 487 | - | name = "Stone Brick", |
| 487 | + | cam.CameraType="Scriptable" |
| 488 | - | size = Vector3.new(2.6, 2.6, 2.6), |
| 488 | + | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) |
| 489 | - | transparency = 0; |
| 489 | + | dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z) |
| 490 | - | frontTex = "rbxassetid://61826773", |
| 490 | + | workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) |
| 491 | - | backTex = "rbxassetid://61826773", |
| 491 | + | Targetting=true |
| 492 | - | topTex = "rbxassetid://61826773", |
| 492 | + | RocketTarget=ZTarget |
| 493 | - | bottomTex = "rbxassetid://61826773", |
| 493 | + | for i=1,Property do |
| 494 | - | leftTex = "rbxassetid://61826773", |
| 494 | + | --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do |
| 495 | - | rightTex = "rbxassetid://61826773", |
| 495 | + | if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then |
| 496 | - | displayTex = "", |
| 496 | + | swait() |
| 497 | - | sound = "rbxassetid://1016978163", |
| 497 | + | end |
| 498 | - | soundVol = 2, |
| 498 | + | --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100) |
| 499 | - | hasGravity = false, |
| 499 | + | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) |
| 500 | - | objectType = "Block" |
| 500 | + | dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z) |
| 501 | - | }, |
| 501 | + | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0) |
| 502 | - | {
|
| 502 | + | end |
| 503 | - | name = "Nether Brick", |
| 503 | + | Targetting=false |
| 504 | - | size = Vector3.new(2.6, 2.6, 2.6), |
| 504 | + | RocketTarget=nil |
| 505 | - | transparency = 0; |
| 505 | + | targetgui.Parent=nil |
| 506 | - | frontTex = "rbxassetid://151802104", |
| 506 | + | cam.CameraType="Custom" |
| 507 | - | backTex = "rbxassetid://151802104", |
| 507 | + | end |
| 508 | - | topTex = "rbxassetid://151802104", |
| 508 | + | end |
| 509 | - | bottomTex = "rbxassetid://151802104", |
| 509 | + | debounce=Instance.new("BoolValue")
|
| 510 | - | leftTex = "rbxassetid://151802104", |
| 510 | + | debounce.Name="DebounceHit" |
| 511 | - | rightTex = "rbxassetid://151802104", |
| 511 | + | debounce.Parent=hit.Parent |
| 512 | - | displayTex = "", |
| 512 | + | debounce.Value=true |
| 513 | - | sound = "rbxassetid://1016978163", |
| 513 | + | game:GetService("Debris"):AddItem(debounce,Delay)
|
| 514 | - | soundVol = 2, |
| 514 | + | c=Instance.new("ObjectValue")
|
| 515 | - | hasGravity = false, |
| 515 | + | c.Name="creator" |
| 516 | - | objectType = "Block" |
| 516 | + | c.Value=Player |
| 517 | - | }, |
| 517 | + | c.Parent=h |
| 518 | - | {
|
| 518 | + | game:GetService("Debris"):AddItem(c,.5)
|
| 519 | - | name = "Granite", |
| 519 | + | CRIT=false |
| 520 | - | size = Vector3.new(2.6, 2.6, 2.6), |
| 520 | + | hitDeb=true |
| 521 | - | transparency = 0; |
| 521 | + | AttackPos=6 |
| 522 | - | frontTex = "rbxassetid://151776467", |
| 522 | + | end |
| 523 | - | backTex = "rbxassetid://151776467", |
| 523 | + | |
| 524 | - | topTex = "rbxassetid://151776467", |
| 524 | + | |
| 525 | - | bottomTex = "rbxassetid://151776467", |
| 525 | + | showDamage=function(Char,Dealt,du,Color) |
| 526 | - | leftTex = "rbxassetid://151776467", |
| 526 | + | m=Instance.new("Model")
|
| 527 | - | rightTex = "rbxassetid://151776467", |
| 527 | + | m.Name=tostring(Dealt) |
| 528 | - | displayTex = "", |
| 528 | + | h=Instance.new("Humanoid")
|
| 529 | - | sound = "rbxassetid://1016978163", |
| 529 | + | h.Health=0 |
| 530 | - | soundVol = 2, |
| 530 | + | h.MaxHealth=0 |
| 531 | - | hasGravity = false, |
| 531 | + | h.Parent=m |
| 532 | - | objectType = "Block" |
| 532 | + | c=Instance.new("Part")
|
| 533 | - | }, |
| 533 | + | c.Transparency=0 |
| 534 | - | {
|
| 534 | + | c.BrickColor=Color |
| 535 | - | name = "Diorite", |
| 535 | + | c.Name="Head" |
| 536 | - | size = Vector3.new(2.6, 2.6, 2.6), |
| 536 | + | c.TopSurface=0 |
| 537 | - | transparency = 0; |
| 537 | + | c.BottomSurface=0 |
| 538 | - | frontTex = "rbxassetid://151776452", |
| 538 | + | c.formFactor="Plate" |
| 539 | - | backTex = "rbxassetid://151776452", |
| 539 | + | c.Size=Vector3.new(1,.4,1) |
| 540 | - | topTex = "rbxassetid://151776452", |
| 540 | + | ms=Instance.new("CylinderMesh")
|
| 541 | - | bottomTex = "rbxassetid://151776452", |
| 541 | + | ms.Scale=Vector3.new(.8,.8,.8) |
| 542 | - | leftTex = "rbxassetid://151776452", |
| 542 | + | if CRIT==true then |
| 543 | - | rightTex = "rbxassetid://151776452", |
| 543 | + | ms.Scale=Vector3.new(1,1.25,1) |
| 544 | - | sound = "rbxassetid://1016978163", |
| 544 | + | end |
| 545 | - | soundVol = 2, |
| 545 | + | ms.Parent=c |
| 546 | - | hasGravity = false, |
| 546 | + | c.Reflectance=0 |
| 547 | - | objectType = "Block" |
| 547 | + | Instance.new("BodyGyro").Parent=c
|
| 548 | - | }, |
| 548 | + | c.Parent=m |
| 549 | - | {
|
| 549 | + | if Char:findFirstChild("Head")~=nil then
|
| 550 | - | name = "Andesite", |
| 550 | + | c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0)) |
| 551 | - | size = Vector3.new(2.6, 2.6, 2.6), |
| 551 | + | elseif Char.Parent:findFirstChild("Head")~=nil then
|
| 552 | - | transparency = 0; |
| 552 | + | c.CFrame=CFrame.new(Char.Parent["Head"].CFrame.p+Vector3.new(0,1.5,0)) |
| 553 | - | frontTex = "rbxassetid://151776422", |
| 553 | + | end |
| 554 | - | backTex = "rbxassetid://151776422", |
| 554 | + | f=Instance.new("BodyPosition")
|
| 555 | - | topTex = "rbxassetid://151776422", |
| 555 | + | f.P=2000 |
| 556 | - | bottomTex = "rbxassetid://151776422", |
| 556 | + | f.D=100 |
| 557 | - | leftTex = "rbxassetid://151776422", |
| 557 | + | f.maxForce=Vector3.new(math.huge,math.huge,math.huge) |
| 558 | - | rightTex = "rbxassetid://151776422", |
| 558 | + | f.position=c.Position+Vector3.new(0,3,0) |
| 559 | - | displayTex = "", |
| 559 | + | f.Parent=c |
| 560 | - | sound = "rbxassetid://1016978163", |
| 560 | + | game:GetService("Debris"):AddItem(m,.5+du)
|
| 561 | - | soundVol = 2, |
| 561 | + | c.CanCollide=false |
| 562 | - | hasGravity = false, |
| 562 | + | m.Parent=workspace |
| 563 | - | objectType = "Block" |
| 563 | + | c.CanCollide=false |
| 564 | - | }, |
| 564 | + | |
| 565 | - | {
|
| 565 | + | |
| 566 | - | name = "Polished Granite", |
| 566 | + | Player=game:GetService('Players').LocalPlayer
|
| 567 | - | size = Vector3.new(2.6, 2.6, 2.6), |
| 567 | + | Character=Player.Character |
| 568 | - | transparency = 0; |
| 568 | + | Mouse=Player:GetMouse() |
| 569 | - | frontTex = "rbxassetid://151776506", |
| 569 | + | m=Instance.new('Model',Character)
|
| 570 | - | backTex = "rbxassetid://151776506", |
| 570 | + | it=Instance.new |
| 571 | - | topTex = "rbxassetid://151776506", |
| 571 | + | function nooutline(part) |
| 572 | - | bottomTex = "rbxassetid://151776506", |
| 572 | + | part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10 |
| 573 | - | leftTex = "rbxassetid://151776506", |
| 573 | + | |
| 574 | - | rightTex = "rbxassetid://151776506", |
| 574 | + | function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size) |
| 575 | - | displayTex = "", |
| 575 | + | local fp=it("Part")
|
| 576 | - | sound = "rbxassetid://1016978163", |
| 576 | + | fp.formFactor=formfactor |
| 577 | - | soundVol = 2, |
| 577 | + | fp.Parent=parent |
| 578 | - | hasGravity = false, |
| 578 | + | fp.Reflectance=reflectance |
| 579 | - | objectType = "Block" |
| 579 | + | fp.Transparency=transparency |
| 580 | - | }, |
| 580 | + | fp.CanCollide=false |
| 581 | - | {
|
| 581 | + | fp.Locked=true |
| 582 | - | name = "Polished Diorite", |
| 582 | + | fp.BrickColor=BrickColor.new(tostring(brickcolor)) |
| 583 | - | size = Vector3.new(2.6, 2.6, 2.6), |
| 583 | + | fp.Name=name |
| 584 | - | transparency = 0; |
| 584 | + | fp.Size=size |
| 585 | - | frontTex = "rbxassetid://151776533", |
| 585 | + | fp.Position=Character.Torso.Position |
| 586 | - | backTex = "rbxassetid://151776533", |
| 586 | + | nooutline(fp) |
| 587 | - | topTex = "rbxassetid://151776533", |
| 587 | + | fp.Material=material |
| 588 | - | bottomTex = "rbxassetid://151776533", |
| 588 | + | fp:BreakJoints() |
| 589 | - | leftTex = "rbxassetid://151776533", |
| 589 | + | return fp |
| 590 | - | rightTex = "rbxassetid://151776533", |
| 590 | + | |
| 591 | - | displayTex = "", |
| 591 | + | function mesh(Mesh,part,meshtype,meshid,offset,scale) |
| 592 | - | sound = "rbxassetid://1016978163", |
| 592 | + | local mesh=it(Mesh) |
| 593 | - | soundVol = 2, |
| 593 | + | mesh.Parent=part |
| 594 | - | hasGravity = false, |
| 594 | + | if Mesh=="SpecialMesh" then |
| 595 | - | objectType = "Block" |
| 595 | + | mesh.MeshType=meshtype |
| 596 | - | }, |
| 596 | + | mesh.MeshId=meshid |
| 597 | - | {
|
| 597 | + | end |
| 598 | - | name = "Polished Andesite", |
| 598 | + | mesh.Offset=offset |
| 599 | - | size = Vector3.new(2.6, 2.6, 2.6), |
| 599 | + | mesh.Scale=scale |
| 600 | - | transparency = 0; |
| 600 | + | return mesh |
| 601 | - | frontTex = "rbxassetid://151776506", |
| 601 | + | |
| 602 | - | backTex = "rbxassetid://151776506", |
| 602 | + | function weld(parent,part0,part1,c0,c1) |
| 603 | - | topTex = "rbxassetid://151776506", |
| 603 | + | local weld=it("Weld")
|
| 604 | - | bottomTex = "rbxassetid://151776506", |
| 604 | + | weld.Parent=parent |
| 605 | - | leftTex = "rbxassetid://151776506", |
| 605 | + | weld.Part0=part0 |
| 606 | - | rightTex = "rbxassetid://151776506", |
| 606 | + | weld.Part1=part1 |
| 607 | - | displayTex = "", |
| 607 | + | weld.C0=c0 |
| 608 | - | sound = "rbxassetid://1016978163", |
| 608 | + | weld.C1=c1 |
| 609 | - | soundVol = 2, |
| 609 | + | return weld |
| 610 | - | hasGravity = false, |
| 610 | + | |
| 611 | - | objectType = "Block" |
| 611 | + | |
| 612 | - | }, |
| 612 | + | Player=game:GetService('Players').LocalPlayer
|
| 613 | - | {
|
| 613 | + | Character=Player.Character |
| 614 | - | name = "Brick Block", |
| 614 | + | Mouse=Player:GetMouse() |
| 615 | - | size = Vector3.new(2.6, 2.6, 2.6), |
| 615 | + | m=Instance.new('Model',Character)
|
| 616 | - | transparency = 0; |
| 616 | + | it=Instance.new |
| 617 | - | frontTex = "rbxassetid://59389191", |
| 617 | + | function nooutline(part) |
| 618 | - | backTex = "rbxassetid://59389191", |
| 618 | + | part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10 |
| 619 | - | topTex = "rbxassetid://59389191", |
| 619 | + | |
| 620 | - | bottomTex = "rbxassetid://59389191", |
| 620 | + | function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size) |
| 621 | - | leftTex = "rbxassetid://59389191", |
| 621 | + | local fp=it("Part")
|
| 622 | - | rightTex = "rbxassetid://59389191", |
| 622 | + | fp.formFactor=formfactor |
| 623 | - | displayTex = "", |
| 623 | + | fp.Parent=parent |
| 624 | - | sound = "rbxassetid://1016978163", |
| 624 | + | fp.Reflectance=reflectance |
| 625 | - | soundVol = 2, |
| 625 | + | fp.Transparency=transparency |
| 626 | - | hasGravity = false, |
| 626 | + | fp.CanCollide=false |
| 627 | - | objectType = "Block" |
| 627 | + | fp.Locked=true |
| 628 | - | }, |
| 628 | + | fp.BrickColor=BrickColor.new(tostring(brickcolor)) |
| 629 | - | {
|
| 629 | + | fp.Name=name |
| 630 | - | name = "Packed Ice", |
| 630 | + | fp.Size=size |
| 631 | - | size = Vector3.new(2.6, 2.6, 2.6), |
| 631 | + | fp.Position=Character.Torso.Position |
| 632 | - | transparency = 0; |
| 632 | + | nooutline(fp) |
| 633 | - | frontTex = "rbxassetid://152528023", |
| 633 | + | fp.Material=material |
| 634 | - | backTex = "rbxassetid://152528023", |
| 634 | + | fp:BreakJoints() |
| 635 | - | topTex = "rbxassetid://152528023", |
| 635 | + | return fp |
| 636 | - | bottomTex = "rbxassetid://152528023", |
| 636 | + | |
| 637 | - | leftTex = "rbxassetid://152528023", |
| 637 | + | function mesh(Mesh,part,meshtype,meshid,offset,scale) |
| 638 | - | rightTex = "rbxassetid://152528023", |
| 638 | + | local mesh=it(Mesh) |
| 639 | - | displayTex = "", |
| 639 | + | mesh.Parent=part |
| 640 | - | sound = "rbxassetid://1016978163", |
| 640 | + | if Mesh=="SpecialMesh" then |
| 641 | - | soundVol = 2, |
| 641 | + | mesh.MeshType=meshtype |
| 642 | - | hasGravity = false, |
| 642 | + | mesh.MeshId=meshid |
| 643 | - | objectType = "Block" |
| 643 | + | end |
| 644 | - | }, |
| 644 | + | mesh.Offset=offset |
| 645 | - | {
|
| 645 | + | mesh.Scale=scale |
| 646 | - | name = "Ice Block", |
| 646 | + | return mesh |
| 647 | - | size = Vector3.new(2.6, 2.6, 2.6), |
| 647 | + | |
| 648 | - | transparency = 1; |
| 648 | + | function weld(parent,part0,part1,c0,c1) |
| 649 | - | frontTex = "rbxassetid://118555586", |
| 649 | + | local weld=it("Weld")
|
| 650 | - | backTex = "rbxassetid://118555586", |
| 650 | + | weld.Parent=parent |
| 651 | - | topTex = "rbxassetid://118555586", |
| 651 | + | weld.Part0=part0 |
| 652 | - | bottomTex = "rbxassetid://118555586", |
| 652 | + | weld.Part1=part1 |
| 653 | - | leftTex = "rbxassetid://118555586", |
| 653 | + | weld.C0=c0 |
| 654 | - | rightTex = "rbxassetid://118555586", |
| 654 | + | weld.C1=c1 |
| 655 | - | displayTex = "", |
| 655 | + | return weld |
| 656 | - | sound = "rbxassetid://1016978163", |
| 656 | + | |
| 657 | - | soundVol = 2, |
| 657 | + | |
| 658 | - | hasGravity = false, |
| 658 | + | Player=game:GetService('Players').LocalPlayer
|
| 659 | - | objectType = "Block" |
| 659 | + | Character=Player.Character |
| 660 | - | }, |
| 660 | + | Mouse=Player:GetMouse() |
| 661 | - | {
|
| 661 | + | m=Instance.new('Model',Character)
|
| 662 | - | name = "Netherrack", |
| 662 | + | it=Instance.new |
| 663 | - | size = Vector3.new(2.6, 2.6, 2.6), |
| 663 | + | function nooutline(part) |
| 664 | - | transparency = 0; |
| 664 | + | part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10 |
| 665 | - | frontTex = "rbxassetid://151802119", |
| 665 | + | |
| 666 | - | backTex = "rbxassetid://151802119", |
| 666 | + | function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size) |
| 667 | - | topTex = "rbxassetid://151802119", |
| 667 | + | local fp=it("Part")
|
| 668 | - | bottomTex = "rbxassetid://151802119", |
| 668 | + | fp.formFactor=formfactor |
| 669 | - | leftTex = "rbxassetid://151802119", |
| 669 | + | fp.Parent=parent |
| 670 | - | rightTex = "rbxassetid://151802119", |
| 670 | + | fp.Reflectance=reflectance |
| 671 | - | displayTex = "", |
| 671 | + | fp.Transparency=transparency |
| 672 | - | sound = "rbxassetid://1016978163", |
| 672 | + | fp.CanCollide=false |
| 673 | - | soundVol = 2, |
| 673 | + | fp.Locked=true |
| 674 | - | hasGravity = false, |
| 674 | + | fp.BrickColor=BrickColor.new(tostring(brickcolor)) |
| 675 | - | objectType = "Block" |
| 675 | + | fp.Name=name |
| 676 | - | }, |
| 676 | + | fp.Size=size |
| 677 | - | {
|
| 677 | + | fp.Position=Character.Torso.Position |
| 678 | - | name = "End Stone", |
| 678 | + | nooutline(fp) |
| 679 | - | size = Vector3.new(2.6, 2.6, 2.6), |
| 679 | + | fp.Material=material |
| 680 | - | transparency = 0; |
| 680 | + | fp:BreakJoints() |
| 681 | - | frontTex = "rbxassetid://151802091", |
| 681 | + | return fp |
| 682 | - | backTex = "rbxassetid://151802091", |
| 682 | + | |
| 683 | - | topTex = "rbxassetid://151802091", |
| 683 | + | function mesh(Mesh,part,meshtype,meshid,offset,scale) |
| 684 | - | bottomTex = "rbxassetid://151802091", |
| 684 | + | local mesh=it(Mesh) |
| 685 | - | leftTex = "rbxassetid://151802091", |
| 685 | + | mesh.Parent=part |
| 686 | - | rightTex = "rbxassetid://151802091", |
| 686 | + | if Mesh=="SpecialMesh" then |
| 687 | - | displayTex = "", |
| 687 | + | mesh.MeshType=meshtype |
| 688 | - | sound = "rbxassetid://1016978163", |
| 688 | + | mesh.MeshId=meshid |
| 689 | - | soundVol = 2, |
| 689 | + | end |
| 690 | - | hasGravity = false, |
| 690 | + | mesh.Offset=offset |
| 691 | - | objectType = "Block" |
| 691 | + | mesh.Scale=scale |
| 692 | - | }, |
| 692 | + | return mesh |
| 693 | - | {
|
| 693 | + | |
| 694 | - | name = "Glass Block", |
| 694 | + | function weld(parent,part0,part1,c0,c1) |
| 695 | - | size = Vector3.new(2.6, 2.6, 2.6), |
| 695 | + | local weld=it("Weld")
|
| 696 | - | transparency = 1; |
| 696 | + | weld.Parent=parent |
| 697 | - | frontTex = "rbxassetid://152239003", |
| 697 | + | weld.Part0=part0 |
| 698 | - | backTex = "rbxassetid://152239003", |
| 698 | + | weld.Part1=part1 |
| 699 | - | topTex = "rbxassetid://152239003", |
| 699 | + | weld.C0=c0 |
| 700 | - | bottomTex = "rbxassetid://152239003", |
| 700 | + | weld.C1=c1 |
| 701 | - | leftTex = "rbxassetid://152239003", |
| 701 | + | return weld |
| 702 | - | rightTex = "rbxassetid://152239003", |
| 702 | + | |
| 703 | - | displayTex = "", |
| 703 | + | |
| 704 | - | sound = "rbxassetid://1016978163", |
| 704 | + | Player=game:GetService('Players').LocalPlayer
|
| 705 | - | soundVol = 2, |
| 705 | + | Character=Player.Character |
| 706 | - | hasGravity = false, |
| 706 | + | Mouse=Player:GetMouse() |
| 707 | - | objectType = "Block" |
| 707 | + | m=Instance.new('Model',Character)
|
| 708 | - | }, |
| 708 | + | it=Instance.new |
| 709 | - | {
|
| 709 | + | function nooutline(part) |
| 710 | - | name = "Glowstone", |
| 710 | + | part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10 |
| 711 | - | size = Vector3.new(2.6, 2.6, 2.6), |
| 711 | + | |
| 712 | - | transparency = 0; |
| 712 | + | function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size) |
| 713 | - | frontTex = "rbxassetid://54790811", |
| 713 | + | local fp=it("Part")
|
| 714 | - | backTex = "rbxassetid://54790811", |
| 714 | + | fp.formFactor=formfactor |
| 715 | - | topTex = "rbxassetid://54790811", |
| 715 | + | fp.Parent=parent |
| 716 | - | bottomTex = "rbxassetid://54790811", |
| 716 | + | fp.Reflectance=reflectance |
| 717 | - | leftTex = "rbxassetid://54790811", |
| 717 | + | fp.Transparency=transparency |
| 718 | - | rightTex = "rbxassetid://54790811", |
| 718 | + | fp.CanCollide=false |
| 719 | - | displayTex = "", |
| 719 | + | fp.Locked=true |
| 720 | - | sound = "rbxassetid://1016978163", |
| 720 | + | fp.BrickColor=BrickColor.new(tostring(brickcolor)) |
| 721 | - | soundVol = 2, |
| 721 | + | fp.Name=name |
| 722 | - | hasGravity = false, |
| 722 | + | fp.Size=size |
| 723 | - | objectType = "Block" |
| 723 | + | fp.Position=Character.Torso.Position |
| 724 | - | }, |
| 724 | + | nooutline(fp) |
| 725 | - | {
|
| 725 | + | fp.Material=material |
| 726 | - | name = "Bookshelf", |
| 726 | + | fp:BreakJoints() |
| 727 | - | size = Vector3.new(2.6, 2.6, 2.6), |
| 727 | + | return fp |
| 728 | - | transparency = 0; |
| 728 | + | |
| 729 | - | frontTex = "rbxassetid://118554092", |
| 729 | + | function mesh(Mesh,part,meshtype,meshid,offset,scale) |
| 730 | - | backTex = "rbxassetid://118554092", |
| 730 | + | local mesh=it(Mesh) |
| 731 | - | topTex = "rbxassetid://346201871", |
| 731 | + | mesh.Parent=part |
| 732 | - | bottomTex = "rbxassetid://346201871", |
| 732 | + | if Mesh=="SpecialMesh" then |
| 733 | - | leftTex = "rbxassetid://118554092", |
| 733 | + | mesh.MeshType=meshtype |
| 734 | - | rightTex = "rbxassetid://118554092", |
| 734 | + | mesh.MeshId=meshid |
| 735 | - | displayTex = "", |
| 735 | + | end |
| 736 | - | sound = "rbxassetid://507863457", |
| 736 | + | mesh.Offset=offset |
| 737 | - | soundVol = 2, |
| 737 | + | mesh.Scale=scale |
| 738 | - | hasGravity = false, |
| 738 | + | return mesh |
| 739 | - | objectType = "Block" |
| 739 | + | |
| 740 | - | }, |
| 740 | + | function weld(parent,part0,part1,c0,c1) |
| 741 | - | {
|
| 741 | + | local weld=it("Weld")
|
| 742 | - | name = "Oak Wood Planks", |
| 742 | + | weld.Parent=parent |
| 743 | - | size = Vector3.new(2.6, 2.6, 2.6), |
| 743 | + | weld.Part0=part0 |
| 744 | - | transparency = 0; |
| 744 | + | weld.Part1=part1 |
| 745 | - | frontTex = "rbxassetid://346201871", |
| 745 | + | weld.C0=c0 |
| 746 | - | backTex = "rbxassetid://346201871", |
| 746 | + | weld.C1=c1 |
| 747 | - | topTex = "rbxassetid://346201871", |
| 747 | + | return weld |
| 748 | - | bottomTex = "rbxassetid://346201871", |
| 748 | + | |
| 749 | - | leftTex = "rbxassetid://346201871", |
| 749 | + | |
| 750 | - | rightTex = "rbxassetid://346201871", |
| 750 | + | Player=game:GetService('Players').LocalPlayer
|
| 751 | - | displayTex = "", |
| 751 | + | Character=Player.Character |
| 752 | - | sound = "rbxassetid://507863457", |
| 752 | + | Mouse=Player:GetMouse() |
| 753 | - | soundVol = 2, |
| 753 | + | m=Instance.new('Model',Character)
|
| 754 | - | hasGravity = false, |
| 754 | + | it=Instance.new |
| 755 | - | objectType = "Block" |
| 755 | + | function nooutline(part) |
| 756 | - | }, |
| 756 | + | part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10 |
| 757 | - | {
|
| 757 | + | |
| 758 | - | name = "Oak Log", |
| 758 | + | function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size) |
| 759 | - | size = Vector3.new(2.6, 2.6, 2.6), |
| 759 | + | local fp=it("Part")
|
| 760 | - | transparency = 0; |
| 760 | + | fp.formFactor=formfactor |
| 761 | - | frontTex = "rbxassetid://71445924", |
| 761 | + | fp.Parent=parent |
| 762 | - | backTex = "rbxassetid://71445924", |
| 762 | + | fp.Reflectance=reflectance |
| 763 | - | topTex = "rbxassetid://152538557", |
| 763 | + | fp.Transparency=transparency |
| 764 | - | bottomTex = "rbxassetid://152538557", |
| 764 | + | fp.CanCollide=false |
| 765 | - | leftTex = "rbxassetid://71445924", |
| 765 | + | fp.Locked=true |
| 766 | - | rightTex = "rbxassetid://71445924", |
| 766 | + | fp.BrickColor=BrickColor.new(tostring(brickcolor)) |
| 767 | - | displayTex = "", |
| 767 | + | fp.Name=name |
| 768 | - | sound = "rbxassetid://507863457", |
| 768 | + | fp.Size=size |
| 769 | - | soundVol = 2, |
| 769 | + | fp.Position=Character.Torso.Position |
| 770 | - | hasGravity = false, |
| 770 | + | nooutline(fp) |
| 771 | - | objectType = "Block" |
| 771 | + | fp.Material=material |
| 772 | - | }, |
| 772 | + | fp:BreakJoints() |
| 773 | - | {
|
| 773 | + | return fp |
| 774 | - | name = "Oak Leaves", |
| 774 | + | |
| 775 | - | size = Vector3.new(2.6, 2.6, 2.6), |
| 775 | + | function mesh(Mesh,part,meshtype,meshid,offset,scale) |
| 776 | - | transparency = 1; |
| 776 | + | local mesh=it(Mesh) |
| 777 | - | frontTex = "rbxassetid://151708391", |
| 777 | + | mesh.Parent=part |
| 778 | - | backTex = "rbxassetid://151708391", |
| 778 | + | if Mesh=="SpecialMesh" then |
| 779 | - | topTex = "rbxassetid://151708391", |
| 779 | + | mesh.MeshType=meshtype |
| 780 | - | bottomTex = "rbxassetid://151708391", |
| 780 | + | mesh.MeshId=meshid |
| 781 | - | leftTex = "rbxassetid://151708391", |
| 781 | + | end |
| 782 | - | rightTex = "rbxassetid://151708391", |
| 782 | + | mesh.Offset=offset |
| 783 | - | displayTex = "", |
| 783 | + | mesh.Scale=scale |
| 784 | - | sound = "rbxassetid://507863457", |
| 784 | + | return mesh |
| 785 | - | -- couldn't find a leaves sound for this one, sorry lol |
| 785 | + | |
| 786 | - | soundVol = 2, |
| 786 | + | function weld(parent,part0,part1,c0,c1) |
| 787 | - | hasGravity = false, |
| 787 | + | local weld=it("Weld")
|
| 788 | - | objectType = "Block" |
| 788 | + | weld.Parent=parent |
| 789 | - | } |
| 789 | + | weld.Part0=part0 |
| 790 | - | } |
| 790 | + | weld.Part1=part1 |
| 791 | - | local toolBar = {
|
| 791 | + | weld.C0=c0 |
| 792 | - | {
|
| 792 | + | weld.C1=c1 |
| 793 | - | name = "Dirt Block", |
| 793 | + | return weld |
| 794 | - | size = Vector3.new(2.6, 2.6, 2.6), |
| 794 | + | |
| 795 | - | transparency = 0; |
| 795 | + | |
| 796 | - | frontTex = "rbxassetid://152569532", |
| 796 | + | Handle=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Handle",Vector3.new(0.39999938, 13.7999973, 0.399999976)) |
| 797 | - | backTex = "rbxassetid://152569532", |
| 797 | + | handleweld=weld(m,Character["Right Arm"],Handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.999999881, 0, 0, 0, 1),CFrame.new(-0.0048122406, -6.40232849, 1.03116059, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289)) |
| 798 | - | topTex = "rbxassetid://152569532", |
| 798 | + | mesh("CylinderMesh",Handle,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
|
| 799 | - | bottomTex = "rbxassetid://152569532", |
| 799 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.39999938, 0.80000025, 4.20000219)) |
| 800 | - | leftTex = "rbxassetid://152569532", |
| 800 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(0.000183105469, -9.09996033, 2.7000494, 1, -1.19209076e-007, 4.47013271e-008, 4.49016397e-008, 0.00168089767, -0.999998569, 1.19133766e-007, 0.999998569, 0.00168089778)) |
| 801 | - | rightTex = "rbxassetid://152569532", |
| 801 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(1, 0.200000271, 4.59999943)) |
| 802 | - | displayTex = "", |
| 802 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(8.59981537, -0.319915771, 2.48973823, 1.63094505e-009, -0.00167454977, 0.999998569, 1, -1.19209083e-007, -1.83056925e-009, 1.19211975e-007, 0.999998569, 0.00167454977)) |
| 803 | - | sound = "rbxassetid://1102186681", |
| 803 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.400000036, 0.200000271, 4.00000048)) |
| 804 | - | soundVol = 1.25, |
| 804 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(9.30006409, 0.310112, 2.78980875, 2.04899884e-008, -0.00160901435, 0.999998689, 1, -1.19209126e-007, -2.06818243e-008, 1.19242245e-007, 0.999998689, 0.00160901435)) |
| 805 | - | hasGravity = false, |
| 805 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(1, 0.200000271, 4.60000038)) |
| 806 | - | objectType = "Block" |
| 806 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(8.60009003, 0.310125351, 2.48941946, 5.51521886e-008, -0.00159262656, 0.999998808, 1, -1.78814503e-007, -5.54370416e-008, 1.78902582e-007, 0.999998808, 0.00159262656)) |
| 807 | - | }, |
| 807 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.39999938, 0.200000271, 0.400000036)) |
| 808 | - | {
|
| 808 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(0.00018119812, -2.2995882, -6.70053864, 1, -1.19209076e-007, -2.38424491e-007, -1.1956142e-007, -0.999998927, -0.00147830346, -2.3824802e-007, 0.00147830346, -0.999998927)) |
| 809 | - | name = "Grass Block", |
| 809 | + | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
|
| 810 | - | size = Vector3.new(2.6, 2.6, 2.6), |
| 810 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.39999938, 1.39999998, 0.600001216)) |
| 811 | - | transparency = 0; |
| 811 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(0.00016784668, -7.99960327, 1.49982166, 1, -1.19209076e-007, 4.47013271e-008, 4.49034943e-008, 0.00169644796, -0.999998569, 1.1913307e-007, 0.999998569, 0.00169644807)) |
| 812 | - | frontTex = "rbxassetid://96430337", |
| 812 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.400000036, 0.200000271, 4.00000048)) |
| 813 | - | backTex = "rbxassetid://96430337", |
| 813 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(9.29983521, -0.319908142, 2.79043484, -2.11861551e-008, -0.00168578397, 0.999998569, 1, -1.19209076e-007, 2.09852242e-008, 1.19173528e-007, 0.999998569, 0.00168578397)) |
| 814 | - | topTex = "rbxassetid://96430265", |
| 814 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.200000003, 0.200000003, 0.400000006)) |
| 815 | - | bottomTex = "rbxassetid://179655033", |
| 815 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(8.79997253, -0.349954605, 0.990463495, 1.07072758e-007, -0.00169718312, 0.999998569, 1, -1.19209126e-007, -1.07275234e-007, 1.19391018e-007, 0.999998569, 0.00169718324)) |
| 816 | - | leftTex = "rbxassetid://96430337", |
| 816 | + | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
|
| 817 | - | rightTex = "rbxassetid://96430337", |
| 817 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.670000017, 0.200000003, 1.19999981)) |
| 818 | - | displayTex = "", |
| 818 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(5.26336288, 0.310119629, 5.93222046, -5.96040408e-008, -0.70810169, 0.706110597, 1, -1.21502552e-007, -3.74334022e-008, 1.12300903e-007, 0.706110597, 0.70810169)) |
| 819 | - | sound = "rbxassetid://1102186681", |
| 819 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1, 0.220000014, 0.799999952)) |
| 820 | - | soundVol = 1.25, |
| 820 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(8.80014038, -0.31993103, 0.989957035, 6.97039013e-008, -0.00164350378, 0.999998689, 1, -1.19209126e-007, -6.98999116e-008, 1.19323843e-007, 0.999998689, 0.00164350378)) |
| 821 | - | hasGravity = false, |
| 821 | + | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
|
| 822 | - | objectType = "Block" |
| 822 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.220000014, 2.60000014)) |
| 823 | - | }, |
| 823 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(8.79997253, -0.31993103, 2.49022627, 4.06004794e-008, -0.00169145432, 0.999998569, 1, -1.19209126e-007, -4.08021741e-008, 1.19277971e-007, 0.999998569, 0.00169145432)) |
| 824 | - | {
|
| 824 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.200000003, 0.200000003, 0.400000006)) |
| 825 | - | name = "Stone", |
| 825 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(8.80001068, 0.340049744, 0.990428209, 4.40637784e-008, -0.00169488578, 0.999998569, 1, -1.49011811e-007, -4.43164012e-008, 1.49086716e-007, 0.999998569, 0.00169488578)) |
| 826 | - | size = Vector3.new(2.6, 2.6, 2.6), |
| 826 | + | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
|
| 827 | - | transparency = 0; |
| 827 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.39999938, 0.400000036, 0.400000006)) |
| 828 | - | frontTex = "rbxassetid://75880927", |
| 828 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(0.000152587891, -6.70035553, 2.00017023, 1, -1.19209076e-007, 4.47013271e-008, 4.48878374e-008, 0.00156501064, -0.999998808, 1.19138974e-007, 0.999998808, 0.00156501064)) |
| 829 | - | backTex = "rbxassetid://75880927", |
| 829 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.39999938, 1.60000014, 4.00000191)) |
| 830 | - | topTex = "rbxassetid://75880927", |
| 830 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(0.00016784668, -7.89893341, 4.39826918, 1, -1.19209076e-007, 4.47013271e-008, 4.49000481e-008, 0.00166750455, -0.999998689, 1.19134377e-007, 0.999998689, 0.00166750455)) |
| 831 | - | bottomTex = "rbxassetid://75880927", |
| 831 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.200000003, 0.400000274, 0.400000036)) |
| 832 | - | leftTex = "rbxassetid://75880927", |
| 832 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(0.310112, 7.90003204, -4.58929634, 1, 2.84616067e-006, -7.45070793e-007, 7.49569381e-007, -0.00158089248, 0.999998808, 2.84497946e-006, -0.999998808, -0.00158089248)) |
| 833 | - | rightTex = "rbxassetid://75880927", |
| 833 | + | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
|
| 834 | - | displayTex = "", |
| 834 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.220000014, 0.999999821)) |
| 835 | - | sound = "rbxassetid://1016978163", |
| 835 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(3.58646393, -0.319763184, 9.33159637, -1.63910798e-007, -0.70812124, 0.706090868, 1, -1.80042989e-007, 5.15776932e-008, 9.06034572e-008, 0.706090927, 0.708121181)) |
| 836 | - | soundVol = 2, |
| 836 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.220000014, 0.999999821)) |
| 837 | - | hasGravity = false, |
| 837 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(3.58652115, 0.310195923, 9.33126068, -1.63910798e-007, -0.70812124, 0.706090868, 1, -1.80042989e-007, 5.15776932e-008, 9.06034572e-008, 0.706090927, 0.708121181)) |
| 838 | - | objectType = "Block" |
| 838 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.799999356, 0.600000262, 0.599999964)) |
| 839 | - | }, |
| 839 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(7.62939453e-005, -0.299938679, -7.40008545, 1, -5.96036465e-008, 1.4898605e-008, -5.95790759e-008, -0.999998689, -0.00164388563, 1.49965658e-008, 0.00164388563, -0.999998689)) |
| 840 | - | {
|
| 840 | + | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
|
| 841 | - | name = "Diamond Ore", |
| 841 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.670000017, 0.200000003, 1.19999981)) |
| 842 | - | size = Vector3.new(2.6, 2.6, 2.6), |
| 842 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(5.26215744, -0.319839478, 5.93211365, -5.96040337e-008, -0.708129704, 0.706082463, 1, -8.2250601e-008, 1.92603378e-009, 5.67118228e-008, 0.706082463, 0.708129704)) |
| 843 | - | transparency = 0; |
| 843 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.379999876, 4.44999886, 1.39999998)) |
| 844 | - | frontTex = "rbxassetid://57928490", |
| 844 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(-2.86102295e-005, -6.05581665, 9.78747559, -1, 1.78814503e-007, -4.47013306e-008, -1.84294734e-007, -0.966237664, 0.257652611, 2.87991475e-009, 0.257652611, 0.966237605)) |
| 845 | - | backTex = "rbxassetid://57928490", |
| 845 | + | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
|
| 846 | - | topTex = "rbxassetid://57928490", |
| 846 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.600000024, 0.200000271, 0.599999964)) |
| 847 | - | bottomTex = "rbxassetid://57928490", |
| 847 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(8.61552429, 0.320259094, -0.297967553, -1.84659328e-008, -3.39928299e-008, 1, 1, -1.19209076e-007, 1.84659292e-008, 1.19209076e-007, 1, 3.39928334e-008)) |
| 848 | - | leftTex = "rbxassetid://57928490", |
| 848 | + | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
|
| 849 | - | rightTex = "rbxassetid://57928490", |
| 849 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.600000024, 0.200000271, 0.599999964)) |
| 850 | - | displayTex = "", |
| 850 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(8.61553192, -0.309753418, -0.297967553, -1.84659328e-008, -3.39928299e-008, 1, 1, -1.19209076e-007, 1.84659292e-008, 1.19209076e-007, 1, 3.39928334e-008)) |
| 851 | - | sound = "rbxassetid://1016978163", |
| 851 | + | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
|
| 852 | - | soundVol = 2, |
| 852 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.409999728, 4.00000095, 0.330000013)) |
| 853 | - | hasGravity = false, |
| 853 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(0.00499916077, -4.83165169, 10.0465012, -1, 1.78814503e-007, -8.94054182e-008, -1.98313487e-007, -0.943822086, 0.33045423, -2.52927972e-008, 0.33045423, 0.943822086)) |
| 854 | - | objectType = "Block" |
| 854 | + | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
|
| 855 | - | }, |
| 855 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.220000014, 2.60000014)) |
| 856 | - | {
|
| 856 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(8.80001068, 0.310049057, 2.49015784, 5.47156347e-008, -0.00167805818, 0.999998569, 1, -1.49011811e-007, -5.49657635e-008, 1.4910384e-007, 0.999998569, 0.0016780583)) |
| 857 | - | name = "Diamond Block", |
| 857 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.39999938, 1.80000019, 0.600001216)) |
| 858 | - | size = Vector3.new(2.6, 2.6, 2.6), |
| 858 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(0.000183105469, -7.79891205, 2.09967065, 1, -1.19209076e-007, 4.47013271e-008, 4.49037572e-008, 0.00169865007, -0.999998569, 1.1913297e-007, 0.999998569, 0.00169865007)) |
| 859 | - | transparency = 0; |
| 859 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.799999356, 2.00000048, 1.19999993)) |
| 860 | - | frontTex = "rbxassetid://56749955", |
| 860 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(5.34057617e-005, -8.7000885, -4.86373901e-005, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289)) |
| 861 | - | backTex = "rbxassetid://56749955", |
| 861 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.200000003, 0.400000274, 0.400000036)) |
| 862 | - | topTex = "rbxassetid://56749955", |
| 862 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(-0.319801331, 7.89910126, -4.58908844, 1, 2.84616067e-006, -7.45070793e-007, 7.49658e-007, -0.00161204918, 0.999998689, 2.84495559e-006, -0.999998689, -0.00161204918)) |
| 863 | - | bottomTex = "rbxassetid://56749955", |
| 863 | + | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
|
| 864 | - | leftTex = "rbxassetid://56749955", |
| 864 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.200000003, 0.400000274, 0.409999907)) |
| 865 | - | rightTex = "rbxassetid://56749955", |
| 865 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(0.329921722, 7.89820099, 6.19515657, -1, -5.81154893e-007, -2.93556536e-006, -2.93463631e-006, -0.00159285218, 0.999998808, -5.85830151e-007, 0.999998808, 0.00159285218)) |
| 866 | - | displayTex = "", |
| 866 | + | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
|
| 867 | - | sound = "rbxassetid://1016978163", |
| 867 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000033, 0.200000003, 0.400000006)) |
| 868 | - | soundVol = 2, |
| 868 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(8.01046753, 0.350257874, 5.18440056, -1.16208916e-007, -0.00116245728, 0.999999404, 1, -1.49011811e-007, 1.16035764e-007, 1.48876836e-007, 0.999999404, 0.00116245728)) |
| 869 | - | hasGravity = false, |
| 869 | + | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
|
| 870 | - | objectType = "Block" |
| 870 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.200000003, 0.400000274, 0.409999907)) |
| 871 | - | }, |
| 871 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(-0.310253143, 7.89775848, 6.19417667, -1, -5.81154893e-007, -2.93556536e-006, -2.93464905e-006, -0.0015708321, 0.999998808, -5.8576552e-007, 0.999998808, 0.0015708321)) |
| 872 | - | {
|
| 872 | + | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
|
| 873 | - | name = "Oak Wood Planks", |
| 873 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.200000003, 0.400000036, 1.62000012)) |
| 874 | - | size = Vector3.new(2.6, 2.6, 2.6), |
| 874 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(-0.319927216, -9.30068207, 5.59171581, 1, -2.6822255e-007, 7.00361113e-007, 7.00755379e-007, 0.00147273287, -0.999998927, 2.67190842e-007, 0.999998927, 0.00147273298)) |
| 875 | - | transparency = 0; |
| 875 | + | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
|
| 876 | - | frontTex = "rbxassetid://346201871", |
| 876 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.200000003, 1.4000001, 1.22000003)) |
| 877 | - | backTex = "rbxassetid://346201871", |
| 877 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(0.310224533, -8.39997101, 5.39148617, 1, -2.6822255e-007, 7.00361113e-007, 7.00779196e-007, 0.0015618616, -0.999998808, 2.67128371e-007, 0.999998808, 0.0015618616)) |
| 878 | - | topTex = "rbxassetid://346201871", |
| 878 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.200000003, 0.400000036, 1.62000012)) |
| 879 | - | bottomTex = "rbxassetid://346201871", |
| 879 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(0.310092926, -9.30047607, 5.59133577, 1, -2.6822255e-007, 7.00361113e-007, 7.00781584e-007, 0.0015708236, -0.999998808, 2.67122118e-007, 0.999998808, 0.0015708236)) |
| 880 | - | leftTex = "rbxassetid://346201871", |
| 880 | + | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
|
| 881 | - | rightTex = "rbxassetid://346201871", |
| 881 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000033, 0.200000003, 0.400000006)) |
| 882 | - | displayTex = "", |
| 882 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(8.00996399, 0.340263367, 5.58438683, -7.12149699e-008, -0.00116247579, 0.999999404, 1, -1.49011782e-007, 7.10417893e-008, 1.48929118e-007, 0.999999404, 0.00116247579)) |
| 883 | - | sound = "rbxassetid://507863457", |
| 883 | + | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
|
| 884 | - | soundVol = 2, |
| 884 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.200000003, 1.4000001, 1.22000003)) |
| 885 | - | hasGravity = false, |
| 885 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(-0.319879532, -8.40018463, 5.39162922, 1, -2.6822255e-007, 7.00361113e-007, 7.00766748e-007, 0.00151529128, -0.999998927, 2.67161028e-007, 0.999998927, 0.00151529128)) |
| 886 | - | objectType = "Block" |
| 886 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.670000017, 0.200000003, 0.599999845)) |
| 887 | - | }, |
| 887 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(7.60210419, -0.309745789, -0.0262105465, 4.40637713e-008, -0.00107338815, 0.999999404, 1, -1.19209105e-007, -4.41917543e-008, 1.1925647e-007, 0.999999404, 0.00107338815)) |
| 888 | - | {
|
| 888 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.39999938, 0.200019345, 0.600000024)) |
| 889 | - | name = "Oak Log", |
| 889 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(0.000244140625, -2.40885925, -0.0768338442, 1, -1.49011782e-007, 1.19208131e-007, 1.1940115e-007, 0.00129606796, -0.999999166, 1.48857154e-007, 0.999999166, 0.00129606796)) |
| 890 | - | size = Vector3.new(2.6, 2.6, 2.6), |
| 890 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.379999906, 7.79999733, 0.800000012)) |
| 891 | - | transparency = 0; |
| 891 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(-0.00018119812, -6.90127945, 10.9409103, -1, 2.38419915e-007, -5.96027014e-008, -2.36358872e-007, -0.866616547, 0.498974591, 6.73128042e-008, 0.498974621, 0.866616607)) |
| 892 | - | frontTex = "rbxassetid://71445924", |
| 892 | + | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
|
| 893 | - | backTex = "rbxassetid://71445924", |
| 893 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.39999938, 3.60000086, 1.39999986)) |
| 894 | - | topTex = "rbxassetid://152538557", |
| 894 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(-7.62939453e-005, -3.00021267, 10.1993179, -1, 1.78814503e-007, -4.47013306e-008, -1.78743079e-007, -0.999998808, -0.00159316196, -4.49861588e-008, -0.00159316196, 0.999998808)) |
| 895 | - | bottomTex = "rbxassetid://152538557", |
| 895 | + | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
|
| 896 | - | leftTex = "rbxassetid://71445924", |
| 896 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.410000145, 0.800000012, 7.41999722)) |
| 897 | - | rightTex = "rbxassetid://71445924", |
| 897 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(-0.00538063049, 10.1888885, 6.88093567, -1, -9.55176984e-006, 6.25857228e-006, 5.75701051e-007, 0.505192995, 0.863006473, -1.14050263e-005, 0.863006473, -0.505192995)) |
| 898 | - | displayTex = "", |
| 898 | + | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
|
| 899 | - | sound = "rbxassetid://507863457", |
| 899 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.409999877, 0.800000012, 4.42000008)) |
| 900 | - | soundVol = 2, |
| 900 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(-0.00535774231, 8.73274994, 6.06542397, -1, -1.08034828e-005, 3.5465257e-006, 5.6521867e-007, 0.264285922, 0.964444458, -1.13566548e-005, 0.964444399, -0.264285892)) |
| 901 | - | hasGravity = false, |
| 901 | + | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
|
| 902 | - | objectType = "Block" |
| 902 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.670000017, 0.200000003, 0.599999845)) |
| 903 | - | } |
| 903 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(7.62210083, 0.310256958, -0.0261899233, 6.71427998e-008, -0.00107328093, 0.999999404, 1, -1.1920914e-007, -6.72707898e-008, 1.19281268e-007, 0.999999404, 0.00107328082)) |
| 904 | - | --[[{
|
| 904 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.39999938, 6.20002079, 0.200000003)) |
| 905 | - | name = "Redstone", |
| 905 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(0.000244140625, -3.80190277, 0.122788072, 1, -1.19209076e-007, 4.47013271e-008, 4.48775985e-008, 0.00147906633, -0.999998927, 1.19142832e-007, 0.999998927, 0.00147906633)) |
| 906 | - | size = Vector3.new(2.6, 0.05, 2.6), |
| 906 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.200000003, 1, 0.400000006)) |
| 907 | - | transparency = 1; |
| 907 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(-0.329883575, -8.59844971, 6.20097303, 1, -2.6822255e-007, 7.00361113e-007, 7.00766861e-007, 0.00151565345, -0.999998927, 2.67160772e-007, 0.999998927, 0.00151565345)) |
| 908 | - | frontTex = "rbxassetid://151911305", |
| 908 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000033, 0.200000003, 0.400000006)) |
| 909 | - | backTex = "", |
| 909 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(8.00995636, -0.329696655, 5.58438635, -2.65702909e-008, -0.00116240955, 0.999999404, 1, -1.19209076e-007, 2.64317368e-008, 1.19178281e-007, 0.999999404, 0.00116240955)) |
| 910 | - | topTex = "rbxassetid://151911305", |
| 910 | + | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
|
| 911 | - | bottomTex = "", |
| 911 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.400000006)) |
| 912 | - | leftTex = "", |
| 912 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(8.41021729, 0.340257645, 5.3848424, -6.07377402e-008, -0.0011624021, 0.999999404, 1, -1.49011782e-007, 6.05645667e-008, 1.48941297e-007, 0.999999404, 0.0011624021)) |
| 913 | - | rightTex = "", |
| 913 | + | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
|
| 914 | - | displayTex = "rbxassetid://64124418", |
| 914 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000033, 0.200000003, 0.400000006)) |
| 915 | - | sound = "rbxassetid://1016978163", |
| 915 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(8.40995026, -0.329879761, 5.38500214, 1.32141196e-008, -0.00116239127, 0.999999404, 1, -1.19209112e-007, -1.33526949e-008, 1.19224552e-007, 0.999999404, 0.00116239127)) |
| 916 | - | soundVol = 2, |
| 916 | + | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
|
| 917 | - | hasGravity = false, |
| 917 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.200000003, 1, 0.400000006)) |
| 918 | - | objectType = "Redstone Dust" |
| 918 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(0.310100555, -8.58777618, 6.20157337, 1, -2.6822255e-007, 7.00361113e-007, 7.00768169e-007, 0.00152056233, -0.999998927, 2.67157333e-007, 0.999998927, 0.00152056233)) |
| 919 | - | },]] |
| 919 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.200000003, 1, 0.400000006)) |
| 920 | - | } |
| 920 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(-0.329891205, -8.60809326, 6.20138168, 1, -2.6822255e-007, 7.00361113e-007, 7.00766861e-007, 0.00151576323, -0.999998927, 2.67160686e-007, 0.999998927, 0.00151576323)) |
| 921 | - | function putTexture(part, frontF, backF, topF, bottomF, leftF, rightF, className) |
| 921 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000033, 0.200000003, 0.400000006)) |
| 922 | - | local faces = {"Front", "Back", "Top", "Bottom", "Left", "Right"}
|
| 922 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(8.01044464, -0.329711914, 5.18439245, -3.97250446e-008, -0.00116242282, 0.999999404, 1, -1.19209027e-007, 3.95864994e-008, 1.19162934e-007, 0.999999404, 0.00116242282)) |
| 923 | - | for i,f in pairs(faces) do |
| 923 | + | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
|
| 924 | - | local decal = Instance.new(className, part) |
| 924 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.449999839, 0.400000036, 1.62000012)) |
| 925 | - | if i == 1 then decal.Texture = frontF decal.Name = f end |
| 925 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(-0.0149345398, -9.30037689, 5.59038067, 1, -2.6822255e-007, 7.00361113e-007, 7.00780447e-007, 0.00156656664, -0.999998808, 2.67125102e-007, 0.999998808, 0.00156656664)) |
| 926 | - | if i == 2 then decal.Texture = backF or frontF decal.Name = f end |
| 926 | + | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
|
| 927 | - | if i == 3 then decal.Texture = topF or frontF decal.Name = f end |
| 927 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.799999356, 0.600000262, 0.599999964)) |
| 928 | - | if i == 4 then decal.Texture = bottomF or frontF decal.Name = f end |
| 928 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(-5.34057617e-005, -0.300057292, -7.40003967, -1, 5.96036465e-008, -2.97999652e-008, 5.95545799e-008, 0.999998689, 0.00164382579, 2.98979046e-008, 0.00164382579, -0.999998689)) |
| 929 | - | if i == 5 then decal.Texture = leftF or frontF decal.Name = f end |
| 929 | + | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
|
| 930 | - | if i == 6 then decal.Texture = rightF or frontF decal.Name = f end |
| 930 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.200000003, 0.400000274, 0.600000024)) |
| 931 | - | decal.Face = f |
| 931 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(0.319915771, -9.29981232, -0.490157127, -1, 2.38419972e-007, 7.89774788e-007, -7.89374269e-007, 0.00167544454, -0.999998569, -2.39742832e-007, -0.999998569, -0.00167544466)) |
| 932 | - | end |
| 932 | + | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
|
| 933 | - | return part |
| 933 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.39999938, 0.80000025, 0.599999964)) |
| 934 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(9.91821289e-005, -6.90019989, 1.50059986, 1, -1.19209076e-007, 4.47013271e-008, 4.4898453e-008, 0.00165412505, -0.999998689, 1.19134981e-007, 0.999998689, 0.00165412517)) | |
| 935 | - | function makeSquare(position, size, color, transparency, parent, zindex) |
| 935 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.799999356, 0.400000274, 0.799999952)) |
| 936 | - | local label = Instance.new("TextLabel", parent)
|
| 936 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(6.86645508e-005, 6.1750412e-005, -7.30003357, 1, -1.19209076e-007, 4.47013271e-008, -1.19135436e-007, -0.999998689, -0.00164388528, 4.48972344e-008, 0.00164388528, -0.999998689)) |
| 937 | - | label.Text = "" |
| 937 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.200000003, 0.400000274, 0.600000024)) |
| 938 | - | label.BorderSizePixel = 0 |
| 938 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(-0.310134888, -9.30013275, -0.489312172, -1, 1.7881456e-007, 8.34478897e-007, -8.34196783e-007, 0.00157221942, -0.999998808, -1.80126335e-007, -0.999998808, -0.00157221942)) |
| 939 | - | label.BackgroundTransparency = transparency |
| 939 | + | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
|
| 940 | - | label.Position = position |
| 940 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1, 0.230000019, 0.799999952)) |
| 941 | - | label.Size = size |
| 941 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(8.80010223, 0.31505394, 0.98993659, 1.01164737e-007, -0.00164465304, 0.999998689, 1, -1.19209147e-007, -1.01360932e-007, 1.19375699e-007, 0.999998689, 0.00164465304)) |
| 942 | - | label.BackgroundColor3 = color |
| 942 | + | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
|
| 943 | - | if zindex == nil then label.ZIndex = 1 else label.ZIndex = zindex end |
| 943 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.799999356, 0.80000025, 0.399999976)) |
| 944 | - | return label |
| 944 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(5.34057617e-005, 5.73396683e-005, -7.50003052, 1, -5.96036465e-008, 1.4898605e-008, -5.95790759e-008, -0.999998689, -0.00164388563, 1.49965658e-008, 0.00164388563, -0.999998689)) |
| 945 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.39999938, 2.40000057, 0.599999964)) | |
| 946 | - | function makeImage(position, size, image, parent, zindex) |
| 946 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(7.62939453e-005, -7.70002747, 0.900098503, 1, -1.19209076e-007, 4.47013271e-008, 4.490321e-008, 0.00169407704, -0.999998569, 1.19133176e-007, 0.999998569, 0.00169407704)) |
| 947 | - | local imglabel = Instance.new("ImageLabel", parent)
|
| 947 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(1.20000005, 0.200000271, 3.60000038)) |
| 948 | - | imglabel.BorderSizePixel = 0 |
| 948 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(6.64672661, -0.319740295, 6.71153259, -1.49010674e-007, -0.965943158, 0.258754343, 1, -1.37425829e-007, 6.28593853e-008, -2.51590695e-008, 0.258754343, 0.965943217)) |
| 949 | - | imglabel.BackgroundTransparency = 1 |
| 949 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.39999938, 0.400021255, 0.400000006)) |
| 950 | - | imglabel.Position = position |
| 950 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(0.000175476074, 1.89885712, 0.0156496763, 1, -5.96036465e-008, 1.4898605e-008, 1.49867816e-008, 0.00147968298, -0.999998927, 5.95815379e-008, 0.999998927, 0.00147968309)) |
| 951 | - | imglabel.Size = size |
| 951 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.39999938, 12.200017, 0.200000003)) |
| 952 | - | imglabel.Image = image |
| 952 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(0.000259399414, -1.20265961, -0.277392983, 1, -5.96036465e-008, 1.4898605e-008, 1.49865258e-008, 0.00147536665, -0.999998927, 5.95816019e-008, 0.999998927, 0.00147536665)) |
| 953 | - | if zindex == nil then imglabel.ZIndex = 1 else imglabel.ZIndex = zindex end |
| 953 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.200000003, 0.200000003, 0.400000006)) |
| 954 | - | return imglabel |
| 954 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(8.40220642, -0.339752197, -1.96429634, -6.7053584e-008, -0.258818865, 0.965925932, 1, -1.20999317e-007, 3.69973279e-008, 1.07300764e-007, 0.965925872, 0.258818835)) |
| 955 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 956 | - | function putInventorySlot(position, image, parent, zindex) |
| 956 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(1.20000005, 0.200000271, 3.60000038)) |
| 957 | - | local button = Instance.new("TextButton", parent)
|
| 957 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(6.64637566, 0.320261002, 6.71100616, -4.47039312e-008, -0.965927541, 0.258812845, 1, -3.71759228e-008, 3.39808679e-008, -2.32014479e-008, 0.258812845, 0.965927541)) |
| 958 | - | button.Position = position |
| 958 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.400000006, 0.400021255, 0.400000036)) |
| 959 | - | button.Size = UDim2.new(0, 36, 0, 36) |
| 959 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(0.000144958496, 7.89817047, 0.00817203522, 1, -1.19209076e-007, 4.47013271e-008, 4.48658213e-008, 0.00138024637, -0.999999046, 1.19147266e-007, 0.999999046, 0.00138024637)) |
| 960 | - | button.BackgroundColor3 = Color3.new(139/255, 139/255, 139/255) |
| 960 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.39999938, 0.200019345, 0.600000024)) |
| 961 | - | button.Text = "" |
| 961 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(0.000267028809, -0.808837891, -0.0789266825, 1, -1.49011782e-007, 1.19208131e-007, 1.19401165e-007, 0.00129613746, -0.999999166, 1.4885714e-007, 0.999999166, 0.00129613746)) |
| 962 | - | button.BorderSizePixel = 0 |
| 962 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.600000024, 0.200000271, 4.5999999)) |
| 963 | - | button.ZIndex = zindex |
| 963 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(8.4032135, -0.309745789, -0.264072418, -3.72516631e-008, -0.258819014, 0.965925872, 1, -1.20990833e-007, 6.14636386e-009, 1.15277373e-007, 0.965925872, 0.258818984)) |
| 964 | - | local imageLabel = Instance.new("ImageLabel", button)
|
| 964 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.39999938, 0.200019345, 0.600000024)) |
| 965 | - | imageLabel.BackgroundTransparency = 0.9 |
| 965 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(0.00025177002, -4.00882721, -0.074775219, 1, -1.49011782e-007, 1.19208131e-007, 1.19401165e-007, 0.00129615236, -0.999999166, 1.48857154e-007, 0.999999166, 0.00129615236)) |
| 966 | - | imageLabel.Position = UDim2.new(0, 2, 0, 2) |
| 966 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.200000003, 0.400000036, 3.89000034)) |
| 967 | - | imageLabel.Size = UDim2.new(0, 32, 0, 32) |
| 967 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(0.130329132, 3.28823376, -5.64214325, 1, -9.53684548e-007, 4.64922141e-006, -5.19986472e-008, -0.981745541, -0.190198928, 4.74574244e-006, 0.190198958, -0.981745601)) |
| 968 | - | imageLabel.Image = image |
| 968 | + | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
|
| 969 | - | imageLabel.BorderSizePixel = 0 |
| 969 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.200000003, 1.00000024, 1.19999993)) |
| 970 | - | imageLabel.ZIndex = zindex |
| 970 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(-0.3203125, -5.2211442, -6.02006531, -1, 1.19209076e-007, -4.47013271e-008, 1.19207854e-007, 1, 2.74369886e-005, 4.4704592e-008, 2.74369886e-005, -1)) |
| 971 | - | makeSquare(UDim2.new(0, 0, 0, 0), UDim2.new(0, 34, 0, 2), |
| 971 | + | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
|
| 972 | - | Color3.new(55/255, 55/255, 55/255), 0, button, zindex) |
| 972 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000029, 0.640000463, 3.82000041)) |
| 973 | - | makeSquare(UDim2.new(0, 0, 0, 0), UDim2.new(0, 2, 0, 34), |
| 973 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(8.60221863, 0.00025177002, -0.674562454, -3.72516631e-008, -0.258819014, 0.965925872, 1, -1.20990833e-007, 6.14636386e-009, 1.15277373e-007, 0.965925872, 0.258818984)) |
| 974 | - | Color3.new(55/255, 55/255, 55/255), 0, button, zindex) |
| 974 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.20000041, 2.00000024, 0.400000751)) |
| 975 | - | makeSquare(UDim2.new(0, 34, 0, 2), UDim2.new(0, 2, 0, 34), |
| 975 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(-0.00805044174, -9.8965683, 0.0198116302, -1.78812996e-007, -1, -2.60661e-005, 9.18402918e-008, -2.60661e-005, 1, -1, 1.78810609e-007, 9.1844953e-008)) |
| 976 | - | Color3.new(255/255, 255/255, 255/255), 0, button, zindex) |
| 976 | + | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=1033714",Vector3.new(0, 0, 0),Vector3.new(0.486000061, 2.70200038, 0.234000027))
|
| 977 | - | makeSquare(UDim2.new(0, 2, 0, 34), UDim2.new(0, 34, 0, 2), |
| 977 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.200000003, 1.00000024, 1.19999993)) |
| 978 | - | Color3.new(255/255, 255/255, 255/255), 0, button, zindex) |
| 978 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(0.319747925, -5.23132992, -6.02177429, -1, 1.19209076e-007, -4.47013271e-008, 1.19205289e-007, 1, 8.46573894e-005, 4.47114168e-008, 8.46573894e-005, -1)) |
| 979 | - | return button |
| 979 | + | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
|
| 980 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.400000006, 0.800021231, 0.800000012)) | |
| 981 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(0.000129699707, 7.29879761, 0.00948095322, 1, -1.19209076e-007, 4.47013271e-008, 4.48690756e-008, 0.0014075588, -0.999999046, 1.19146044e-007, 0.999999046, 0.00140755891)) | |
| 982 | - | function AngleDifference(Angle1, Angle2) |
| 982 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1, 0.200000271, 0.799999952)) |
| 983 | - | local Difference = {X = 0, Y = 0, Z = 0}
|
| 983 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(8.40219879, -0.329719543, -1.96434212, -1.04305997e-007, -0.258814603, 0.965927064, 1, -1.49004592e-007, 6.80604515e-008, 1.26312528e-007, 0.965927064, 0.258814603)) |
| 984 | - | Difference.X = Angle2.X - Angle1.X |
| 984 | + | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
|
| 985 | - | |
| 985 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.400000006, 0.800021231, 1.20000005)) |
| 986 | - | if (Difference.X > 180) then |
| 986 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(0.000144958496, 8.49656677, 0.00763309002, 1, -1.19209076e-007, 4.47013271e-008, 4.48658888e-008, 0.0013808267, -0.999999046, 1.19147238e-007, 0.999999046, 0.0013808267)) |
| 987 | - | Difference.X = Difference.X - 360 |
| 987 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.439999968, 0.849999964, 3.90000057)) |
| 988 | - | elseif (Difference.X < -180) then |
| 988 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(-0.000289916992, -3.91264629, -5.64580536, -1, 1.19209076e-007, -4.47013271e-008, 1.08530877e-007, 0.98174566, 0.190198451, 6.65587194e-008, 0.190198481, -0.98174572)) |
| 989 | - | Difference.X = Difference.X + 360 |
| 989 | + | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
|
| 990 | - | end |
| 990 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.200000003, 0.200000003, 0.400000006)) |
| 991 | - | |
| 991 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(8.40220642, 0.350257874, -1.9643116, -6.7053584e-008, -0.258818865, 0.965925932, 1, -1.20999317e-007, 3.69973279e-008, 1.07300764e-007, 0.965925872, 0.258818835)) |
| 992 | - | Difference.Y = Angle2.Y - Angle1.Y |
| 992 | + | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
|
| 993 | - | |
| 993 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.600000024, 0.200000271, 4.5999999)) |
| 994 | - | if (Difference.Y > 180) then |
| 994 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(8.40222931, 0.320251465, -0.264352798, -3.72516631e-008, -0.258819014, 0.965925872, 1, -1.20990833e-007, 6.14636386e-009, 1.15277373e-007, 0.965925872, 0.258818984)) |
| 995 | - | Difference.Y = Difference.Y - 360 |
| 995 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1, 0.200000271, 0.799999952)) |
| 996 | - | elseif (Difference.Y < -180) then |
| 996 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(8.40221405, 0.340270996, -1.96434784, -1.11756485e-007, -0.258814663, 0.965927064, 1, -1.50931754e-007, 7.52573754e-008, 1.26311349e-007, 0.965927064, 0.258814663)) |
| 997 | - | Difference.Y = Difference.Y + 360 |
| 997 | + | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
|
| 998 | - | end |
| 998 | + | Hitbox=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Dark stone grey","Hitbox",Vector3.new(0.39999938, 3.00000024, 11.4000025)) |
| 999 | - | |
| 999 | + | Hitboxweld=weld(m,Handle,Hitbox,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(0.00016784668, -8.39911652, 2.29857397, 1, -1.19209076e-007, 4.47013271e-008, 4.49000481e-008, 0.00166750455, -0.999998689, 1.19134377e-007, 0.999998689, 0.00166750455)) |
| 1000 | - | Difference.Z = Angle2.Z - Angle1.Z |
| 1000 | + | |
| 1001 | - | |
| 1001 | + | function attackone() |
| 1002 | - | if (Difference.Z > 180) then |
| 1002 | + | attack=true |
| 1003 | - | Difference.Z = Difference.Z - 360 |
| 1003 | + | con1=Hitbox.Touched:connect(function(hit) Damagefunc(hit,10000000,10000000,math.random(10,20),"Knockdown",RootPart,.2,1) end) |
| 1004 | - | elseif (Difference.Z < -180) then |
| 1004 | + | for i=0,1,0.1 do |
| 1005 | - | Difference.Z = Difference.Z + 360 |
| 1005 | + | swait() |
| 1006 | - | end |
| 1006 | + | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(0),math.rad(80)),.3) |
| 1007 | - | |
| 1007 | + | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-5),math.rad(10),math.rad(-70)),.3) |
| 1008 | - | return Vector3.new(Difference.X, Difference.Y, Difference.Z) |
| 1008 | + | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(90), math.rad(90)), 0.3) |
| 1009 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(80), math.rad(-70), math.rad(0)), 0.3) | |
| 1010 | RH.C0=clerp(RH.C0,cf(1,-1,0.2)*angles(math.rad(0),math.rad(40),math.rad(20)),.3) | |
| 1011 | - | local draggingBlock = nil |
| 1011 | + | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-60),math.rad(0)),.3) |
| 1012 | - | function makeInventory() |
| 1012 | + | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(-5),math.rad(0)),.3) |
| 1013 | - | local playerGui = player:FindFirstChild("PlayerGui")
|
| 1013 | + | end |
| 1014 | - | if playerGui then |
| 1014 | + | so("http://roblox.com/asset/?id=92597369",Hitbox,1,0.6)
|
| 1015 | - | local invGui = Instance.new("ScreenGui", playerGui)
|
| 1015 | + | so("http://roblox.com/asset/?id=231917871",Hitbox,1,0.8)
|
| 1016 | - | local creativeInv = Instance.new("Frame", invGui)
|
| 1016 | + | for i=0,1,0.1 do |
| 1017 | - | creativeInv.BackgroundTransparency = 1 |
| 1017 | + | swait() |
| 1018 | - | creativeInv.Position = UDim2.new(0.5, -170, 0.5, -202) |
| 1018 | + | local blcf = Hitbox.CFrame*CFrame.new(0,.5,0) |
| 1019 | - | |
| 1019 | + | if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then |
| 1020 | - | creativeInv.Visible = false |
| 1020 | + | local h = 5 |
| 1021 | - | |
| 1021 | + | local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p) |
| 1022 | - | -- creative inventory GUI... |
| 1022 | + | if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end |
| 1023 | - | |
| 1023 | + | local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p) |
| 1024 | - | local blackOut = makeSquare(UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), |
| 1024 | + | if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end |
| 1025 | - | Color3.new(0/255, 0/255, 0/255), 0.3, invGui, 1) |
| 1025 | + | scfr = blcf |
| 1026 | - | blackOut.Visible = false |
| 1026 | + | elseif not scfr then |
| 1027 | - | |
| 1027 | + | scfr = blcf |
| 1028 | - | creativeInv.Changed:connect(function() |
| 1028 | + | |
| 1029 | - | blackOut.Visible = creativeInv.Visible |
| 1029 | + | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(0),math.rad(-80)),.3) |
| 1030 | - | end) |
| 1030 | + | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-5),math.rad(5),math.rad(70)),.3) |
| 1031 | - | |
| 1031 | + | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0.5) * angles(math.rad(0), math.rad(-70), math.rad(90)), 0.3) |
| 1032 | - | local changeLog = Instance.new("TextLabel", invGui)
|
| 1032 | + | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(70), math.rad(-70), math.rad(0)), 0.3) |
| 1033 | - | changeLog.Text = Changelog |
| 1033 | + | RH.C0=clerp(RH.C0,cf(1,-1,0.2)*angles(math.rad(0),math.rad(40),math.rad(20)),.3) |
| 1034 | - | changeLog.Font = "SourceSans" |
| 1034 | + | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-60),math.rad(0)),.3) |
| 1035 | - | changeLog.FontSize = Enum.FontSize.Size12 |
| 1035 | + | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(-5),math.rad(0)),.3) |
| 1036 | - | changeLog.Size = UDim2.new(0, changeLog.TextBounds.X, 0, changeLog.TextBounds.Y + 2) |
| 1036 | + | end |
| 1037 | - | changeLog.BackgroundColor3 = Color3.new(0, 0, 0) |
| 1037 | + | attack=false |
| 1038 | - | changeLog.BorderSizePixel = 0 |
| 1038 | + | con1:disconnect() |
| 1039 | - | changeLog.BackgroundTransparency = 0.5 |
| 1039 | + | |
| 1040 | - | changeLog.Position = UDim2.new(0.5, -changeLog.Size.X.Offset/2, 0.5, -changeLog.Size.Y.Offset/2) |
| 1040 | + | |
| 1041 | - | changeLog.TextColor3 = Color3.new(1, 1, 1) |
| 1041 | + | function attacktwo() |
| 1042 | - | changeLog.TextXAlignment = "Left" |
| 1042 | + | attack=true |
| 1043 | - | changeLog.TextYAlignment = "Top" |
| 1043 | + | con1=Hitbox.Touched:connect(function(hit) Damagefunc(hit,10000000,10000000,math.random(10,20),"Knockdown",RootPart,.2,1) end) |
| 1044 | - | |
| 1044 | + | for i=0,1,0.1 do |
| 1045 | - | local coolButton = Instance.new("TextButton", changeLog)
|
| 1045 | + | swait() |
| 1046 | - | coolButton.Position = UDim2.new(1, -17, 0, 1) |
| 1046 | + | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(0),math.rad(90)),.2) |
| 1047 | - | coolButton.Size = UDim2.new(0, 16, 0, 12) |
| 1047 | + | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(-5),math.rad(-80)),.3) |
| 1048 | - | coolButton.Text = "X" |
| 1048 | + | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(90),math.rad(90)),.1) |
| 1049 | - | coolButton.Font = "SourceSans" |
| 1049 | + | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(70), math.rad(-70), math.rad(0)), 0.3) |
| 1050 | - | coolButton.FontSize = Enum.FontSize.Size12 |
| 1050 | + | |
| 1051 | - | coolButton.BorderSizePixel = 0 |
| 1051 | + | end |
| 1052 | - | coolButton.BackgroundColor3 = Color3.new(1, 0, 0) |
| 1052 | + | |
| 1053 | - | coolButton.BackgroundTransparency = 0.2 |
| 1053 | + | for i=0,1,1 do |
| 1054 | - | coolButton.TextColor3 = Color3.new(1, 1, 1) |
| 1054 | + | swait() |
| 1055 | - | coolButton.TextStrokeTransparency = 0.5 |
| 1055 | + | so("http://roblox.com/asset/?id=92597369",Hitbox,1,0.7)
|
| 1056 | - | coolButton.ZIndex = 2 |
| 1056 | + | so("http://www.roblox.com/asset/?id=234365573",Hitbox,1,0.7)
|
| 1057 | - | |
| 1057 | + | for i=0,1,0.1 do |
| 1058 | - | local line = makeSquare(UDim2.new(0, 0, 1, -14), UDim2.new(1, 0, 0, 14), |
| 1058 | + | swait() |
| 1059 | - | Color3.new(0, 0, 0), 0.75, changeLog, 2) |
| 1059 | + | local blcf = Hitbox.CFrame*CFrame.new(0,.5,0) |
| 1060 | if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then | |
| 1061 | - | local line2 = makeSquare(UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 0, 14), |
| 1061 | + | local h = 5 |
| 1062 | - | Color3.new(1, 1, 1), 0.9, changeLog, 1) |
| 1062 | + | local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p) |
| 1063 | - | |
| 1063 | + | if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end |
| 1064 | - | line2.Text = "Change Log" |
| 1064 | + | local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p) |
| 1065 | - | line2.TextColor3 = Color3.new(1, 1, 1) |
| 1065 | + | if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end |
| 1066 | - | line2.TextStrokeTransparency = 0.75 |
| 1066 | + | scfr = blcf |
| 1067 | - | line2.Font = "SourceSans" |
| 1067 | + | elseif not scfr then |
| 1068 | - | line2.FontSize = Enum.FontSize.Size12 |
| 1068 | + | scfr = blcf |
| 1069 | - | |
| 1069 | + | |
| 1070 | - | line.Text = "Made by Depr1" |
| 1070 | + | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(-5),math.rad(-50)),.3) |
| 1071 | - | line.TextColor3 = Color3.new(1, 0.65, 0) |
| 1071 | + | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(-10),math.rad(110)),.1) |
| 1072 | - | line.TextStrokeTransparency = 0.5 |
| 1072 | + | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-60)), 0.3) |
| 1073 | - | line.Font = "SourceSans" |
| 1073 | + | handleweld.C0=clerp(handleweld.C0,cf(0,-0,0)*angles(math.rad(-50),math.rad(10),math.rad(0)),.3) |
| 1074 | - | line.FontSize = Enum.FontSize.Size14 |
| 1074 | + | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*euler(0,0,-6*i),.3) |
| 1075 | - | line.TextXAlignment = "Left" |
| 1075 | + | |
| 1076 | - | |
| 1076 | + | |
| 1077 | - | coolButton.MouseButton1Click:connect(function() |
| 1077 | + | con1:disconnect() |
| 1078 | - | changeLog.Visible = false |
| 1078 | + | attack=false |
| 1079 | - | end) |
| 1079 | + | |
| 1080 | - | |
| 1080 | + | |
| 1081 | - | makeSquare(UDim2.new(0, -2, 0, 2), UDim2.new(0, 340, 0, 404), |
| 1081 | + | function attackthree() |
| 1082 | - | Color3.new(198/255, 198/255, 198/255), 0, creativeInv, 3) |
| 1082 | + | attack=true |
| 1083 | - | makeSquare(UDim2.new(0, 338, 0, 0), UDim2.new(0, 6, 0, 406), |
| 1083 | + | con1=Hitbox.Touched:connect(function(hit) Damagefunc(hit,10000000,10000000,math.random(10,20),"Knockdown",RootPart,.2,1) end) |
| 1084 | - | Color3.new(85/255, 85/255, 85/255), 0, creativeInv, 2) |
| 1084 | + | for i=0,1,0.1 do |
| 1085 | - | makeSquare(UDim2.new(0, 0, 0, 404), UDim2.new(0, 342, 0, 4), |
| 1085 | + | swait() |
| 1086 | - | Color3.new(85/255, 85/255, 85/255), 0, creativeInv, 3) |
| 1086 | + | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-10),math.rad(0),math.rad(00)),.3) |
| 1087 | - | makeSquare(UDim2.new(0, 2, 0, 0), UDim2.new(0, 338, 0, 402), |
| 1087 | + | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(-5),math.rad(00)),.3) |
| 1088 | - | Color3.new(198/255, 198/255, 198/255), 0, creativeInv, 3) |
| 1088 | + | RW.C0=clerp(RW.C0,cf(1,0.8,-1)*angles(math.rad(150),math.rad(0),math.rad(-50)),.3) |
| 1089 | - | makeSquare(UDim2.new(0, -4, 0, -2), UDim2.new(0, 4, 0, 406), |
| 1089 | + | LW.C0=clerp(LW.C0,cf(-1,0.8,-1)*angles(math.rad(150),math.rad(0),math.rad(50)),.3) |
| 1090 | - | Color3.new(255/255, 255/255, 255/255), 0, creativeInv, 3) |
| 1090 | + | RH.C0=clerp(RH.C0,cf(1,-1,.2)*angles(math.rad(0),math.rad(90),math.rad(0)),.3) |
| 1091 | - | makeSquare(UDim2.new(0, -2, 0, -4), UDim2.new(0, 342, 0, 6), |
| 1091 | + | LH.C0=clerp(LH.C0,cf(-1,-1,-.2)*angles(math.rad(0),math.rad(-90),math.rad(0)),.3) |
| 1092 | - | Color3.new(255/255, 255/255, 255/255), 0, creativeInv, 2) |
| 1092 | + | handleweld.C0=clerp(handleweld.C0,cf(-1,0,-.2)*angles(math.rad(-20),math.rad(-20),math.rad(50)),.3) |
| 1093 | - | makeSquare(UDim2.new(0, 340, 0, -2), UDim2.new(0, 2, 0, 2), |
| 1093 | + | end |
| 1094 | - | Color3.new(198/255, 198/255, 198/255), 0, creativeInv, 2) |
| 1094 | + | so("http://roblox.com/asset/?id=92597369",Hitbox,1,0.4)
|
| 1095 | - | makeSquare(UDim2.new(0, 340, 0, -4), UDim2.new(0, 2, 0, 4), |
| 1095 | + | so("http://www.roblox.com/asset/?id=234365549",Hitbox,1,0.6)
|
| 1096 | - | Color3.new(0/255, 0/255, 0/255), 0, creativeInv, 1) |
| 1096 | + | for i=0,1,.1 do |
| 1097 | - | makeSquare(UDim2.new(0, 342, 0, -2), UDim2.new(0, 2, 0, 2), |
| 1097 | + | swait() |
| 1098 | - | Color3.new(0/255, 0/255, 0/255), 0, creativeInv, 1) |
| 1098 | + | local blcf = Hitbox.CFrame*CFrame.new(0,.5,0) |
| 1099 | - | makeSquare(UDim2.new(0, 344, 0, 0), UDim2.new(0, 2, 0, 406), |
| 1099 | + | if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then |
| 1100 | - | Color3.new(0/255, 0/255, 0/255), 0, creativeInv, 1) |
| 1100 | + | local h = 5 |
| 1101 | - | makeSquare(UDim2.new(0, -4, 0, -4), UDim2.new(0, 2, 0, 4), |
| 1101 | + | local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p) |
| 1102 | - | Color3.new(0/255, 0/255, 0/255), 0, creativeInv, 1) |
| 1102 | + | if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end |
| 1103 | - | makeSquare(UDim2.new(0, -2, 0, -6), UDim2.new(0, 342, 0, 4), |
| 1103 | + | local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p) |
| 1104 | - | Color3.new(0/255, 0/255, 0/255), 0, creativeInv, 1) |
| 1104 | + | if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end |
| 1105 | - | makeSquare(UDim2.new(0, 0, 0, 406), UDim2.new(0, 342, 0, 4), |
| 1105 | + | scfr = blcf |
| 1106 | - | Color3.new(0/255, 0/255, 0/255), 0, creativeInv, 1) |
| 1106 | + | elseif not scfr then |
| 1107 | - | makeSquare(UDim2.new(0, 342, 0, 404), UDim2.new(0, 2, 0, 4), |
| 1107 | + | scfr = blcf |
| 1108 | - | Color3.new(0/255, 0/255, 0/255), 0, creativeInv, 1) |
| 1108 | + | |
| 1109 | - | makeSquare(UDim2.new(0, -4, 0, 404), UDim2.new(0, 2, 0, 2), |
| 1109 | + | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(0)),.3) |
| 1110 | - | Color3.new(0/255, 0/255, 0/255), 0, creativeInv, 1) |
| 1110 | + | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(-5),math.rad(00)),.3) |
| 1111 | - | makeSquare(UDim2.new(0, -2, 0, 406), UDim2.new(0, 2, 0, 2), |
| 1111 | + | RW.C0=clerp(RW.C0,cf(1,0.2,-.5)*angles(math.rad(10),math.rad(0),math.rad(-50)),.3) |
| 1112 | - | Color3.new(0/255, 0/255, 0/255), 0, creativeInv, 1) |
| 1112 | + | LW.C0=clerp(LW.C0,cf(-1,0.2,-.5)*angles(math.rad(10),math.rad(0),math.rad(50)),.3) |
| 1113 | - | makeSquare(UDim2.new(0, -6, 0, -2), UDim2.new(0, 2, 0, 406), |
| 1113 | + | RH.C0=clerp(RH.C0,cf(1,-1,.2)*angles(math.rad(0),math.rad(90),math.rad(0)),.3) |
| 1114 | - | Color3.new(0/255, 0/255, 0/255), 0, creativeInv, 1) |
| 1114 | + | LH.C0=clerp(LH.C0,cf(-1,-1,-.2)*angles(math.rad(0),math.rad(-90),math.rad(0)),.3) |
| 1115 | - | local text = makeSquare(UDim2.new(0, 4, 0, 8), UDim2.new(0, 0, 0, 0), Color3.new(0/255, 0/255, 0/255), 1, creativeInv, 3) |
| 1115 | + | handleweld.C0=clerp(handleweld.C0,cf(-1,0,-.2)*angles(math.rad(-20),math.rad(-20),math.rad(50)),.3) |
| 1116 | - | text.Text = "Creative Inventory" |
| 1116 | + | end |
| 1117 | - | text.Font = "SourceSansSemibold" |
| 1117 | + | attack=false |
| 1118 | - | text.TextSize = 14 |
| 1118 | + | con1:disconnect() |
| 1119 | - | text.TextXAlignment = "Left" |
| 1119 | + | |
| 1120 | - | -- |
| 1120 | + | |
| 1121 | - | local draggingBlockPicture = Instance.new("ImageLabel", invGui)
|
| 1121 | + | function CrimsonMoon() |
| 1122 | - | draggingBlockPicture.BackgroundTransparency = 1 |
| 1122 | + | attack=true |
| 1123 | - | draggingBlockPicture.Size = UDim2.new(0, 32, 0, 32) |
| 1123 | + | con1=Hitbox.Touched:connect(function(hit) Damagefunc(hit,10000000,10000000,math.random(10,20),"Knockdown",RootPart,.2,1) end) |
| 1124 | - | draggingBlockPicture.ZIndex = 5 |
| 1124 | + | for i=0,1,0.1 do |
| 1125 | - | coroutine.resume(coroutine.create(function() |
| 1125 | + | swait() |
| 1126 | - | local invMouse = player:GetMouse() |
| 1126 | + | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(120),math.rad(80)),.3) |
| 1127 | - | --local RS = game:GetService("RunService").RenderStepped
|
| 1127 | + | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-10),math.rad(0),math.rad(-10)),.3) |
| 1128 | - | invMouse.Button2Down:connect(function() |
| 1128 | + | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-30),math.rad(-5),math.rad(0)),.3) |
| 1129 | - | draggingBlock = nil |
| 1129 | + | |
| 1130 | - | end) |
| 1130 | + | for i=0,1,0.15 do |
| 1131 | - | while RS:wait() do |
| 1131 | + | so("http://roblox.com/asset/?id=92597369",Hitbox,1,0.5)
|
| 1132 | - | draggingBlockPicture.Position = UDim2.new(0, invMouse.X - 16, 0, invMouse.Y - 16) |
| 1132 | + | so("http://roblox.com/asset/?id=28144425",Torso,1,0.8)
|
| 1133 | - | if draggingBlock ~= nil then |
| 1133 | + | swait() |
| 1134 | - | draggingBlockPicture.Image = draggingBlock.frontTex |
| 1134 | + | for i=0,1,0.1 do |
| 1135 | - | else |
| 1135 | + | swait() |
| 1136 | - | draggingBlockPicture.Image = "" |
| 1136 | + | local blcf = Hitbox.CFrame*CFrame.new(0,.5,0) |
| 1137 | - | end |
| 1137 | + | if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then |
| 1138 | - | end |
| 1138 | + | local h = 5 |
| 1139 | - | end)) |
| 1139 | + | local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p) |
| 1140 | - | |
| 1140 | + | if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end |
| 1141 | - | local done = false |
| 1141 | + | local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p) |
| 1142 | - | local x = 0 |
| 1142 | + | if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end |
| 1143 | - | local y = 0 |
| 1143 | + | scfr = blcf |
| 1144 | - | |
| 1144 | + | elseif not scfr then |
| 1145 | - | for i,b in pairs(creativeInventory) do |
| 1145 | + | scfr = blcf |
| 1146 | - | local display = "" |
| 1146 | + | |
| 1147 | - | if b.displayTex == "" then |
| 1147 | + | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(-40),math.rad(90)),.3) |
| 1148 | - | display = b.frontTex |
| 1148 | + | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-60)),.3) |
| 1149 | - | else |
| 1149 | + | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,5)*euler(0,-1.5,-6*i),.3) |
| 1150 | - | if b.displayTex then |
| 1150 | + | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-30),math.rad(-5),math.rad(0)),.3) |
| 1151 | - | display = b.displayTex |
| 1151 | + | |
| 1152 | - | end |
| 1152 | + | |
| 1153 | - | end |
| 1153 | + | attack=false |
| 1154 | - | putInventorySlot(UDim2.new(0.5, (x*36) + 8, 0.5, (y*36) + 28), display, creativeInv, 4).MouseButton1Down:connect(function() |
| 1154 | + | con1:disconnect() |
| 1155 | - | if draggingBlock == nil then |
| 1155 | + | |
| 1156 | - | draggingBlock = b |
| 1156 | + | |
| 1157 | - | end |
| 1157 | + | function BreakEffect(brickcolor,cframe,x1,y1,z1) |
| 1158 | - | end) |
| 1158 | + | local prt=part("Custom",workspace,"SmoothPlastic",0,0,"Really red","Effect",vt(0.5,0.5,0.5))
|
| 1159 | - | x = x + 1 |
| 1159 | + | prt.Anchored=true |
| 1160 | - | if x >= 8 then |
| 1160 | + | prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) |
| 1161 | - | x = 0 |
| 1161 | + | local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
|
| 1162 | - | y = y + 1 |
| 1162 | + | coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb) |
| 1163 | - | end |
| 1163 | + | CF=Part.CFrame |
| 1164 | - | end |
| 1164 | + | Numbb=0 |
| 1165 | - | if x == 0 then done = true end |
| 1165 | + | randnumb=math.random()-math.random() |
| 1166 | - | while x < 8 and done == false do |
| 1166 | + | for i=0,1,0.05 do |
| 1167 | - | putInventorySlot(UDim2.new(0.5, (x*36) + 8, 0.5, (y*36) + 28), "", creativeInv, 4) |
| 1167 | + | wait() |
| 1168 | - | x = x + 1 |
| 1168 | + | CF=CF*cf(0,1,0) |
| 1169 | - | end |
| 1169 | + | --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0) |
| 1170 | - | for i = 1, 9 do |
| 1170 | + | Part.CFrame=CF*euler(Numbb,0,0) |
| 1171 | - | if toolBar[i] ~= nil then |
| 1171 | + | Part.Transparency=i |
| 1172 | - | local invSlot = putInventorySlot(UDim2.new(0, 8 + ((i-1)*36), 0, 360), toolBar[i].frontTex, creativeInv, 4) |
| 1172 | + | Numbb=Numbb+randnumb |
| 1173 | - | invSlot.MouseButton2Down:connect(function() |
| 1173 | + | |
| 1174 | - | local imgLabel = invSlot:FindFirstChild("ImageLabel")
|
| 1174 | + | Part.Parent=nil |
| 1175 | - | if imgLabel then |
| 1175 | + | end),prt,CF,Numbb,randnumb) |
| 1176 | - | toolBar[i] = nil |
| 1176 | + | |
| 1177 | - | imgLabel.Image = "" |
| 1177 | + | |
| 1178 | - | end |
| 1178 | + | function Execution() --HEUAHUEHAUEHAUHUEAHUAEHUAHEUAHEUH |
| 1179 | - | end) |
| 1179 | + | attack=true |
| 1180 | - | invSlot.MouseButton1Down:connect(function() |
| 1180 | + | con1=Hitbox.Touched:connect(function(hit) Damagefunc(hit,999999999,999999999,math.random(10,20),"Knockdown",RootPart,.2,1) end) |
| 1181 | - | --updateHand = true |
| 1181 | + | Humanoid.WalkSpeed = 0 |
| 1182 | - | local imgLabel = invSlot:FindFirstChild("ImageLabel")
|
| 1182 | + | for i=0,1,0.03 do |
| 1183 | - | if toolBar[i] == nil then |
| 1183 | + | swait() |
| 1184 | - | toolBar[i] = draggingBlock |
| 1184 | + | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(60)),.1) |
| 1185 | - | imgLabel.Image = draggingBlock.frontTex |
| 1185 | + | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-60)),.1) |
| 1186 | - | draggingBlock = nil |
| 1186 | + | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(90),math.rad(120)),.1) |
| 1187 | - | return |
| 1187 | + | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(100), math.rad(0), math.rad(0)), 0.1) |
| 1188 | - | end |
| 1188 | + | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-10)),.1) |
| 1189 | - | if toolBar[i] ~= nil and draggingBlock == nil then |
| 1189 | + | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.2) |
| 1190 | - | draggingBlock = toolBar[i] |
| 1190 | + | handleweld.C0=clerp(handleweld.C0,cf(0,-0,.4)*angles(math.rad(0),math.rad(10),math.rad(0)),.1) |
| 1191 | - | toolBar[i] = nil |
| 1191 | + | |
| 1192 | - | imgLabel.Image = "" |
| 1192 | + | so("http://roblox.com/asset/?id=92597369",Hitbox,1,0.5)
|
| 1193 | - | return |
| 1193 | + | so("http://roblox.com/asset/?id=28144425",Torso,1,0.5)
|
| 1194 | - | elseif toolBar[i] ~= nil and draggingBlock ~= nil then |
| 1194 | + | hitconasdf = Hitbox.Touched:connect(function(hit) |
| 1195 | - | --draggingBlock = toolBar[i] |
| 1195 | + | local hum12 = hit.Parent:FindFirstChild("Humanoid")
|
| 1196 | - | --toolBar[i] = nil |
| 1196 | + | if hum12 and not hum12:IsDescendantOf(Character) then |
| 1197 | - | imgLabel.Image = "" |
| 1197 | + | so('http://roblox.com/asset/?id=154965973',Hitbox,1,0.8)
|
| 1198 | - | local temp = toolBar[i] |
| 1198 | + | BreakEffect(BrickColor.new("Really red"),hit.Parent.Torso.CFrame,0.5,math.random(5,20),0.5)
|
| 1199 | - | toolBar[i] = draggingBlock |
| 1199 | + | BreakEffect(BrickColor.new("Really red"),hit.Parent.Torso.CFrame,0.5,math.random(5,20),0.5)
|
| 1200 | - | if imgLabel and draggingBlock ~= nil then |
| 1200 | + | BreakEffect(BrickColor.new("Really red"),hit.Parent.Torso.CFrame,0.5,math.random(5,20),0.5)
|
| 1201 | - | imgLabel.Image = draggingBlock.frontTex |
| 1201 | + | BreakEffect(BrickColor.new("Really red"),hit.Parent.Torso.CFrame,0.5,math.random(5,20),0.5)
|
| 1202 | - | end |
| 1202 | + | BreakEffect(BrickColor.new("Really red"),hit.Parent.Torso.CFrame,0.5,math.random(5,20),0.5)
|
| 1203 | - | if imgLabel and draggingBlock == nil then |
| 1203 | + | BreakEffect(BrickColor.new("Really red"),hit.Parent.Torso.CFrame,0.5,math.random(5,20),0.5)
|
| 1204 | - | imgLabel.Image = "" |
| 1204 | + | BreakEffect(BrickColor.new("Really red"),hit.Parent.Torso.CFrame,0.5,math.random(5,20),0.5)
|
| 1205 | - | end |
| 1205 | + | BreakEffect(BrickColor.new("Really red"),hit.Parent.Torso.CFrame,0.5,math.random(5,20),0.5)
|
| 1206 | - | draggingBlock = temp |
| 1206 | + | BreakEffect(BrickColor.new("Really red"),hit.Parent.Torso.CFrame,0.5,math.random(5,20),0.5)
|
| 1207 | - | return |
| 1207 | + | BreakEffect(BrickColor.new("Really red"),hit.Parent.Torso.CFrame,0.5,math.random(5,20),0.5)
|
| 1208 | - | end |
| 1208 | + | hitconasdf:disconnect() |
| 1209 | - | end) |
| 1209 | + | end |
| 1210 | - | else |
| 1210 | + | end) |
| 1211 | - | local invSlot = putInventorySlot(UDim2.new(0, 8 + ((i-1)*36), 0, 360), "", creativeInv, 4) |
| 1211 | + | for i=0,1,0.03 do |
| 1212 | - | invSlot.MouseButton2Down:connect(function() |
| 1212 | + | swait() |
| 1213 | - | local imgLabel = invSlot:FindFirstChild("ImageLabel")
|
| 1213 | + | local blcf = Hitbox.CFrame*CFrame.new(0,.5,0) |
| 1214 | - | if imgLabel then |
| 1214 | + | if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then |
| 1215 | - | toolBar[i] = nil |
| 1215 | + | local h = 5 |
| 1216 | - | imgLabel.Image = "" |
| 1216 | + | local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p) |
| 1217 | - | end |
| 1217 | + | if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end |
| 1218 | - | end) |
| 1218 | + | local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p) |
| 1219 | - | invSlot.MouseButton1Down:connect(function() |
| 1219 | + | if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end |
| 1220 | - | --updateHand = true |
| 1220 | + | scfr = blcf |
| 1221 | - | local imgLabel = invSlot:FindFirstChild("ImageLabel")
|
| 1221 | + | elseif not scfr then |
| 1222 | - | if toolBar[i] == nil then |
| 1222 | + | scfr = blcf |
| 1223 | - | toolBar[i] = draggingBlock |
| 1223 | + | |
| 1224 | - | imgLabel.Image = draggingBlock.frontTex |
| 1224 | + | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-90)),.2) |
| 1225 | - | draggingBlock = nil |
| 1225 | + | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(60)),.2) |
| 1226 | - | return |
| 1226 | + | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(-20),math.rad(70)),.2) |
| 1227 | - | end |
| 1227 | + | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-40)), 0.2) |
| 1228 | - | if toolBar[i] ~= nil and draggingBlock == nil then |
| 1228 | + | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-10)),.2) |
| 1229 | - | draggingBlock = toolBar[i] |
| 1229 | + | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.2) |
| 1230 | - | toolBar[i] = nil |
| 1230 | + | handleweld.C0=clerp(handleweld.C0,cf(0,-0,.4)*angles(math.rad(0),math.rad(10),math.rad(0)),.2) |
| 1231 | - | imgLabel.Image = "" |
| 1231 | + | |
| 1232 | - | return |
| 1232 | + | attack=false |
| 1233 | - | elseif toolBar[i] ~= nil and draggingBlock ~= nil then |
| 1233 | + | con1:disconnect() |
| 1234 | - | --draggingBlock = toolBar[i] |
| 1234 | + | Humanoid.WalkSpeed= 16 |
| 1235 | - | --toolBar[i] = nil |
| 1235 | + | pcall(function() |
| 1236 | - | imgLabel.Image = "" |
| 1236 | + | hitconasdf:disconnect() |
| 1237 | - | local temp = toolBar[i] |
| 1237 | + | end) |
| 1238 | - | toolBar[i] = draggingBlock |
| 1238 | + | |
| 1239 | - | if imgLabel and draggingBlock ~= nil then |
| 1239 | + | |
| 1240 | - | imgLabel.Image = draggingBlock.frontTex |
| 1240 | + | mouse.Button1Down:connect(function() |
| 1241 | - | end |
| 1241 | + | if attack==false then |
| 1242 | - | if imgLabel and draggingBlock == nil then |
| 1242 | + | if attacktype==1 then |
| 1243 | - | imgLabel.Image = "" |
| 1243 | + | attack=true |
| 1244 | - | end |
| 1244 | + | attacktype=2 |
| 1245 | - | draggingBlock = temp |
| 1245 | + | attackone() |
| 1246 | - | return |
| 1246 | + | elseif attacktype==2 then |
| 1247 | - | end |
| 1247 | + | attack=true |
| 1248 | - | end) |
| 1248 | + | attacktype=3 |
| 1249 | - | end |
| 1249 | + | attacktwo() |
| 1250 | - | end |
| 1250 | + | elseif attacktype==3 then |
| 1251 | - | return creativeInv |
| 1251 | + | attack=true |
| 1252 | - | end |
| 1252 | + | attacktype=1 |
| 1253 | attackthree() | |
| 1254 | - | function putToolBarSlot(position, image, zindex) |
| 1254 | + | end |
| 1255 | - | local playerGui = player:FindFirstChild("PlayerGui")
|
| 1255 | + | end |
| 1256 | - | if playerGui then |
| 1256 | + | end) |
| 1257 | - | local gui = playerGui:FindFirstChild("ToolBar") or Instance.new("ScreenGui", playerGui)
|
| 1257 | + | |
| 1258 | - | gui.Name = "ToolBar" |
| 1258 | + | mouse.KeyDown:connect(function(k) |
| 1259 | - | local slot = Instance.new("ImageLabel", gui)
|
| 1259 | + | k=k:lower() |
| 1260 | - | slot.Position = position |
| 1260 | + | if k=='q' then |
| 1261 | - | slot.Size = UDim2.new(0, 32, 0, 32) |
| 1261 | + | if attack==false then |
| 1262 | - | slot.BackgroundTransparency = 1 |
| 1262 | + | CrimsonMoon() |
| 1263 | - | slot.ImageTransparency = 0 |
| 1263 | + | end |
| 1264 | - | slot.Image = image |
| 1264 | + | elseif k=='e' then |
| 1265 | - | slot.ZIndex = 2 |
| 1265 | + | if attack==false then |
| 1266 | - | |
| 1266 | + | Execution() |
| 1267 | - | local imgSlot = makeImage(UDim2.new(0, 0, 0, 0), UDim2.new(0, 32, 0, 32), |
| 1267 | + | end |
| 1268 | - | "rbxassetid://347007448", slot) |
| 1268 | + | end |
| 1269 | - | |
| 1269 | + | end) |
| 1270 | - | imgSlot.ImageTransparency = 0.25 |
| 1270 | + | |
| 1271 | - | imgSlot.BackgroundTransparency = 1 |
| 1271 | + | |
| 1272 | - | imgSlot.ImageColor3 = Color3.new(0.225, 0.225, 0.225) |
| 1272 | + | local sine = 0 |
| 1273 | - | |
| 1273 | + | local change = 1 |
| 1274 | - | makeSquare(UDim2.new(0, 0, 0, 0), UDim2.new(0, 2, 0, 32), |
| 1274 | + | local val = 0 |
| 1275 | - | Color3.new(0/255, 0/255, 0/255), 0.7, slot) |
| 1275 | + | |
| 1276 | - | makeSquare(UDim2.new(0, 2, 0, 0), UDim2.new(0, 30, 0, 2), |
| 1276 | + | while true do |
| 1277 | - | Color3.new(0/255, 0/255, 0/255), 0.7, slot) |
| 1277 | + | swait() |
| 1278 | - | makeSquare(UDim2.new(0, -2, 0, -2), UDim2.new(0, 36, 0, 2), |
| 1278 | + | sine = sine + change |
| 1279 | - | Color3.new(106/255, 106/255, 106/255), 0, slot) |
| 1279 | + | local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude |
| 1280 | - | makeSquare(UDim2.new(0, -2, 0, -2), UDim2.new(0, 2, 0, 36), |
| 1280 | + | local velderp=RootPart.Velocity.y |
| 1281 | - | Color3.new(106/255, 106/255, 106/255), 0, slot) |
| 1281 | + | hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character) |
| 1282 | - | makeSquare(UDim2.new(0, 0, 0, 32), UDim2.new(0, 34, 0, 2), |
| 1282 | + | if equipped==true or equipped==false then |
| 1283 | - | Color3.new(130/255, 130/255, 130/255), 0, slot) |
| 1283 | + | if attack==false then |
| 1284 | - | makeSquare(UDim2.new(0, 32, 0, 0), UDim2.new(0, 2, 0, 34), |
| 1284 | + | idle=idle+1 |
| 1285 | - | Color3.new(130/255, 130/255, 130/255), 0, slot) |
| 1285 | + | else |
| 1286 | - | makeSquare(UDim2.new(0, -4, 0, -2), UDim2.new(0, 2, 0, 38), |
| 1286 | + | idle=0 |
| 1287 | - | Color3.new(130/255, 130/255, 130/255), 0, slot) |
| 1287 | + | |
| 1288 | - | makeSquare(UDim2.new(0, 34, 0, -2), UDim2.new(0, 2, 0, 36), |
| 1288 | + | if idle>=500 then |
| 1289 | - | Color3.new(106/255, 106/255, 106/255), 0, slot) |
| 1289 | + | if attack==false then |
| 1290 | - | makeSquare(UDim2.new(0, -2, 0, 34), UDim2.new(0, 38, 0, 2), |
| 1290 | + | --Sheath() |
| 1291 | - | Color3.new(106/255, 106/255, 106/255), 0, slot) |
| 1291 | + | |
| 1292 | - | makeSquare(UDim2.new(0, -4, 0, -4), UDim2.new(0, 40, 0, 2), |
| 1292 | + | |
| 1293 | - | Color3.new(156/255, 156/255, 156/255), 0, slot) |
| 1293 | + | if RootPart.Velocity.y > 1 and hitfloor==nil then |
| 1294 | - | return slot |
| 1294 | + | Anim="Jump" |
| 1295 | - | end |
| 1295 | + | if attack==false then |
| 1296 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
| 1297 | - | function divide(x, d) |
| 1297 | + | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3) |
| 1298 | - | if x ~= 0 and d ~= 0 then |
| 1298 | + | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(10)), 0.3) |
| 1299 | - | return x/d |
| 1299 | + | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-30)), 0.3) |
| 1300 | - | else |
| 1300 | + | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-20)),.3) |
| 1301 | - | return x |
| 1301 | + | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-60),math.rad(0)),.3) |
| 1302 | - | end |
| 1302 | + | handleweld.C0=clerp(handleweld.C0,cf(0,-0,.4)*angles(math.rad(85),math.rad(10),math.rad(0)),.3) |
| 1303 | - | end -- so it doesn't divide by zero |
| 1303 | + | |
| 1304 | - | function getDistance(v1, v2) |
| 1304 | + | elseif RootPart.Velocity.y < -1 and hitfloor==nil then |
| 1305 | - | return math.abs((Vector3.new(math.abs(v2.X - v1.X), math.abs(v2.Y - v1.Y), math.abs(v2.Z - v1.Z))).Magnitude) |
| 1305 | + | Anim="Fall" |
| 1306 | if attack==false then | |
| 1307 | - | function SnapToGrid(x, gridX) |
| 1307 | + | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(0)),.3) |
| 1308 | - | local x = math.floor((x / gridX) + 0.5) * gridX |
| 1308 | + | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.3) |
| 1309 | - | return x |
| 1309 | + | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(20)), 0.3) |
| 1310 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-40)), 0.3) | |
| 1311 | - | function round(x) |
| 1311 | + | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-20)),.3) |
| 1312 | - | if x%2 ~= 0.5 then |
| 1312 | + | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-60),math.rad(0)),.3) |
| 1313 | - | return math.floor(x+0.5) |
| 1313 | + | handleweld.C0=clerp(handleweld.C0,cf(0,-0,.4)*angles(math.rad(85),math.rad(10),math.rad(0)),.3) |
| 1314 | - | end |
| 1314 | + | |
| 1315 | - | return x-0.5 |
| 1315 | + | elseif torvel<1 and hitfloor~=nil then |
| 1316 | Anim="Idle" | |
| 1317 | - | function weldTo(part1, part2) |
| 1317 | + | if attack==false then |
| 1318 | - | local weld = Instance.new("Weld", part1)
|
| 1318 | + | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(0),math.rad(60)),.3) |
| 1319 | - | weld.Part0 = part1 |
| 1319 | + | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-5),math.rad(5),math.rad(-50)),.3) |
| 1320 | - | weld.Part1 = part2 |
| 1320 | + | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(70), math.rad(100), math.rad(0)), 0.3) |
| 1321 | - | return weld |
| 1321 | + | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(50), math.rad(-70), math.rad(0)), 0.3) |
| 1322 | RH.C0=clerp(RH.C0,cf(1,-1,0.2)*angles(math.rad(0),math.rad(40),math.rad(20)),.3) | |
| 1323 | - | function getMagnitudeXZ(velocity) |
| 1323 | + | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-60),math.rad(0)),.3) |
| 1324 | - | return math.sqrt(math.abs(velocity.X)^2 + math.abs(velocity.Z)^2) |
| 1324 | + | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(-5),math.rad(0)),.3) |
| 1325 | end | |
| 1326 | - | function findHumanoid(inst) |
| 1326 | + | elseif torvel>2 and torvel<22 and hitfloor~=nil then |
| 1327 | - | local find = inst |
| 1327 | + | Anim="Walk" |
| 1328 | - | local hum = nil |
| 1328 | + | if attack==false then |
| 1329 | - | repeat |
| 1329 | + | change=3 |
| 1330 | - | if find.Name == "Workspace" then return nil end |
| 1330 | + | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(60)),.3) |
| 1331 | - | find = find.Parent |
| 1331 | + | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(10),math.rad(-50)),.3) |
| 1332 | - | hum = find:FindFirstChild("Humanoid")
|
| 1332 | + | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(70), math.rad(100), math.rad(0)), 0.3) |
| 1333 | - | until hum |
| 1333 | + | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(50), math.rad(-70), math.rad(0)), 0.3) |
| 1334 | - | --if hum then print("found!!") else print("aw... not found") end
|
| 1334 | + | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(80),math.rad(20)),.3) |
| 1335 | - | --if hum.ClassName ~= "Humanoid" then hum = nil end |
| 1335 | + | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-100),math.rad(0)),.3) |
| 1336 | - | return hum |
| 1336 | + | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(-5),math.rad(0)),.3) |
| 1337 | end | |
| 1338 | - | function getSideByLocation(loc) |
| 1338 | + | elseif torvel>=22 and hitfloor~=nil then |
| 1339 | - | local side = nil |
| 1339 | + | Anim="Run" |
| 1340 | - | if loc.X < 0 then side = "Left" end |
| 1340 | + | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(60)),.3) |
| 1341 | - | if loc.X > 0 then side = "Right" end |
| 1341 | + | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(10),math.rad(-50)),.3) |
| 1342 | - | if loc.Y > 0 then side = "Top" end |
| 1342 | + | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(70), math.rad(100), math.rad(0)), 0.3) |
| 1343 | - | if loc.Y < 0 then side = "Bottom" end |
| 1343 | + | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(50), math.rad(-70), math.rad(0)), 0.3) |
| 1344 | - | if loc.Z < 0 then side = "Front" end |
| 1344 | + | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(80),math.rad(20)),.3) |
| 1345 | - | if loc.Z > 0 then side = "Back" end |
| 1345 | + | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-100),math.rad(0)),.3) |
| 1346 | - | |
| 1346 | + | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(-5),math.rad(0)),.3) |
| 1347 | - | if (math.abs(loc.X) > 0 and math.abs(loc.Y) > 0) or |
| 1347 | + | |
| 1348 | - | (math.abs(loc.X) > 0 and math.abs(loc.Z) > 0) or |
| 1348 | + | |
| 1349 | - | (math.abs(loc.Y) > 0 and math.abs(loc.Z) > 0) |
| 1349 | + |